How do I apply changed Instance Variable to each sprite.

Get help using Construct 2

Post » Thu Aug 20, 2015 12:27 pm

I have a sprite. It has an Instance Variable.

This Instance Variable is "hit", and it is on a box.
It tells the game how many hits it takes to break the box. It's set to 3.

I placed all the boxes down, and now I've realized hitting the box 3 times is too much.

Now I have to go through and apply "2" to "hit" on every single box I've placed. Is there a way to apply the updated Variable on every single box with the press of a button? Thanks a lot in advance
B
28
S
11
G
1
Posts: 163
Reputation: 2,880

Post » Thu Aug 20, 2015 1:58 pm

On the right side in the objects-tab. Choose your Box-Sprite and make a right Click on it. Click on Instance Variables and then on Edit (the little pencil) and change your value. This should apply to all Instance-Variables of this Object.
B
24
S
3
G
1
Posts: 463
Reputation: 2,189


Return to How do I....?

Who is online

Users browsing this forum: irina and 6 guests