Documentation · 0.9.22

Make a game with Will Engine.

New to the editor? The tutorials walk through a first project: install, a picture, a scene, a sheet, an animation, and a prefab. These pages are the reference: the object model, the files a project keeps, and the APIs game scripts call.

Start here

The shape of a game

A scene holds GameObjects. Every object has one Transform: position, scale, rotation in degrees clockwise, and a pivot. Behavior is a subclass of Component. The editor shows public fields and public get/set properties in the Inspector and writes them into .wscene and .wpb files.

Coordinates are canvas pixels. The origin is the top-left, +x goes right, +y goes down. A new project is 320×240. OnUpdate receives a fixed step, 1 / GameTime.FrameRate, which is 1/60 s until you change it.

Pictures are palette-indexed. A palette can be swapped at runtime without rewriting pixels. The renderer draws on the CPU; the GPU only presents the frame.