Creating the App

That's it for the minimal toy game : we have a running app, with a black screen :) The GameModule interface provides four main hooks for writing your game logic:

init() is called when initializing the game

is called when initializing the game start() is called when the game session is started

is called when the game session is started pump() is called on each frame

is called on each frame scene() is called everytime a scene is created