How do I make a shop that changes colors of objects?

Get help using Construct 2

Post » Sun Mar 30, 2014 4:51 am

I was wondering if anyone new how to make a shop where you could change the color of the player. To make it easy could someone tell me how i could make a shop that would make a Ball change color. Thank you
B
4
Posts: 19
Reputation: 240

Post » Sun Mar 30, 2014 5:46 am

basically what would be easiest would be to set a series of single frame animations.. each named a particular color.. "red" "blue" "green" for example and then when you click your store color options.. it would tell the particular player shirt color or whatever to reflect the choice they made. This would instantly cause the shirt to change from whatever color it is.

There probably is a way (i just haven't bothered to look deeper) to set specific colors.. starting with white objects, then allowing C2 to dynamically change the color. This would be be a little more efficient, but I haven't done it before so I can't tell you how this is done or even if it's actually possible with C2..

The how to make a shop question is too vague.. and could be very simple or complex.. are you implying that you want this stuff to be saved and recalled later? You probably should start with doing the webstorage tutorial https://www.scirra.com/tutorials/266/we ... nformation

If you can understand the color system I explained above and understand how to do webstorage, you should be able to connect the dots to build the store how you want it.
B
59
S
9
G
1
Posts: 939
Reputation: 6,545

Post » Sun Mar 30, 2014 7:14 am

@JRoberts

Code: Select all
https://www.scirra.com/forum/how-do-i-make-a-store-system_t100186
B
7
S
1
Posts: 53
Reputation: 545


Return to How do I....?

Who is online

Users browsing this forum: goodboy69 and 54 guests