retro-engine / Exports / Game
The game class is the main class responsible for running a game in Pixelot. It can be used to check the elapsed time since the game started and stop the game.
The name of the scene that is loaded on game start.
▪ Static start_scene: string
The current time in milliseconds since the game started.
▪ Static time: number = 0
Stop the game loop and close the game.
▸ Static stop(): void
void