Coldwave

export#

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 shipping a game to desktop or browser, choosing export settings or customising the web loader.

TOML
# Optional: the page a web export shows while the player downloads. The page opened with
# `?mute` plays no sound at all and the game runs the same.
[web]
# "default" is the engine's mark over a thin line of real progress and the size of the
# download; "none" shows nothing of the engine's at all.
loader = "default"
# The title stands in place of the mark and names the browser tab.
title = "Held Note"
# The page's colour, as 0xRRGGBB, also around a frame that does not fill the window (left
# out: the window's background).
background = 0x1d2b53
# The progress line's colour, as 0xRRGGBB (left out: 0xd3e5ee, the mark's ice).
accent = 0xffec27
TOML
# Optional: what `frost export` writes beside the game. A file of the game may have a
# source note beside it (`art/slime.png.from.toml`, and the service's terms as
# `art/slime.png.terms.txt`), which the editor writes; the export always writes
# `credits.txt` from them. `title` names the app.
[export]
# "file" (the default) leaves the notes out of the game; "full" copies each note and
# terms file beside its file too.
credits = "file"
# A square PNG for the app `frost export ios` and `frost export android` make, 1024 pixels a
# side for the stores; left out, the system's plain icon (the phone profile: one made
# from the title's initials, and W0463).
icon = "art/icon.png"

Shipping a game#

frost export desktop game.toml --out build writes the player and game/ beside it. The player starts that game with no arguments. No installer or signing is supplied. frost export web game.toml --out site writes a static site with WebGPU and WebGL2 players; the page chooses what the browser supports. frost play site serves it locally. frost dev game.toml --web serves with reload. A checkout export needs the Emscripten SDK and the wasm32-unknown-emscripten Rust target; frost help export lists options.

Exports copy required assets and leave recorded input out unless requested. Browser sound waits for a key press, click or touch. The frame keeps its aspect ratio and input is measured within it. Configure the browser loader under [web] below.

Generated from Coldwave 0.0.1 r335, 2026-11-30 by the binary itself: do not edit by hand.