Changelog, part 3#
- 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.joinnet.jointo it takes an open seat by a moment of the game sent as bytes, andnet.join {token}(a menu'snet.join()net.join(), which a shipped player gives the token it kept) takes back the seat its player left (E0568,E0569).net.statusnet.statushastoken,openandjoin. No game plays or sums differently. - A game's own menu hosts and joins: scripts have
net.host(address?)net.host(address?),net.join(address?)net.join(address?),net.cancel()net.cancel(),net.state()net.state()andnet.player()net.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,(C#'sn) World.Emit(thing,n) World.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,(C#'s{ at = thing }) 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, 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", World.Get(e,"list") "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. - A shipped game plays over a network:
frost export desktopgives a game with a[net]table a player with thenetfeature, which takes--host [IP:PORT]and--join IP:PORT(--for SECONDSwith no window); a game without one is exported as before, with no network code. A peer the others dropped for silence ends with E0549 ("the others played on without you from step N").net.conditionnet.conditiontakescut_after_msandcut_for_ms. - Multiplayer, live:
frost dev GAME.toml --hostand--join IP:PORTplay a game with other windows at 60 steps a second;frost run --headless --host|--join --seconds Splays with no window.net.desyncnet.desynctakesentity,componentandfield;net.statusnet.status'sdesyncnames who last wrote the value on each side (written_here,written_there) andnet.statusnet.statushaswords. the engine'sduelexample'sMatchhastravel, so its checksums moved. No other game plays or sums differently. - Together copies:
copy.make {of: [copies]}makes a copy that shows those copies' changes merged on the game, never landed; it goes when one of them changes. The landing log keeps the texts of its most recent 256 landings. copy.diff: what a copy changed, or a landing wrote, line by line, bounded. The landing log keeps each landing's texts and stages, and each file's lines added and removed; an older log's entries are answered without them (copy.diffof such a landing isE0551).- Shared moments: copies made from one moment of the game park with one moment between them until each moves;
copy.listanswersshared. Nothing a copy does changes. - Pages:
copy.listanswers at most 100 copies unlesslimitsays (nextnames where to go on), andcopy.eventsat most 500 events (limit,next). A tool that read every copy in one answer asks again afternext. copy.claim: a copy may claim scene things and files, advisory: everyone sees it, nothing is refused for it, a landing on a claimed thing says whose it was (claimed).- Cheap copies: a copy's files are clones where the disk can (APFS), and its record keeps its base's texts once, shared by every copy, in
.frost/copies/.texts: 20.8 KB a copy of Ballast against 766 KB. A record an older engine wrote (texts in it) is still read; one written now is not read by an older engine. - How a 3D pixel is lit:
frame.at'sdrawnsays each light's share of the pixel's light and why (in shadow,faces away,out of its reach, how far, and how far into a Sky's haze), worked out by the lit pass's twin on the CPU. No game behaves differently. - W0459:
frost checkandfrost export websay of a ground over 512 samples a side how much memory its mesh takes (about 80 MB at 1024). A warning only. - A ground is drawn in tiles: 64 by 64 cells each, only those in view, each with every corner, every second or every fourth (the fewest that move it under half a pixel), 8 bytes a corner: a ground of 1024 samples a side holds about 12 MB on the device where it held 80 MB.
render.passescounts a draw a tile. No world value, checksum or picture of a test game moves. - A ground is drawn in tiles: 64 by 64 cells each, only those in view, each with every corner, every second or every fourth (the fewest that move it under half a pixel), 8 bytes a corner: a ground of 1024 samples a side holds about 12 MB on the device where it held 80 MB.
render.passescounts a draw a tile. No world value or checksum moves; a ground's picture may differ by one level in up to about one pixel in a thousand from its one mesh's (each corner's normal is kept in two 16-bit numbers, and its x, z and uv are worked out on the device), so the ground test games' kept shots were taken again: ground climb 114 and end 114, evening late_morning 106 and afternoon 189, fields 168, lamps day 141 and night 57 pixels of 230,400, each by one level. Every other test game's shot is as it was. - W0459:
frost checkandfrost export websay of a ground over 512 samples a side how much memory its tiles take (about 12 MB at 1024). A warning only. - Night lamps:
Light = { ..., night = true }shines only as the Sky's sun goes down, of the picture alone (itsenergystays as written). Off by default: no game behaves differently. - What a 3D pixel draws:
frame.atanswersdrawn, the thing whose triangle is drawn at the pixel (posed shapes too) with its part, triangle and material, whatever colliders are in front;blame.pixelnames it in a 3D game, where it named nothing. No game behaves differently. - Pictures for an editor of posed things:
frame.capturedraws a thing at a clip and time for one picture (pose), the bones of every posed thing (overlay = "skeleton"), the picture a seek to a step would show (stepStep) and the one agame.tryfrom a snapshot would show (from,inputs,steps), none moving the game;assets.cookedsays a model's clips and bones andgame.infothe project'sposes. Posing reads a column at a time (1,600 figures: 1.4 to 0.95 ms a picture). No game behaves differently and no checksum or shot moves. - Haze:
Sky = { ..., haze = 20, haze_far = 80 }fades the meshes into the sky's horizon colour from 20 to 80 units from the eye. Off by default: no game that says nothing draws differently. copy.listfor hundreds:{summary: true}answers counts and groups with no rows;{group, after, limit}pages the rows and answersnext. A list asked with none of them is as it was.copy.events: what a party did, in order: each copy made, working (with the things and fields it changed), asked to land, tested, landed, held, refused, queued, rebased, parked, given, dropped. Nothing changes for a game.- The landing queue:
copy.queueandcopy.flushland many copies' changes in batches, each tested once, in the order asked; a batch that fails is halved down to the landing that fails.copy.listanswersqueued.copy.landis as it was. keeps_things: a Luau script may say at its top level which numbers it keeps instateare things,keeps_things({ "bits.*.e" }); a landing then holds them to the same things when an add moves them, as a C#Thingfield already is.frost checkplays the game's run and warns of a kept number that looks like a thing's and is not declared (W0312, with the line to add) and of a declared path that holds no thing (W0313). The templates declare theirs. The line keeps nothing: no checksum moves. A game with a global of its own namedkeeps_thingsmust rename it.- A test of a change pairs things by name:
frost test --says,change.testand a landing compare the two games with each named thing matched by its name and the others by their order (or by slot when the change saysentities); a change that only moved things to other slots (a thing added to a scene) no longer differs where it did not say, unless a script keeps a moved thing's number instate, which is compared as a number. A part may be a whole thing,added_7.world.checksumtakespaired. No game plays differently and no recorded checksum moves.
Generated from Coldwave 0.0.1 r335, 2026-11-30 by the binary itself: do not edit by hand.