Hi,
I want to change the animation of a sprite that is spawned as a particle, but this doesn't happen immediately.
I've build a small test project to show the problem (also see screenshot below):
https://github.com/WimDeBacker/WimDeBacker/blob/WimDeBacker-TestSpawnSprite/TestSpawnSprite.c3p
Setting the particle object to the sprite is done immediately, but then changing the animation of the last spawned sprites doesn't work. The animation of the sprites that where spawned the previous mouseclick change like expected (become red in the example), but the last spawned sprites stay green.
Develop games in your browser. Powerful, performant & highly capable.
Use a separate event -
Sprite On Created : Sprite set animation...
dop2000,
Thank you very much! This is such a good and simple solution.