How do I use one sprite with different instance variables?

Get help using Construct 2

Post » Mon Mar 16, 2015 6:17 pm

Part of my game is a miner in a cave with a certain amount of ladders and bridges in each level.
Each level for me is a layout so in one level he will carry 5 ladders and another level 10 but when I change the instance variables for each ladder Sprite he is carrying they all change on all layouts (levels) to the same value.
How can I make the Instance Variables have individual values for the same Ladder Sprite on different Layouts (Levels)?
Today I thought of having a family of Ladders so I would have 10 levels and 1 cloned ladder for each level in a family of the same sprite. Would that work and is that the easiest way?
Last edited by Marc456 on Tue Mar 17, 2015 3:16 pm, edited 1 time in total.
B
5
S
1
Posts: 47
Reputation: 473

Post » Mon Mar 16, 2015 6:34 pm

Make sure to "pick" the object you want to change.

There are a 1000 ways to Rome, just make sure your route gets you there :)
Who dares wins
B
50
S
10
G
10
Posts: 1,728
Reputation: 12,867

Post » Tue Mar 17, 2015 3:17 pm

I have no idea what you mean by "pick"
B
5
S
1
Posts: 47
Reputation: 473

Post » Tue Mar 17, 2015 4:49 pm

Picking is a system expression, you can pick objects by certain conditions.

They are also options for objects, like pick closest, or pick by UID.
Who dares wins
B
50
S
10
G
10
Posts: 1,728
Reputation: 12,867


Return to How do I....?

Who is online

Users browsing this forum: Husui, Ratmaster and 6 guests