Client programs should implement
App::update to execute game logic and
add instances of
At each frame, all sprites are drawn to the screen.
This system relies on two cameras
App::world_camera applies a perspective effect to draw the game world.
This camera is designed to be moved around to see the world as well as to
zoom in and out. It is used to position the sprites in
App::ui_camera is a simple orthogonal camera to display UI objects.
This camera should mostly be still, it can still move for chock effects
and the like. It can be used to standardize the size of the UI across
devices. It is used to position the sprites in
See the sample game at
contrib/asteronits/ and the basic project template