Changelog, part 5#
- A 3D game has a car:
Vehicle: on an entity with aColliderand a dynamicBodyit makes the body a car on four wheels, with springs, an engine and gears. A script drives it by writingVehicle.forward,right,brakeandhandbrake, and readsspeed,revs,gearandtouching;physics.wheels(car)Physics.Wheels(car)andphysics.read'svehiclessay where its wheels are. AVehiclein a 2D game, on a body that is not dynamic, without aCollideror made of what no car is stops the load, with what to do (E0459toE0462). A 3D game with physics that declares a component of its own namedVehicleno longer loads: give it another name. A 3D game without one, and every 2D game, is as it was, and no checksum moves. frost testsays a game with no recorded run apart: it has not passed: a project with noreplaywasok: nothing to replayand counted inall passed. Its line now startsno recorded run:, and the last line counts it apart (tested 2 games: 1 passes, 1 has no recorded run);all passedis said only when every game has a run and held to it. The exit status is as it was, 0 unless one failed.--jsonaddsstateto each run ("passed","failed","no_replay") and the countspassedandno_replaybesidefailed; a run'spassedis still false only for a failure, so readstate. A script that looked forall passedor: ok:sees such a game no longer match. No game changes.- A hand has a token of its own, and the engine holds it to the editor's mode: the editor's
session.token {tag, mode?}answers{tag, hand, mode, file}and writes a join file for that hand alone beside the session's (PATH.handN), whichfrost mcp --join-filetakes. Whoever joins by it is that hand under any name, andsession.mode {hand, mode: "plan"}refuses its writes (E0447) on every connection that came by its token, open or made later, until another mode lets it. A hand's token of another session isE0458. Nothing changes for a client of the session's own token or the read-only one, except that a name a connection says never joins a hand that has a token. No game changes. audio.requestssays the music playing now, and a restore puts the requests back:music: {name, since, paused}or null, however long ago the music started. A game put back withgame.restorehas the requests (andmade) it had at the snapshot, without those of the future it came back from, and the music then playing starts again, at the volumes (sound.volumeSound.Volume,sound.effectsSound.Effects,music.volumeMusic.Volume) set by then. No game changes.- A 3D game's
frame.captureandframe.viewanswerview_projection: the 16 numbers (column-major, world to clip) the picture's meshes were drawn with, so an editor puts a point of the world on the picture: after the divide, x and y from -1 to 1 span the whole picture, y up, depth reversed.frost run --shotand a held web player print it too. A 2D game answers no such key. No checksum or picture changes. project.remove {file}removes any file of the game: it leaves the project file's lists and is deleted, refused while anything else names it.{kind, name}still takes back aproject.add. No game changes.- A step drawn again tells one picture:
profile.stepsandprofile.framewithstepStepgive a step'sdraw_calls,quads,instance_bytesand the renderer's other counters, and the time of its picture's spans (render.build,gpu.submitand the rest), as the last picture drawn of it took them, where they added every picture (a paused game captured three times said 10, 20, then 30 draw calls, and three pictures' time; now 10 and one picture's time each time).totalsadds one picture a step. The slowest steps and each script's share were never touched by it (the step's own time, the scripts' time). No game changes. - A load that cooked again says why:
game.infohascooked,{fresh, cached, ms, why}, withwhyone ofimporters,files,first,off;frostprints one line on stderr when a load, or the first frame, cooked something now and took over half a second. The cook's cache keeps animportersfile beside its blobs; a tool that lists the cache folder finds it. project.refs {file}lists every place that names a file of the game: what an editor asks before it renames or removes one; a script's call whose file is made as it runs is listed as one that cannot be followed. No game changes.- A game writes its own full-frame effects in WGSL:
[render] effects = { lines = { file = "lines.wgsl" } }, run by a pass asbrightorpaniniare, with the pass'sthresholdandstrength(set each frame throughPass; an effect has no clock), at most 8, reading 1 or 2 targets. One that does not compile is refused at its own file and line when the game loads (E0456), with no device, so a check and an export for the browser refuse it too. The engine's five effects are now plain WGSL files written the same way, so a game can start from any of them, and each draws the same pixels as before. No checksum or picture changes; the engine's scan example is new. - The engine's sentences say "repository", not "git":
frost test's line andreasonname "the game as committed (the repository's last commit …)" and "the folder is not a repository"; flags and docs that name the tool keep it. No game changes. - A thing under a parent takes its Opacity, and a new
Tintpart, from the things above it: a whole rig fades or flashes with one write on its root. What it does to a game: one withOpacityon a thing that others are under now draws those others faded too (a parent at 0.5 over a child at 0.5 is drawn at 0.25); no checksum changes. The interface'sInheritis as it was.Tint = { color }is new. Known visible change: Scrap Riot's nine recordings keep their checksums, and of 3,750 frames compared 15 differ, in two cases (an entering robot's glow and hit-flash now fade in with it; Bolt's white flash now blinks with him), both what the original's own code does. - A saved test says which game it tests: a top-level
test_of = "game.toml", whichfrost test --writewrites,frost test --jsonandfrost projectsreport andfrost checkholds to a project file beside it (E0445). Left out: game.toml. No game changes. - A run that draws nothing decodes no model picture: a model's pictures are read and decoded when something is first drawn, not at load, so
frost test,frost benchand a headless game load faster and smaller. A picture's header is still checked at load (a missing file, another format or impossible sizes are errors there and infrost check, as before); a picture whose body is damaged is now an error at the first frame, naming it. - A person's edits are told one by one: in blame, each write a client makes is a run of its own (an edit and its undo are two), and a write made right after
blame.onmid-game has the step the game stands at, not 0. No game changes. - An Accept can be undone:
frost test --writekeeps the copy it replaces (.frost/accepted/NAME.before, one level), andfrost test --unaccept RUN.tomlputs it back once the run's project file is as it was. No game changes. frost checkwarns of aPassthat gives its numbers to a pass that reads neither (W0457): one oncopy,blur, or a pass that draws changes nothing.- A model's pictures go to the device with every level, and their pixels are let go: a picture a model is drawn with is uploaded with its smaller levels (so it does not shimmer drawn small), one at a time, and its decoded pixels are dropped once it is on the device; on a new device the model is read again from its file. A new picture no longer puts every other one on the device again. No checksum or picture changes.
frost run --sizesays when it replays a recording in another frame: a recording holds the pointer as a share of the frame and is made in the project's frame, so a game whose scripts readframe.size()Frame.Size()(to fit its camera) plays it as another game at another size. W0456 says so, with both sizes; leave--sizeout to replay it as it was made. A window of another size changes nothing: it shows the project's frame with bars.frost projects [DIR] [--json]lists a folder's project files: each with its space and how many scenes it lists, in the orderfrost testwalks them. No game changes.- E0447 writes a text it names in quotes:
world.set with entity "platform", path "a, b.luau" is refused, each value as JSON writes it, so the sentence can be taken apart whatever a name holds. No game changes. - An exported game takes its own picture:
frost_player --picture-at N --out FILE.pngplays the game's recording N steps, draws that step off-screen (no window ever opens), writes it as a PNG and prints how long the program took to its first frame ("started in 0.21 s"). It is pixel-equal to whatfrost run --shotdraws at that step on the same machine (the same pixels, not the same file). A player is 49,840 bytes larger for it. - A wide 3D view can be bent by the Panini projection, and a pass's numbers set each frame: the effect
paninibends what a pass reads by the Panini projection of distancestrength(0 none, 1 cylindrical), the middle kept and the edges of a wide view pulled in, filling the frame.Pass = { of, threshold, strength }on one thing gives a pass its numbers this frame, so a script can turn a bloom up or the bend with speed;E0449(new): it names a pass the graph has not, or two give one. What it does to a game:Passis declared in every game; no checksum or picture changes. game.info,game.checkandfrost check --jsonanswercsharp: one field more for every client, null for a game with no C# script (and for every game of an engine built without C#, which is every released one). For a game with one it is{solution, dotnet, compiler}: the file a C# language server is started on, which the engine now writes itself whenever the game is loaded or checked, and the .NET and the compiler the engine uses. No game changes.- Who let a thing go is kept:
blame.gone {name}says which step the last thing of a name was despawned in and by what (a script's line, a client), or the scene change it went with and the line that loaded the next scene. No game changes. frost test --json,frost check --jsonandfrost check --costs --jsonsay how long they took: each answer carriestook_ms, the engine's own time for the run in whole milliseconds. It is the one field that differs from run to run: a program that compares two answers leaves it out.- 3D models are lit as their materials say: in linear light, each part by its metal and roughness (a shine from the sun and the lamps), its normal picture, its occlusion, its glow, and a masked material's cutoff. A material's
fragmentfunction is handed and returns its colour in linear light. What it does to a game: every lit 3D picture changes (brighter falloff, shine on smooth and metal surfaces); no checksum changes. A glTF material that does not say its metal is metal, as glTF says. - A model's pictures download small on the web: for the web and phone profiles (and
frost export web) a picture inside a model is cooked packed, its level 0 as a PNG file (VTEX format 2), and its levels are made again when it is read, by the same function, byte for byte. The Spin Top hull cooks to 15.4 MB for the web where it was 69.8 MB; loading it takes about 0.2 s more natively for the picture it draws. The desktop profile is as before. Nothing a game draws changed. - A failed step says so:
game.infogivesfailed_step(the step a script's error stopped part way, null when the last step finished) andwhole. No game changes. frame.capture {times: true}says what the picture took:took: {draw, read, encode, text}in milliseconds, the engine's share of a picture's way to a client. Without it the answer is as before. No game changes.frostbuilds headless:cargo build -p frost_cli --no-default-featuresleaves out the machine's sound device and gamepads, and with them the only system librariesfrostneeded on Linux (ALSA's and udev's headers). It still tests, runs, exports and serves, andfrost run --wavandfrost test's loudness check still hear the game: they use the software mixer, which frost_remote's newtapefeature gives without a device. A default build is as it was.- Every not-a-number is one value to the world: the checksum, the test of whether a column is all one value, and every compare of kept data and of field values read any not-a-number as the quiet one with no sign (
frost_core::bits). Machines disagree on which one0/0makes (positive on Arm, negative on x86, either in WebAssembly),-(0/0)flips it anywhere, and a save writes every one asnan: a world that held one could come to another checksum on another machine, or after a save and a load. A recorded game whose world held a not-a-number with a sign comes to a new checksum:frost test --write. - A planning hand's refusal says what was tried:
E0447names the command's own parameters (game.seek with step 240 is refused: ...), and itsdatacarries them as{command, tried}. No game changes. - A model's pictures are held once: a cooked model read from its blob keeps each picture inside it in place, not copied out, and decodes one only when it is drawn (
Model::picture). Loading the Spin Top hull (three 4096² pictures) from a warm cache holds 483 MB where it held 751 MB. Nothing a game draws changed. - A picture the web draws smaller is said:
frost checkandfrost export webwarn (W0455) of each picture inside a model longer than 2048 on a side, with its size and the size the web cooks it to. The game's checksums are the same in a browser; its frames are not, andfrost testcompares shots natively only. Nothing a game draws changed. profile.frametells the last frame that drew a picture, and a step as it was played: a request that only reads (game.info) no longer becomes the frame told; the answer names thestepStepdrawn.profile.frame {step}gives that step's spans and counters asprofile.stepsdoes,recorded: truewhen they are as it was played; the 16 slowest steps of a run keep theirs past the minute, soprofile.steps'worsthas them too. No game changes.- What
--writewrote is named, with the hash of its bytes: eachfrost test --jsonrun giveswrote: [{path, sha256}], andfrost check --json --shots [--write-shots]givesshotsandwrote;--jsonnow goes with--shots. No game changes. - A model's pictures have their levels, and 2048 a side on the web:
frost cookmakes each picture inside a.glba texture with every level (VTEX 2), and for--profile web(andfrost export --web) halves one longer than 2048 on a side first. A 2D picture is cooked as before, one level, the same pixels for every profile. A model's triangle that has one vertex twice once its corners are welded has no area and is left out, and counted:frost cooksays how many for each part (VMSH 2 keeps the count). A model with a part that loses every triangle so is refused (E0527). Cached pictures and models cook again once. Nothing a game draws changed. frame.capture {fast: true}writes the picture quickly rather than small: the same pixels in a PNG a tenth to a fifth larger (twice as large at first: it now uses the Paeth filter), for a client that shows frames live, with or withoutviewortarget. Without it, every capture is the same bytes as before; saved pictures andfrost check --shotsnever use it. No game changes.- The editor can see more of the world than the camera:
frame.capture {view: {left, bottom, right, top}}draws that rectangle of a 2D world, the interface on the camera's rectangle at its scale;frame.at,frame.inandblame.pixeltake the sameview. A 3D game's view isE0449for now. Withoutview, nothing changes. No game changes. frost test --jsongainsdotnetin each run:{accepted, here}, the major version of .NET a game with C# was accepted on and the one it runs on here when they are two; null otherwise, and always for a game with no C#. No game changes.- Scripts run faster: the step budget's counter is the engine's own: Luau counts every loop turn and call for the step budget through a callback of the engine's instead of the binding's general one. Measured on an Apple M-series Mac, built like release, ns a turn: a trivial loop turn 12.3 to 10.0, an empty loop 6.5 to 4.3, a call to a small function 28.1 to 21.3, arithmetic 11.6 to 9.5 (327 to 274 machine instructions a loop turn). The count, where a script is stopped and that
pcallcannot hide it are as they were: no checksum and noscript_workmoves. And a correction: a loop turn never cost 83 ns; that figure divided each step's walk ofstateby the loop's turns (seestatein the reference: keep a big table that never changes in alocal). - Another run of the game is read beside the one played:
world.seriesandevents.sincetakerun(a project file of the game with areplay, asfrost testlists them), with or withoutagainst: "accepted", and echo it. No game changes. - A failing test that names no step says where, why, and whether to accept:
frost test --jsongives each runstretch(the checkpoints its run first differs between),reason(one plain sentence) andaccept_sound. No game changes. - A model's surfaces show its pictures: each part of a 3D model is drawn with its material's base colour picture, inside the model or beside it, as the file paints it (sampled smoothly and repeated past its edges). Nothing that names no picture changes: its parts draw white under their colours, as before.
script.statesays which kept numbers are a thing: its answer gainskinds, a script's name with{key: "thing"}for each key of its state whose number is a thing of the game (a C# script'sThingfield; -1 is no thing).statesis as it was, and a game of Luau scripts answerskinds: {}: a client that held the whole answer to its exact bytes meets one more field. No game changes.frost devsays which process it is: into a pipe it prints a second line,process PID, after the line that says where it listens, anddebug.stateanswers the same number asprocess: what a debugger of the machine attaches to. The first line is unchanged, token last; a program that reads every linefrost devprints meets one more. No game changes.
Generated from Coldwave 0.0.1 r335, 2026-11-30 by the binary itself: do not edit by hand.