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

AttachedGame

The game the devtools attach to, and the scenes of the Game that runs it, which readScene and goScene read; none for a world no Game runs.

Property Type Description
input StepInput What every step reads, which holdInput writes.
scenes? StoreApi<ScenesState> -
world World The world it made, with the map’s ground and the scene’s entities. Step it with stepSeconds(game, seconds) or through the devtools store, and destroy it with world.destroy() once done.