How do I use multiple variables for one Sprite object?

Just started using Construct 2? Post your questions here

Post » Sat May 14, 2016 10:07 pm

Is it possible to use multiple variables for one Sprite object?

I currently have objects selectable based on color. I have an action in place that sets the value of the variable “color” to = 1 to 6.

I also need another state of selectablity such as true or false. So new actions only affect "color 2" AND/OR true objects.

I can only figure out how to do one variable at a time.
B
40
S
18
G
5
Posts: 98
Reputation: 5,651

Post » Sun May 15, 2016 2:20 am

You can put as many instance variables as you want on a sprite object... of more than one type... are you assigning the instance variables in the left properties area when the sprite object is selected or creating global variables in the event sheet?
Check out my completed games on the Arcade! Capt. Doe Save the Universe! & Clicker Wizard!
B
68
S
17
G
8
Posts: 637
Reputation: 9,420


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 2 guests