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, abloom, or a game's own (float light andacesincluded), natively and in both web builds. A game's own effect namedaoorao_blurmust be renamed (they are now the engine's), and one that writesaomust not name a target or passao,ao_distance,ao_depth,ao_rough,ao_seen,ao_occludeorao_soften.frame.atnames it unread. - Bloom between passes and interface design units:
addkeeps radiance above one in float targets, so a lateracescan tone-map it. An 8-bit target still clamps as before; use one to retain that clamp. Floatbrightkeeps unnormalized radiance, including at threshold 1; 8-bitbrightrequires a threshold below 1. Graphs reject nonfinite effect parameters. Graphs with unequal colour/depth target sizes orreadon a drawing pass are refused when loading.[ui] fit = Hgives screen interfaces a design height, including text in 3D; omit it for the old pixel units. Luauui.measure/ C#Ui.Measuremeasure text and styles, andWrap.ellipsistruncates toWrap.w(false keeps wrapping and old checksums).input.keys/Input.Keysreturn the current device's binding labels. Recordings keep device hints inplayer = { id = 0, device = "pad" }; old recordings use keyboard labels. - Smoother 3D edges:
[render] msaa = 4uses 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. Default1keeps the old path. - Model back faces:
[render] cull = truehonours glTFdoubleSided, including mirrored instances. Defaultfalsepreserves existing pictures pending GPU review. - Model samplers:
[render] samplers = truehonours each texture slot's wrap and min/mag/mip filters, with up to 8x anisotropy for fully linear mipmapped sampling. Defaultfalsekeeps 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
.glbdoes not convert pictures.frost checkandfrost cookreport 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, Luaustream.loaded/stream.hold, C#Scene.Loaded/Scene.Hold, and protocolstream.read. Games without[stream]retain their checksums. Cell text/assets load eagerly; live entity and body residency is bounded. Seefrost 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] sizewritesframe = [W, H]at the head of its recording ([input] frame), andfrost run,frost testand the players' test flags replay it in that frame; a recording with no frame replays at[window] size. the engine'sfillexample holds one game at two shapes; Embers fills, and the engine'sembers/phone.tomlexample holds a run at an iPhone's shape (1060 by 540) to its own checksum. - Phones:
frost export ioswrites an app for the iPhone simulator (--device: an iPhone, unsigned) andfrost export androidan apk for arm64 Android 8.0 and later, signed with a debug key;docs/export.mdsays what a real phone and a store need. A game plays on them as it is: the same checksum asfrost 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:
Boneoverrides local rotation and optional translation;bone/World.Bonereads the world pose, andParent.jointattaches 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 namedBonemust 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 webcompiles 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. Seedocs/csharp.mdand the engine'sbunnymark-fifthexample; existing Luau and desktop games keep their behaviour. - Agent harness files ship with games:
frost newinstalls reference skills in.claude/skills, a stdio MCP registration and shortAGENTS.md. Existing games usefrost skills --here; edited files are preserved using the previous installation's bytes.frost skills --out DIRinstalls skills alone. MCP tool descriptions are now short selection hints; full contracts remain infrost reference protocol.COMMAND. Gameplay and recorded checksums are unchanged. Seedocs/agent-harnesses.md. - The reference opens small:
frost referencenow prints the game-making core and page index. Fetch a page or call by name, or use--search words;--allkeeps the previous whole output.reference.readandreference.searchserve 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 budgetsfails 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.testwithwithno longer reads every field of both games at every step (Breaker's 7,236 steps: 194 s, now 1.2 s, what a test withoutwithtakes).differs.comparisonis made only after a field differs, by playing each run again to that step, soextra_stepsnow counts every column: at most (hands + 1) times the step. Withbefore, a change ofwithalone is played overbefore, not over the served game, where it showed the together value.project.undo {landing}removes a shot the landing added, leaves no.frost/undo-landingbehind, andundonestays true after the journal's 64 changes.frost exportof 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.10overrc.2).frost run --recordwrites 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
acesframe-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'storch/tonemap.tomlexample shows how. Withoutaces, 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.atnames the presentation unread. A game's own effect namedacesmust 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 by1 - 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 ownFogcomponent must be renamed.frame.atexplains fog colour and share; this adds no visible torch beam. - A torch can project a picture: the shadow-winning spot's
Light.cookienames 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.atexplicitly 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 with0 < outer < 90wins. Setshadows = falsefor the old appearance and no extra pass.frame.atnames 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.testwithwithaddsdiffers.comparisonfor a differing component field: each change's own value, last writer and up to five observed steps beside the combined run.wasremains the test reference. Missing values and unplayable standalone runs are explicit;extra_stepsreports standalone work needed. Gameplay and checksums are unchanged. - 3D light shares follow materials:
frame.atnow includes roughness and metal overrides, sky reflection, emission and tint inherited from parents. For transparency,coloris the premultiplied surface contribution andcoverits coverage;unreadnames 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
-0used to leave a prediction of+0in 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.0too, 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.10follows11.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 ordinaryproject.undo/project.redo. A game with shots needs a graphics adapter. Withoutlanding, undo behaves as before.copy.listreads 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 withOpacity, 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_withbegin a game before every seat is taken; anet.jointo it takes an open seat by a moment of the game sent as bytes, andnet.join {token}(a menu'snet.join(), which a shipped player gives the token it kept) takes back the seat its player left (E0568,E0569).net.statushastoken,openandjoin. 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()andnet.player()(C#:Net), and[net]takesstart(the scene every peer starts in at step 0 once everyone is in) andaddress. A script that defined a globalnetof its own now hides the engine's. Duel's recording moved into the engine'sduel/run.tomlexample; no checksum moved. - Particles: an
Emitterpart andemit(thing, n)(C#'sWorld.Emit) let a thing's specks go as oneBurst, drawn from a seed and its age and in no world: squares in 2D, unlit squares that face the camera in 3D. BothEmitterandBurstare 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 ownpassesis 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#'sSound.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, farand a play's ownnearandfarchange. It was panned by the thing's world x against the camera's x and never faded. A 2D game, and a play withxor no place, is heard as it was. - A 3D thing's light of its own:
Emission = { color, strength }beside aMeshadds its colour times its strength to what lights it, with its parents', and a graph that blooms spreads a strong one into a halo.Emissionis 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 withE0528(wasE0001), 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 aMesh(and on every thing it is under, byParent) multiplies its colour, withMesh.tint, which stays. A 3D game that gave a Mesh thing aTintother 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 aMesh(and on every thing it is under, byParent) 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 anOpacitybelow 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, andworld.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 namedTagsmust 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:
Meshgainsroughnessandmetallic(below 0, the default: the model's own) andblend("", the default: as the model says;"blend";"opaque"), each out of the checksum while at its default, so every recorded game holds.assets.cookedkeeps each part'smaterial(its name) and addspaint, what that material is. No game behaves differently. - A model's material drawn as glTF says: a material whose
alphaModeisBLENDis see-through by its alpha and drawn after everything that is not, the farthest first (it was drawn opaque); adoubleSidedone 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'sKHR_texture_transformmoves, 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.