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

lateEdgeSeconds

const lateEdgeSeconds: 0.28 = 0.28

Seconds after its own tick that an edge, a tick’s jump, may reach the room and still run, once, on the room’s next tick, never on a tick it has stepped; a later one is dropped with its tick. A little past the quarter second the room repeats the player’s last input for while the player’s input is late, since a page that sends each tick’s input leads the room by two ticks less. A 300 ms spike every 4 s brings an edge up to 130 ms late, and a 400 ms stall up to 270 ms. 17 ticks at 60 ticks a second, 8 at 30. A predicted command’s lateSeconds takes the same where it names none, defaultLateSeconds.