Skip to content

Scenes ​

Since most of the UI is handled by Vue.js, there are only a few scenes in Phaser. A scene is the entry point to the game's physics world and is responsible for rendering the game objects.

Boot Scene ​

The boot scene is responsible for loading the assets and initializing the game manager. It's the entry point of the game and initializes the level manager, which sends a ready event to Vue when all assets are loaded and the game is ready to start.

Level Scene ​

This scene displays the actual level. This scene initializes all managers except the level manager.

HUD Scene ​

This scene display the overlay for the game. It shows the timer with gravity-shift indicator and the player's health.