Menu Runtime Errors On Pressing Pause



The Problem:
When going through some testing of the new confirmation, and win lose menu's I kept running into these runtime errors when trying to press pause inside of the confirm leave / win / or lose menu's. This bug began once I had put in place the three branches for checking if any other menus were open before allowing the pause to be activated or deactivated. Previous to this system a soft lock occurred when pausing the game to where the user would get stuck with whatever menu they were in before pause being present after pause but no way to close the menu. With that lock present this new fix was a must to get running or else it would extremely effect the user experience by making the game basically unplayable.
The Solution:
The fix to this was simple enough once given a little thought. The issue present is that when we first press play and it checks if the menu is open there is no menu to check for since it has not been called yet or constructed. The fix to this is additional branches with the is valid check on the menu before checking if it is open. If the menu is not created why would we check if it is open, so once we had put those in place the run time errors we not present anymore and the menu system was now user ready.
Get Ascending: Peaks Beyond
Ascending: Peaks Beyond
A survival platformer where every climb tests your skill against harsh terrain, deadly weather, and towering peaks.
| Status | In development |
| Authors | ChaoticGamesStudio, KYEWOLF, devalminer, Visorra, D3adMaNxAAAx, bLemons89 |
| Genre | Adventure |
| Tags | climbing |
More posts
- Ascending: Peaks Beyond v0.0.3 Patch Notes1 day ago
- Game Aesthetics1 day ago
- Checkpoints and HUD System Integration1 day ago
- AI Decision Making1 day ago
- Fixing Item Interaction During Demo Crunch2 days ago
- Load Game/New Game/Play Game Causing Player To Fall Through Map Fix2 days ago
- Ascending: Peaks Beyond v0.0.2 Patch Notes7 days ago
- UI Functionality Issues and Improving Menu Systems7 days ago
- Boundaries Are Important7 days ago
- Audio System Implementation and Issues7 days ago
