Skip to content

Commit

Permalink
The Pause 'n Play Update: Part II
Browse files Browse the repository at this point in the history
Very big update containing some new core features and progress on the pause menu.

New additions:
- ScreenManager: a new state machine like class for GUI screens. Makes creating nice looking animated menus a breeze.
- New SFX class, containing a static function for creating oneshot sound effects using a raw audio stream.
- New fullscreen toggle hotkey [F], allows you to quickly change between fullscreen and windowed mode in-game. Saves between sessions meaning: if you leave the game in fullscreen mode, then open it up later; it will start in that same state.
- Added a new WarningScreen to the pause menu, a kind of confirmation window for important decisions in the UI.

New changes:
-  Further functionality to the pause menu.
- Sound effects to buttons and menus.
- Refactored the SFXLayer class to make use of the new SFX class.
- Renamed RESTART to RESET, to differentiate it better from RETRY.

Known issues:
- The bottom row of buttons in the pause menu aren't programmed yet, they will not work properly.
  • Loading branch information
Charpurrr committed Oct 1, 2024
1 parent fd434aa commit b5e147b
Show file tree
Hide file tree
Showing 114 changed files with 1,259 additions and 1,050 deletions.
5 changes: 5 additions & 0 deletions project.godot
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,11 @@ gui_accept={
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":87,"key_label":0,"unicode":122,"location":0,"echo":false,"script":null)
]
}
fullscreen={
"deadzone": 0.5,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":70,"key_label":0,"unicode":102,"location":0,"echo":false,"script":null)
]
}

[layer_names]

Expand Down
Loading

0 comments on commit b5e147b

Please sign in to comment.