PLEASE HELP: Why are events affecting all instances

Get help using Construct 2

Post » Sun Mar 06, 2016 4:02 pm

Hi

I have set events, so when a sprite its a particular item on the layout it changes direction. Why are all the instances of the sprite changing direction when only one hits it?? I have tried everything
B
17
S
2
Posts: 29
Reputation: 779

Post » Sun Mar 06, 2016 4:25 pm

Try a for each loop or you need specific instances (such as for a duo boss or treasure chests with set contents), instance variables.
Zelda Gamekit (my project)



Example capxs:

Zelda-Style Inventory

Zelda Health

3-saveslot system

[url=https://www.dropbox.com/s/d4396pwak0oh7q6/ZeldaDialogueSystem.capx?dl=0]Zelda-like Dialogue[
B
51
S
24
G
30
Posts: 534
Reputation: 19,620

Post » Sun Mar 06, 2016 4:44 pm

Worked great. Thanks
B
17
S
2
Posts: 29
Reputation: 779


Return to How do I....?

Who is online

Users browsing this forum: tarek2 and 20 guests