Module game_library::settings
source · Expand description
Settings resources for the game.
The base settings menu should have these options:
- Accessibility
- Audio
- Video
- Gameplay
- Controls
- Back/Close
Each of these options should have a sub-menu, which can be navigated to by pressing select or clicking on the option. The sub-menu should have a back button, which returns to the main menu.
The accessibility menu should have these options:
- Font Choice (Default, Dyslexic, Sans-Serif)
- Back
The audio menu should have these options:
- Main Volume
- Music Volume
- SFX Volume
- Back
The video menu should have these options:
- Display Scale
- HUD Scaling
- Back
The gameplay menu should have these options:
- Auto-Aim
- Auto-Cast
- Back
The controls menu should have these options:
- Keybinds
- Keybinds (Controller)
- Back
The keybinds menu should have these options (and these are the same for controller):
- (Options for each action – see [
crate::events::PlayerAction
]) - (Options for each menu interaction – see [
crate::events::MenuInteraction
]) - Back
Structs
- Accessibility settings.
- Gameplay settings.
- Event to indicate a setting was changed.
- Plugin for settings which will register the settings resources and run the
first_load
system. - Video settings.
- Volume settings.
Enums
- The category of a setting.
Functions
- Rotates through the font choices.
- Rotates through the font families. This will not return
FontFamily::Display
because that is a special font family used for the game logo.