Protocol: scene#
The scene commands a program sends to a running game, as the engine describes them: what each takes, what it answers and what it does. Back to all commands.
scene.load#
scene.load {name: text} -> {scene: text, step: integer, checksum: text} · write
Starts one of the game's scenes now, as a script's scene.load does: the entities are replaced, scripts keep their state and have on_scene called. For jumping to a level; a replay of input.history does not repeat it.
| Parameters | Type | Meaning |
|---|---|---|
name | text | The scene, as game.info lists them. |
| Result | Type | Meaning |
|---|---|---|
scene | text | The scene that started. |
step | integer | How many fixed steps have run. |
checksum | text | The world's checksum at this step, 16 hex digits: what frost run prints as world checksum. Equal checksums mean equal worlds, on any machine. A project's replay holds another number, the checksum of a whole run (run checksum), which sums the world at every step. |
Generated from Coldwave 0.0.1 r289, 2026-11-30 by the binary itself: do not edit by hand.