Hi there,
I'm making a top-down game and I'd like to have a little smoke particle effect for when the player starts running.
I can achieve that with these events:
As seen on this gif:
Now, the problem - in my game I have more than one player character. They're the same object and I've been using "pick" to pick the right instances.
Using this same piece of code, if I have 2 players, if one player is already running the smoke will never appear on the player that has just started running:
This seems really simple but I could not get it to work. I've tried having a boolean variable on the player character and setting it to "true" whenever he's running, and if it was true, it would create the smoke sprite once - but it didn't work.
Anyone know how to deal with this?
edit: I forgot to mention that I have also tried using a "For each":
But then this happens when both players are walking: