Skip to main content

Crate pite_runtime

Crate pite_runtime 

Source
Expand description

pite-runtime: thin orchestrator wiring scene + render + script. Opens a window, loads the scene file into a node tree, runs the loop.

Structs§

GameSession
RunOptions

Constants§

DEFAULT_ICON_PNG

Functions§

resolve_default_scene
Default scene when scene argument is omitted: the enclosing project’s main_scene. Same rule pite edit uses with no scene; outside a project it fails loudly instead of guessing.
resolve_scene_arg
Resolve a scene argument to an absolute path. res:// resolves against the enclosing project root, everything else against the current dir. Shared by pite run and pite-player so both accept the same paths.
run_scene
run_with_options