NEOLearn

Time examples

The engine's time examples: what each one shows, whether it runs in a browser and the command that runs it.

Updated October 20, 2026

On this page

Time, virtual time, timers and the fixed timestep. There are 3 examples on this page. For the concepts behind them, see Time.

Run any of them from the engine core's workspace (the folder of the engine source that holds the neo crate's Cargo.toml); see Run an example.

Examples#

ExampleWhat it showsWebRun
Time handlingExplains how Time is handled in ECSNocargo run --example time
TimersIllustrates ticking Timer resources inside systems and handling their stateNocargo run --example timers
Virtual timeShows how Time<Virtual> can be used to pause, resume, slow down and speed up a game.Nocargo run --example virtual_time

See also#