Settings - UQdeco2800/2021-studio-6 GitHub Wiki

The provided game contains support for user settings, which are accessible through the Settings screen.

Key Components

  • UserSettings: Contains functionality for loading, storing, and applying settings.
  • SettingsMenuDisplay: Logic for the Settings screen, which shows how to work with UserSettings.

Common Questions

I changed my resolution and now I can't see the game! How do I get back?

You can manually modify your settings file. This is stored in your home directory under DECO2800Game/settings.json. On Windows, this would likely be C:/Users/[username]/DECO2800Game/settings.json. You can manually make changes in the file, or delete it to revert to default settings.

The game runs too slow on my computer, what should I do?

The purpose of the settings menu is to let you adjust your graphics to keep the game running smoothly. Try:

  • Lowering the FPS cap to 30. This controls how fast the game tries to run.
  • Lowering your resolution (if running in fullscreen).