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

DayClockTrait

const DayClockTrait: Trait<{ hour: number; realSecondsPerCycle: number; }>

The hour the world is at, which the sun’s whole position comes from, and the real seconds a whole cycle takes it. Nothing saves either, so every load opens at the same hour and runs at the same speed unless a World is given its own.