🦇
Monster Survivors Template Documentation
  • Welcome
  • CHARACTER
    • Add a Character
    • Starting Ability
  • Stages
    • Stage Creator
    • Tracks And Clips
    • Stage Settings
    • Create a Stage
  • Enemies
    • Simple Enemies
    • Ranged Enemies
    • Bosses
    • Add a Simple Enemy
    • Add a Boss
  • Abilities
    • Ability Types
    • Abilities System Structure
    • Add Abilities
  • Upgrades
    • Upgrade Types
    • Upgrades System Structure
    • Add an Upgrade
  • Game structure
    • Main Menu Scene
    • Game Scene
  • Input
    • Input System
    • Menu Navigation
  • Known Issues
    • IOS Build
  • Testing
    • Abilities Testing Overlay
    • Presets
Powered by GitBook
On this page
  • Game Controller
  • Save Manager
  • Main Menu Screen
  • Main Camera
  • Upgrades Manager
  • Easing Manager
  • Vibration Manager
  • Audio Manager
  1. Game structure

Main Menu Scene

PreviousAdd an UpgradeNextGame Scene

Last updated 4 months ago

Main Menu is the main hub of the game. Most of components inside this scene are permanent singletones that do not get unload when the Game scene is loaded. They provide management and access to different systems of the game.

Game Controller

Game Controller is the main component of the game. It initializes and provides access to other components such as Save Manager or Audio Manager. It is also responsible for switching between scenes.


Save Manager

Save Manager provides easy high level ability to store and receive data from the file system. It works with IOS, Android, WebGL and PC

Field
Description

Clear Save

If selected, creates new save instead of loading save file

Auto Save Enabled

If selected, saves game automatically in background

Auto Save Delay

The time between automatic saves

// You can get a save from anywhere in the project using this code
// If there is no entry of "Abilities Save" in Save Database, 
// it will be created automatically
var abilitiesSave = GameController.SaveManager.GetSave<AbilitiesSave>("Abilities Save");

Main Menu Screen

Window
Description

Lobby Window

This is the first window that greets the player when they open the game. Inside it you can select stage you want to play, start playing, or open other windows inside main menu

Upgrades Window

Inside this window you can buy upgrades or increase their level

Characters Window

Inside this window you can buy and select characters

Settings Windows

Inside this window you can toggle on or off music, sounds and vibrations

Persistent UI

Other UI that stay on the screen no matter what window is opened. Consists of Background Images and Gold Currency Indicators


Main Camera

The camera that renders Main Menu UI. Does not have any specific requirements, can be both perspective and orthographics, depending on your needs


Upgrades Manager


Easing Manager

Easing Manager is an in-house analog of the DoTween asset, that is build on top of Coroutines. It provides an easy way to animate gameObjects.


Vibration Manager

Vibration Manager is a simple system that provides haptic feedback on Android, IOS and WebGL


Audio Manager

Audio Manager is a simple system that simplifies working with sounds and music in game.

Upgrades Manager provides easy access to the upgrades system. To find out more, read

Upgrades System Structure page
Main Menu hierarchy