I'm working on a simple 2D game that is similar to the classic Invader arcade. What I want to know is:
How can I draw a new sprite over the player sprite upon colliding with an enemy/a bullet? Better yet, how can I hide the player so that the hit animation can be shown?
I got the collision detection up and running except for the hit animation. It's being drawn behind the player current position which is awkward.