Added a pause menu!
Added a simple pause menu! It took a bit of time just getting all the game’s system to properly freeze when the game is paused, especially the boss battles.
The background is darkened and blurred, and this also took a while to get working. The blur in particular was difficult to get right, i decided to use a GLSL shader to produce the effect, problem is i suck at GLSL. Fortunately i could find someone else who had implemented gaussian blur (which is a good common type of blur). It worked, but i ended up switching to another function because the blur costed like 800 FPS lol, and the new one is basically free performance wise.
i also had to fix some interactions when returning to the main menu, and to stop the player from immediately firing their gun when you press resume, but all in all everything went smoothly :3


)




