Screen Of Death | Devlog #7
I added the pause screen, and game over screen, as well as fully instated the save feature.
The pause screen.
And the game over screen
The pause system caused me some annoyance. I couldn't figure out how to pause all the animations.
I fixed this by putting all the objects that have an animation in a table (or array), and then when I need to pause it, I first go through the table, testing to see which animations are playing, and then pause the ones that are. To resume, I do the same thing, except resume instead of pause. I then empty the table every time a wave ends, removing any unnecessary data to free up memory. Which so far, seems to be working.
Thanks for reading!
Leave a comment
Log in with itch.io to leave a comment.