Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gamemann/dot-menu-settings-example
This is a small game made with @godotengine that showcases a simple settings menu where a user can set the screen width, height, and mode. The settings are saved to a JSON file on the file system.
https://github.com/gamemann/dot-menu-settings-example
file fileaccess filesystem game gamedev godot godot-engine godotengine json menu settings utilities
Last synced: 4 months ago
JSON representation
This is a small game made with @godotengine that showcases a simple settings menu where a user can set the screen width, height, and mode. The settings are saved to a JSON file on the file system.
- Host: GitHub
- URL: https://github.com/gamemann/dot-menu-settings-example
- Owner: gamemann
- Created: 2024-03-03T08:51:06.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-03-03T09:00:43.000Z (11 months ago)
- Last Synced: 2024-09-29T04:49:43.712Z (4 months ago)
- Topics: file, fileaccess, filesystem, game, gamedev, godot, godot-engine, godotengine, json, menu, settings, utilities
- Language: GDScript
- Homepage: https://moddingcommunity.com/
- Size: 18.6 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a small [Godot](https://godotengine.org) game that showcases a simple 2D settings menu in a 3D environment. The settings menu includes three user options for changing the game window's width, height, and mode (e.g. full screen or windowed).
Settings are retrieved from a file on disk in JSON format. When the "Apply" button is clicked, the current settings are saved to the file on disk.
**Note** While in game, you can use the escape key to toggle the 2D menu.
## General Settings
Here's a table of general settings the script uses.| Name | Default | Description |
| ---- | ------- | ----------- |
| Default Width | `1920` | The default screen width. |
| Default Height | `1080` | The default screen height. |
| Default Windowed | `true` | Whether to run windowed mode by default. |
| Settings Path | `./settings.json` | A path to the settings file on disk. |## Images
![Preview #1](./images/preview01.png)## Credits
* [Christian Deacon](https://github.com/gamemann)