Added a delay after the player sprite disappears and before the level restarts. I kind of cheated by just copying the same transparent frame like 6 times just to give the illusion that there is a delay between the death animation finishing and the level restart, but the animation is still going up until the restart of the level.
#gamedev #gamedevelopment #indiegamedev #indiedev #indiegames #indie #SFML #cplusplus