Use play_flipbook with tilesource animation

Just about to post this:

your animation in the “destruct.tilesource” is actually called “anim”:

So, either use “anim” instead of “destruct” in the code you posted - or rename:

tilesource:


sprite:

Now your script works for me and the enemy ship is destroyed without an error.

EDIT:
actually, sorry, you can’t see the enemy spaceship, just the explosion - you need to set the start tile of the animation to one (you have it at 4 atm)

6 Likes