What Orblit is
Orblit is a game engine and an editor in one application. You build scenes in the editor and write the game in C#. It makes 2D and 3D games. It runs on Linux, Windows and macOS, and it is MIT licensed.
Scenes are trees of entities
Section titled “Scenes are trees of entities”A scene is a tree of entities. Each entity does one job. A MeshInstance3D draws a mesh. A Camera3D looks at the world. A Button takes a click. Children move with their parent.
You save a scene to a file. A saved scene can be placed inside another scene as one entity, so a level can hold a hundred copies of one enemy. The game starts from the project’s main scene.
Scripts are C# classes
Section titled “Scripts are C# classes”A script is a C# class that extends an entity class. It runs on the entity it is attached to. The engine calls its lifecycle methods.
| Method | When it runs |
|---|---|
OnEnterStage |
The entity has joined the running scene tree. |
OnStart |
The entity and all its children are in the tree, once. |
OnFrame(double delta) |
Every drawn frame. delta is the seconds since the last one. |
OnStep(double delta) |
Every physics step, at a fixed rate. |
OnExitStage |
The entity is leaving the tree. |
Entities talk through signals. A Button emits
Pressed when it is clicked, and any script can connect a method to it.
Graph scripts are steps and wires
Section titled “Graph scripts are steps and wires”A graph script is a script made of steps joined by wires, saved in an
.ograph file. It attaches to an entity the way a C# script does. Its
functions use the engine’s names, so the start function is _start. The
editor’s Graph tab edits them. Your first graph script
makes one.
What is in the engine
Section titled “What is in the engine”- 2D and 3D physics, with bodies, areas, joints and character controllers.
- Animation, with players, blend trees and state machines.
- A user interface toolkit with containers, controls and themes.
- Shaders, particles, lights, shadows, fog and global illumination.
- Audio with buses and effects.
- Navigation meshes and path finding.
- Tile maps for 2D.
The class reference lists every class the engine exposes. The same text is in the editor. Press F1 there to search it.
Three renderers
Section titled “Three renderers”A project picks a renderer when it is made. You can change it later in the project settings.
| Renderer | Use it for |
|---|---|
| Forward+ | Desktop games. The most advanced 3D. Scales to large, complex scenes. |
| Mobile | Desktop and mobile. Less advanced 3D. Fast on simple scenes. |
| Compatibility | Older hardware. The least advanced 3D. Fastest on simple scenes. |
Platform support says which graphics API each renderer uses on each system.
