Coldwave Read the docs

Changelog#

What is new in Coldwave, and what to change in a game you made with an older version, newest first. frost changes prints the same list offline. A change here usually moves a recorded run's checksum: play your game, see that it is still right, then accept the new run with frost test --write.

Part 1 of 7: older.

  • Ambient occlusion: [render] ao = { radius = 1.0, strength = 1.0 } darkens the ambient light (and the sky a metal mirrors) in corners and where things touch; sun, lamps, shadows, emission and layers are untouched. Off unless written, so existing games, checksums and pictures are unchanged. It works with the engine's passes, a bloom, or a game's own (float light and aces included), natively and in both web builds. A game's own effect named ao or ao_blur must be renamed (they are now the engine's), and one that writes ao must not name a target or pass ao, ao_distance, ao_depth, ao_rough, ao_seen, ao_occlude or ao_soften. frame.at names it unread.
  • Bloom between passes and interface design units: add keeps radiance above one in float targets, so a later aces can tone-map it. An 8-bit target still clamps as before; use one to retain that clamp. Float bright keeps unnormalized radiance, including at threshold 1; 8-bit bright requires a threshold below 1. Graphs reject nonfinite effect parameters. Graphs with unequal colour/depth target sizes or read on a drawing pass are refused when loading. [ui] fit = H gives screen interfaces a design height, including text in 3D; omit it for the old pixel units. Luau ui.measure / C# Ui.Measure measure text and styles, and Wrap.ellipsis truncates to Wrap.w (false keeps wrapping and old checksums). input.keys / Input.Keys return the current device's binding labels. Recordings keep device hints in player = { id = 0, device = "pad" }; old recordings use keyboard labels.
  • Smoother 3D edges: [render] msaa = 4 uses four samples for sky and meshes, with alpha-to-coverage on MASK materials. It resolves into the colour target's own format before effects or UI; float targets stay float. Default 1 keeps the old path.
  • Model back faces: [render] cull = true honours glTF doubleSided, including mirrored instances. Default false preserves existing pictures pending GPU review.
  • Model samplers: [render] samplers = true honours each texture slot's wrap and min/mag/mip filters, with up to 8x anisotropy for fully linear mipmapped sampling. Default false keeps the previous shared repeat/trilinear sampler. Cooked models now keep samplers (VMSH 5); older cooked models still read.
  • Unread model data is reported: embedded JPEG and damaged PNG pictures fail by name instead of drawing white. Convert them to PNG and update/re-embed them; changing the container to .glb does not convert pictures. frost check and frost cook report unsupported material extensions, texture transforms/UV sets, lights and cameras as W0460. No JPEG decoder is added; there is no switch for the old silent loss.
  • Streamed scene cells: [stream] declares deterministic residency before physics, entry budgets, dormant changes, world-owned migrants, cell.enter/cell.leave, Luau stream.loaded/stream.hold, C# Scene.Loaded/Scene.Hold, and protocol stream.read. Games without [stream] retain their checksums. Cell text/assets load eagerly; live entity and body residency is bounded. See frost reference project.
  • A frame that fills the screen: [window] fit = "fill" gives the frame the shape of the screen's safe part, its height kept and its width grown (a tall frame: its width kept); left out, or "letterbox", the frame keeps its size as before. frame.size() says the frame the game runs in. The frame is part of a run's input: a run at another shape than [window] size writes frame = [W, H] at the head of its recording ([input] frame), and frost run, frost test and the players' test flags replay it in that frame; a recording with no frame replays at [window] size. the engine's fill example holds one game at two shapes; Embers fills, and the engine's embers/phone.toml example holds a run at an iPhone's shape (1060 by 540) to its own checksum.
  • Phones: frost export ios writes an app for the iPhone simulator (--device: an iPhone, unsigned) and frost export android an apk for arm64 Android 8.0 and later, signed with a debug key; docs/export.md says what a real phone and a store need. A game plays on them as it is: the same checksum as frost run, a finger as the pointer and in the finger slots. The graphics device asks for no more than the adapter offers (a phone's may offer less than wgpu's defaults), which changes nothing where the adapter has them. Android exports of games with [net] request Internet permission so their multiplayer menus can host and join. No game behaves differently. A player held at a step (--hold N) prints the run's checksum on a line after the world's.
  • Luau queries can carry numeric columns: each("Bunny", {"Transform.x", "Bunny.vx"}) returns IDs and copied f64 buffers; set(ids, component, field, buffer) writes one back. Writes follow list order with scalar conversions and lifetime checks. A bad entry stops there, keeping earlier writes. Existing scripts and checksums are unchanged.
  • Scripts reach model joints: Bone overrides local rotation and optional translation; bone / World.Bone reads the world pose, and Parent.joint attaches a tool. screen.project / screen.ray (Screen.Project / Screen.Ray) convert world and pointer coordinates. Overrides and attachments opt their model clips into stepping before scripts, with exact posing for pictures and shadows; other games keep their checksums and timing. A game's own component named Bone must be renamed (E0528). Spatial C# reads now include queued writes; read before writing to retain the previous pose.
  • Fusion C# ships to the web: frost export web compiles marked Step classes to one module beside the player, with no .NET in the browser. Both web backends use the same column/state door; desktop runs keep .NET. Unmarked C# still refuses web export and names [Fifth] as the route. See docs/csharp.md and the engine's bunnymark-fifth example; existing Luau and desktop games keep their behaviour.
  • Agent harness files ship with games: frost new installs reference skills in .claude/skills, a stdio MCP registration and short AGENTS.md. Existing games use frost skills --here; edited files are preserved using the previous installation's bytes. frost skills --out DIR installs skills alone. MCP tool descriptions are now short selection hints; full contracts remain in frost reference protocol.COMMAND. Gameplay and recorded checksums are unchanged. See docs/agent-harnesses.md.
  • The reference opens small: frost reference now prints the game-making core and page index. Fetch a page or call by name, or use --search words; --all keeps the previous whole output. reference.read and reference.search serve the same text inside the editor. New games and releases include short game-making instructions. The core plus index is limited to 3,000 tokens and each page to 7,000; frost budgets fails naming any page over its limit. The whole output has no total limit. Gameplay and recorded checksums are unchanged.
  • Fusion trees can be compiled without .NET: the engine now holds its WebAssembly emitter and its replay checks. This first compiler piece takes trees and returns bytes; web export is not wired to it yet, and existing games keep their behaviour.
  • A together test costs what a plain one does, and six smaller fixes: change.test with with no longer reads every field of both games at every step (Breaker's 7,236 steps: 194 s, now 1.2 s, what a test without with takes). differs.comparison is made only after a field differs, by playing each run again to that step, so extra_steps now counts every column: at most (hands + 1) times the step. With before, a change of with alone is played over before, not over the served game, where it showed the together value. project.undo {landing} removes a shot the landing added, leaves no .frost/undo-landing behind, and undone stays true after the journal's 64 changes. frost export of a game in C# names packages restored as download dependencies too, and of two versions with the same numbers takes the release over a pre-release (rc.10 over rc.2). frost run --record writes an input that goes from 0 to -0. A peer's input that is NaN or an infinity is refused (E0547): send finite numbers. No recorded checksum moves.
  • Playable engine demos: the engine adds Bunnymark, grid-based boids in Luau and C#, and a Jolt box pyramid, with small recorded runs and reproducible benchmark tools. The engine's own checks play them too. Existing games and their checksums are unchanged.
  • Opt-in HDR presentation: an aces frame-graph effect makes float mesh/sky passes retain linear light above 1, including emission, fog and blending. The effect applies exposure (strength, default 1), the ACES fitted curve, then sRGB encoding. Draw layers after it to leave UI/text unchanged; the engine's torch/tonemap.toml example shows how. Without aces, existing pixels, targets and pass counts stay unchanged. WebGL2 now accepts half-float targets when renderable, filterable and blendable; unsupported devices refuse the graph (E0208). frame.at names the presentation unread. A game's own effect named aces must be renamed. This adds no visible beam.
  • Custom fields can hold doubles and unsigned words: declare { f64 = 0.0 } or { u32 = 0 } in [components]. Luau, C# columns and [State] (uint), scenes, snapshots and inspection preserve their precision. Float equality and checksums treat all NaNs alike, as before. Existing declarations and recorded checksums are unchanged; no migration is needed.
  • Fog without a Sky: in 3D, Fog = { color = 0x183040, density = 0.058 } on the lowest entity fades lit meshes and ground by 1 - exp(-(density * distance)^2). Defaults are black and density 0 (off); a Sky keeps its existing haze and ignores Fog. No Fog keeps the old pixels and checksums. A game's own Fog component must be renamed. frame.at explains fog colour and share; this adds no visible torch beam.
  • A torch can project a picture: the shadow-winning spot's Light.cookie names a PNG as other pictures do, multiplying its light by linear RGB and alpha across the cone. The default "" keeps previous checksums and pixels, with no cookie sampling or pass. Other lights ignore it. frame.at explicitly names its unsampled cookie.
  • One spot can cast shadows: Light = { kind = "spot", shadows = true } uses a 1024² perspective map with soft edges, including posed meshes and ground, beside the sun's map. Among the first eight point/spot lights, the lowest entity spot requesting shadows with 0 < outer < 90 wins. Set shadows = false for the old appearance and no extra pass. frame.at names its unread shadow map; its colour is then partial.
  • Embers takes place in a ruined foundry: both language versions add staggered outer piers, broken walls, distant towers, bronze ground inlays and three warm lamps. Five ember spill lights leave room for the lamps within the eight-light limit; all eight stones and the warden eyes keep their emission. Pickup sparks are larger, live longer and number 32. Only dressing and effects change the recorded worlds; keep the older arena scene and script together to keep the older appearance.
  • Together tests show each change alone: change.test with with adds differs.comparison for a differing component field: each change's own value, last writer and up to five observed steps beside the combined run. was remains the test reference. Missing values and unplayable standalone runs are explicit; extra_steps reports standalone work needed. Gameplay and checksums are unchanged.
  • 3D light shares follow materials: frame.at now includes roughness and metal overrides, sky reflection, emission and tint inherited from parents. For transparency, color is the premultiplied surface contribution and cover its coverage; unread names the unseen destination and other unsampled inputs. Ordinary opaque materials keep their answers. Rendering and recorded checksums are unchanged.
  • Rollback corrects an input whose zero has the other sign. A late -0 used to leave a prediction of +0 in place (and conversely), so a script that distinguishes them could disagree with a peer that had the input on time. Corrections now compare the input's bits. Input history and its recording text preserve -0.0 too, so a recorded network game replays with the same signs. Finite nonzero inputs are unchanged.
  • A C# desktop export reports only the package versions its restore used, even when its cache holds other versions from earlier exports. An unused version fetched from nuget.org no longer makes an export from the SDK's own packages say it fetched. The SDK's newest package version is compared as numbers: 11.0.10 follows 11.0.9. Nothing changes in a game's run.
  • Undo one landing: project.undo {landing} reverses a landing still in this session's journal, merging around later independent edits and testing the inverse before writing it. A clash or an unsaid change is refused (E0470); replay sums and changed shots are written for the resulting game. The inverse is a new change, undone/redone by ordinary project.undo/project.redo. A game with shots needs a graphics adapter. Without landing, undo behaves as before. copy.list reads saved base texts only for changed files.
  • Embers shows the new rendering and sound tools: the Luau and C# games give embers and warden eyes Emission, fade waking wardens with Opacity, add short foot specks, metal wall caps and dusk haze, and place pickup sounds in the arena with an explicit distance range. Collection sparks are smaller and bloom is gentler. Their replay checksums change for the visual components and bursts; the recording, rules and gameplay state stay the same. Existing games are unaffected; to keep an older Embers look, keep its scene, models, script and render/sound settings together.
  • Joining a game under way, and coming back: net.run {begin_with} and [net] begin_with begin a game before every seat is taken; a net.join to it takes an open seat by a moment of the game sent as bytes, and net.join {token} (a menu's net.join(), which a shipped player gives the token it kept) takes back the seat its player left (E0568, E0569). net.status has token, open and join. No game plays or sums differently.
  • A game's own menu hosts and joins: scripts have net.host(address?), net.join(address?), net.cancel(), net.state() and net.player() (C#: Net), and [net] takes start (the scene every peer starts in at step 0 once everyone is in) and address. A script that defined a global net of its own now hides the engine's. Duel's recording moved into the engine's duel/run.toml example; no checksum moved.
  • Particles: an Emitter part and emit(thing, n) (C#'s World.Emit) let a thing's specks go as one Burst, drawn from a seed and its age and in no world: squares in 2D, unlit squares that face the camera in 3D. Both Emitter and Burst are declared in every game: a game's own component of either name must be renamed (E0528). A game with neither is as it was.
  • A bloom in one line: [render] bloom = { threshold, strength } (0.85 and 1.5 when left out) adds a bloom to the graph the engine makes, in 2D and 3D; a game with its own passes is refused the line in words. No game that has no such line behaves differently.
  • Sound in 3D: in a 3D game sound.play(name, { at = thing }) (C#'s Sound.Play(at:)) is heard from where the thing is against the camera that sees: panned by the camera's own right and quieter with distance, whole within 2 metres and nothing past 30, which [sound] near, far and a play's own near and far change. It was panned by the thing's world x against the camera's x and never faded. A 2D game, and a play with x or no place, is heard as it was.
  • A 3D thing's light of its own: Emission = { color, strength } beside a Mesh adds its colour times its strength to what lights it, with its parents', and a graph that blooms spreads a strong one into a halo. Emission is declared in every 3D game: a 3D game's own component of that name must be renamed (E0528). No game that has none draws differently.
  • A game's component named as one of the engine's is told so: a project's [components] that declares a name the engine owns is refused with E0528 (was E0001), which names it, the revision that took it and says to rename the game's own.
  • A 3D thing takes its Tint, as a 2D one does: Tint = { color } beside a Mesh (and on every thing it is under, by Parent) multiplies its colour, with Mesh.tint, which stays. A 3D game that gave a Mesh thing a Tint other than white sees it tinted where it was not; no other game draws differently.
  • A 3D thing fades by its Opacity, as a 2D one does: Opacity = { alpha = 0.5 } beside a Mesh (and on every thing it is under, by Parent) covers what is behind it by that much, drawn after every whole thing as a see-through model is; at 0 it is not drawn. Its shadow stays whole. A 3D game that gave a Mesh thing an Opacity below 1 sees it fade where it was drawn whole; no other game draws differently.
  • A metal under a sky mirrors it: in a game with a Sky, a metal surface adds the sky's colours the way it reflects (blurred as it is rougher), times its own colour. A game with no Sky, or whose models have no metal, draws as it did.
  • Tags: every game has a Tags = { list = "pushable, heavy" } part, the words a thing is known by, and world.query {tag} finds the things whose list holds a word; a script reads them as any part (get(e, "Tags", "list"), each). A game that declared a component of its own named Tags must rename it. No other game behaves differently, every checksum the same.
  • The game's own picture at another shape: frame.capture {fill: true, width, height} draws the frame from the game's camera into exactly that size with no bars, the world going on beside the frame, and says where the frame is (game_rect); frame.view {fill} says the same. No game behaves differently.
  • A thing's say over its model's look, told to the editor: Mesh gains roughness and metallic (below 0, the default: the model's own) and blend ("", the default: as the model says; "blend"; "opaque"), each out of the checksum while at its default, so every recorded game holds. assets.cooked keeps each part's material (its name) and adds paint, what that material is. No game behaves differently.
  • A model's material drawn as glTF says: a material whose alphaMode is BLEND is see-through by its alpha and drawn after everything that is not, the farthest first (it was drawn opaque); a doubleSided one lights its back faces as its front ones (they were lit as facing away); an occlusion picture of its own darkens what it covers (only one packed with metal and roughness did); and the base colour picture's KHR_texture_transform moves, turns and scales every picture of its material (it was left out). The model importer (6) keeps the transform (VMSH 4), so every model is cooked again once. A game with such a model draws differently; its checksum does not move. No way to have the old pictures: remove the field from the model.

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