I have a player class for my game, I create a variable of the player as a spritemap, then set graphic = playerSprite! The only two images I have for him so far are, alive and dead.
When the player dies in the game it shows the death image for like a milisecond then it immediately respawns him.
I am looking to have it so the death image can be seen for at least two seconds, then the respawn takes place. I used to know how to do this with timers and timer listeners in AS3 but was wondering what the general protocol would be for Flashpunk!
Thanks guys!