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

restoreLevels

restoreLevels(world, saved?): void

Lays a save’s finished levels on the game’s, and opens on the first level not finished, or the first once every one is.

Parameter Type
world World
saved Record<string, { score: number; seconds: number; }> | undefined

void