The project has basically two important folders: assets and base. All the source code is located inside base folder. All the game assets (images, database files, sounds, etc) are located inside assets folder. An engine user will only modify the assets folder for instance. Any modification in assets folder files will automatically be reflected in the game.
This class is the starting point to understand how the code works. It's the engine's main class. When the game starts, it will load database files in assets/dbs folder in order to instantiate the main classes of the game like Hero, Map, MainMenu, Audio, ControlManager etc.
Class responsible for controlling the game audio engine
Class responsible for a battle
Class responsible for some specific camera features for this engine
Class responsible for the collision system
Class responsible for the debug systems
Class responsible for the game events
Class responsible for the control of the main hero
Class responsible for the inn system
Class responbible for the main menu
The current active map
Class responsible for the shop system
Class responsible for storing the game custom states
Class responsible for the tile events
Initializes the game main classes like Hero, Map, Audio, ControlManager, Storage etc.
Checks whether the hero is allowed to move.
if true, climbing won't be considered.
if true, the hero is allowed to move.
Initializes some utils controls like canvas scale control, fullscreen etc.
Loads initial database files and other assets.
Renders some debug info.
Renders loading info.
On loading phase, sets the loading message to be displayed.
The engine main update function.
Generated using TypeDoc