Pausing the game

An important but less exciting feature to build, the game menu. While building the map screen I needed to go back and forward from the actually level to the map and realized, there was no way to do this yet. The newly created menu has 3 options for now.

  • Resume – Closes the menu, resumes the game
  • Quit level – Exit the level, go back to map (and lose a life)
  • Quit game – Shuts down game completely

A button is added to the top left corner of the screen that, when clicked, opens the menu. When the menu is open, the complete game is paused. The game is resumed when the menu closes.

Related Posts

  • It doesn't do much yet, but I made a game menu. In the future this…

  • Today I worked on the level progression part of the game. Levels that are not…

Leave a Reply

Your email address will not be published. Required fields are marked *