UI Pause Menu

 Author: Jymeer Wilkins

Problem:

    So, for these few weeks I've been working on the UI of our game. Things were going pretty smoothly, until I got to the pause menu of the game. I had already had it working pretty well a few days before, but then I noticed a problem. Whenever I would go from the pause menu to the options menu, I could still unpause the game. Because of this, the options menu would never go away. If I pressed pause again, the pause menu would appear over the options menu.

Solution:

    I fixed problem by studying other games. I've been using Hades' UI as a reference for our own. At first, I was just going to make it where it would just remove the menus and unpause the game if you paused while in the options menu. In Hades, if you press the pause button while in the options, it just goes back to the pause menu. I liked that idea a lot better, so I started to implement it. If the pause button is pressed in the options menu, it removes the options menu and opens the pause menu back up. I still ran into a little problem where I was creating the pause menu more than I should. They would all overlap and I couldn't play the game, but that was also an easy fix.

    

Comments

Popular posts from this blog

Procedural Generation - Room NavMesh Spawning

Powerups and Wall clipping