Skip to content

Examples

Each example solves one common game task with complete scripts you can paste into a project: what it does, how to set the scene up in the editor, the code, what each part does, and changes to try. Every code block on these pages is compiled against the engine when the site is built.

Most of them come from the editor’s demo project (examples/demo_project, opened the first time the editor starts): the space game and the forest platformer. If you haven’t written a script yet, start with Your first game, then Scripts in the manual.