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.
# Optional: the page a web export shows while the player downloads. "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. With a `title`, the title stands in
# place of the mark and names the browser tab. `background` is the page's colour, also
# around a frame that does not fill the window (left out: the window's background);
# `accent` is the progress line's colour (left out: 0xf2364b). Both are 0xRRGGBB.
# The page opened with `?mute` plays no sound at all and the game runs the same.
[web]
loader = "default"
title = "Held Note"
background = 0x1d2b53
accent = 0xffec27# 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. "file" (the default) leaves the notes out of the game;
# "full" copies each note and terms file beside its file too. `icon` is 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. `title` names the app.
[export]
credits = "file"
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 r289, 2026-11-30 by the binary itself: do not edit by hand.