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
30
S
12
G
1
Posts: 167
Reputation: 3,038

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
27
S
3
G
1
Posts: 500
Reputation: 2,355


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 5 guests

cron