Hi,
I’m changing a sprite when there is a collision with a bullet.
The idea is to show another sprite with the same image on fire and, afterwards, return the original sprite to the initial position. If I just change the sprite (visible false and true) and do nothing else, it works perfect. It the logic flows to the initial sprite reposition, the sprite that with the image on fire never gets to be shown. It looks like the speed of the execution flow is so fast that I never get to see the change before the initialization again.
Is there any way to solve this type of things? if I put a delay with a timer it still doesn’t work.
thank you!