Recipes
Recipes are short, copyable answers to common game-building tasks.
If the Guide explains the engine, Recipes help you get unstuck while building.
Starter recipes
Draw an imageCreate RGBA pixels and draw them to the screen.Move with keyboardUse WASD or arrow keys in fixed-step updates.Render textRegister a font, build text, and draw it.Use OneShotSplashAdd the built-in pixel-cat intro scene.
More examples
For larger examples, see the Examples Gallery.