NEOLearn

App and core

The App that runs a NEO game, its main loop and schedules, time and the fixed timestep, transforms, the math library, background tasks and windows.

Updated October 20, 2026

On this page

These pages cover the foundation every NEO game stands on: the App that holds the world and runs the main loop, the clocks that measure time, where things are in space, the math types, work that runs in the background and the windows the game draws into.

If you haven't yet, read ECS first: everything here is built from entities, components, resources and systems.

Pages#

PageWhat it covers
The AppApp, the main schedule and its order, runners, exiting, headless apps and sub-apps.
TimeTime, real and virtual time, pausing and slow motion, Timer, Stopwatch and delayed commands.
Fixed timestepFixedUpdate, Time<Fixed>, handling input, and smoothing movement between steps.
TransformsTransform and GlobalTransform, moving and rotating, parents and children, and propagation.
MathVectors, quaternions and directions, shapes, bounding volumes and ray casts, curves and easing, random sampling.
TasksThe task pools, running work in the background, and getting the results back into the world.
WindowsWindow settings, modes, the cursor, vsync, power saving, window messages and multiple windows.

One frame, in order#

Each time the app updates, the main schedule runs these schedules in order:

Text
First → PreUpdate → RunFixedMainLoop (FixedUpdate 0 or more times) → Update → SpawnScene → PostUpdate → Last

The first update also runs PreStartup, Startup and PostStartup once, before First. Engine plugins do most of their work in PreUpdate (reading input, for example) and PostUpdate (transform propagation, preparing what to draw). Your game logic usually goes in Update or FixedUpdate. See Schedules.

Next steps#