I have a basic brick that has four animation scenes of it getting cracks (like BreakOut). How do I have it so if the player spawns a bullet and the bullet collides with the brick, the bullet gets destroyed and the brick moves to the next animation sequence. And then how do I destroy the brick object once the final animation scene occurs?
I'm practicing and am setting up basic pathfinding, but want to make it more interesting if the player shoots the barricade.
Develop games in your browser. Powerful, performant & highly capable.
Actually I've discovered I think 'on collision with object', 'set animation to frame 1' will possibly work? But how do I stop the brick sprite from automatically animating?
set the animation speed to 0 in the animation properties.