Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

HeadlessGameOptions

Property Type Description
dev? boolean Whether the world is a dev world, whose warnings print: true when left out, for the test or the agent stepping it. A room passes whether it allows edits.
levels? Readonly<Record<string, string>> The game’s levels, as Game takes them: the world plays the first.
physics? PhysicsSettings The game’s physics scene, as Game takes it: every default when left out.
plugins? PluginList The game’s plugins, as Game takes them: each step runs what they compose around the core, the core alone when left out.
scene HeadlessScene The scene, as a function that spawns its entities into the world, such as the spawnCoins of Headless tests.
seed? number The map seed; the default map’s when left out.