words#
Part of the scripting reference, written by the engine so it matches your frost. Start with your first game if you are new.
Use when a word of the engine is unclear, such as entity or thing, component or part, recording, run, replay, test, accept, or the two meanings of player.
One name for each thing, used by the reference, the errors, the protocol and the editor. Where two words are in use, the second is said here once and means the same.
- game: a project file (
game.toml) and every file it names. A bare scene file also runs as a game. - project file: the
.tomlwithscene = "..."at its top: the game's scenes, scripts, components, input, recording and checks.frost reference project. - scene: a
.tomlof entities by name, each with its components. One starts the game;scene.loadScene.Loadchanges to another. - entity (the editor's thing): what a scene names, or
spawnWorld.Spawnmakes. It has a number (e3.0in the protocol) and may have a name.find(name)World.Find(name)finds it. - component (
world.checksum's part): data an entity has, such asTransformorRect, declared by the engine or under[components]. It holds fields:get(entity,."Transform", World.Get(entity,"x") "Transform", "x") - script: a Luau (
.luau) or C# (.cs) file the project lists underscripts. The engine calls itsstep(dt)Step(dt)every step and itson_scene(name)OnScene(name)when a scene starts. A library is a script other scripts take in withlibrary("kit.luau"). - state: the table a script keeps between steps that the world saves and puts back. A script's
localis not state. - step: one fixed tick of the game, 60 a second. Everything happens in steps; a step's number counts from 1.
- action: a named input (
jump,move_x) bound to keys, buttons and sticks under[input]. Read it withinput.getInput.Getandinput.heldInput.Held. - player (of a game): one person playing, numbered from 0 (
[input] players). - player (of an export): the program an export copies beside the game to run it (
players/besidefrost). - recording: the input a game was played with, step by step (
recordingin the project file, or a file it names).frost runandfrost testplay it. - run: one play of the game's recording from step 0. Its checksum is of every world on the way; checkpoints are that checksum at some steps on the way.
- replay: the project file's
replay = { steps, checksum }: what the run must come to. - test:
frost test: play the recording and require the replay and the shots. A saved test is another project file of the same game with a recording of its own. - shot: a named frame the project lists (
shots), kept asshots/NAME.png. - accept:
frost test --write: write the run's checksum and the changed shots as the game now plays. The game's line says ACCEPTED. - check:
frost check: load the game, play its first second, and list what is wrong. - template: a small finished game
frost newcopies to start from. - export: the folder
frost export web|desktopwrites for someone to play. - session: a game a program serves (
frost serve,frost mcp, the editor). Its commands are the protocol's (game.step); over MCP the same are tools (game_step).
Generated from Coldwave 0.0.1 r335, 2026-11-30 by the binary itself: do not edit by hand.