Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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)