For Godot 4.2
This plugin has options menus that aim to be easy to customize and persist settings in a user's config file.
Example on itch.io
Example is of Maaack's Game Template, which includes additional features.
Setup options menus and accessibility features in about 15 minutes.
The core components can support a larger project, but the template was originally built to support smaller projects and game jams.
The base/
folder holds the core components of the menus application.
- Options Menus
- Persistent Settings
- Simple Config Interface
- Keyboard/Mouse Support
- Gamepad Support
AppConfig.tscn
is set as the first autoload. It callsAppSettings.gd
to load all the configuration settings from the config file (if it exists) throughConfig.gd
.OptionControl.tscn
and its inherited scenes are used for most configurable options in the menus. They work withConfig.gd
to keep settings persistent between runs.
This package is available as a plugin, meaning it can be added to an existing project.
When editing an existing project:
- Go to the
AssetLib
tab. - Search for "Maaack's Options Menus".
- Click on the result to open the plugin details.
- Click to Download.
- Check that contents are getting installed to
addons/
and there are no conflicts. - Click to Install.
- Reload the project (you may see errors before you do this).
- Enable the plugin from the Project Settings > Plugins tab.
If it's enabled for the first time,- A dialogue window will appear asking to copy the example scenes out of
addons/
.
- A dialogue window will appear asking to copy the example scenes out of
- Continue with the Existing Project Instructions
- Download the latest release version from GitHub.
- Extract the contents of the archive.
- Move the
addons/maaacks_options_menus
folder into your project'saddons/
folder. - Open/Reload the project.
- Enable the plugin from the Project Settings > Plugins tab.
If it's enabled for the first time,- A dialogue window will appear asking to copy the example scenes out of
addons/
.
- A dialogue window will appear asking to copy the example scenes out of
- Continue with the Existing Project Instructions
Users that want additional features can try Maaack's Game Template.
Changes can be made directly to scenes and scripts outside of addons/
.
A copy of the examples/
directory is made outside of addons/
when the plugin is enabled for the first time. However, if this is skipped, it is recommended developers inherit from scenes they want to use, and save the inherited scene outside of addons/
. This avoids changes getting lost either from the package updating, or because of a .gitignore
.