Coldwave

Changelog, part 5#

Part 5 of 8: newer · older.

  • A 3D game has a car: Vehicle: on an entity with a Collider and a dynamic Body it makes the body a car on four wheels, with springs, an engine and gears. A script drives it by writing Vehicle.forward, right, brake and handbrake, and reads speed, revs, gear and touching; physics.wheels(car)Physics.Wheels(car) and physics.read's vehicles say where its wheels are. A Vehicle in a 2D game, on a body that is not dynamic, without a Collider or made of what no car is stops the load, with what to do (E0459 to E0462). A 3D game with physics that declares a component of its own named Vehicle no longer loads: give it another name. A 3D game without one, and every 2D game, is as it was, and no checksum moves.
  • frost test says a game with no recorded run apart: it has not passed: a project with no replay was ok: nothing to replay and counted in all passed. Its line now starts no recorded run:, and the last line counts it apart (tested 2 games: 1 passes, 1 has no recorded run); all passed is said only when every game has a run and held to it. The exit status is as it was, 0 unless one failed. --json adds state to each run ("passed", "failed", "no_replay") and the counts passed and no_replay beside failed; a run's passed is still false only for a failure, so read state. A script that looked for all passed or : 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), which frost mcp --join-file takes. Whoever joins by it is that hand under any name, and session.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 is E0458. 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.requests says 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 with game.restore has the requests (and made) 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.capture and frame.view answer view_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 --shot and 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 a project.add. No game changes.
  • A step drawn again tells one picture: profile.steps and profile.frame with stepStep give a step's draw_calls, quads, instance_bytes and the renderer's other counters, and the time of its picture's spans (render.build, gpu.submit and 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). totals adds 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.info has cooked, {fresh, cached, ms, why}, with why one of importers, files, first, off; frost prints 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 an importers file 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 as bright or panini are, with the pass's threshold and strength (set each frame through Pass; 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 and reason name "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 Tint part, from the things above it: a whole rig fades or flashes with one write on its root. What it does to a game: one with Opacity on 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's Inherit is 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", which frost test --write writes, frost test --json and frost projects report and frost check holds 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 bench and 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 in frost 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.on mid-game has the step the game stands at, not 0. No game changes.
  • An Accept can be undone: frost test --write keeps the copy it replaces (.frost/accepted/NAME.before, one level), and frost test --unaccept RUN.toml puts it back once the run's project file is as it was. No game changes.
  • frost check warns of a Pass that gives its numbers to a pass that reads neither (W0457): one on copy, 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 --size says 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 read frame.size()Frame.Size() (to fit its camera) plays it as another game at another size. W0456 says so, with both sizes; leave --size out 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 order frost test walks 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.png plays 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 what frost run --shot draws 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 panini bends what a pass reads by the Panini projection of distance strength (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: Pass is declared in every game; no checksum or picture changes.
  • game.info, game.check and frost check --json answer csharp: 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 --json and frost check --costs --json say how long they took: each answer carries took_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 fragment function 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.info gives failed_step (the step a script's error stopped part way, null when the last step finished) and whole. 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.
  • frost builds headless: cargo build -p frost_cli --no-default-features leaves out the machine's sound device and gamepads, and with them the only system libraries frost needed on Linux (ALSA's and udev's headers). It still tests, runs, exports and serves, and frost run --wav and frost test's loudness check still hear the game: they use the software mixer, which frost_remote's new tape feature 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 one 0/0 makes (positive on Arm, negative on x86, either in WebAssembly), -(0/0) flips it anywhere, and a save writes every one as nan: 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: E0447 names the command's own parameters (game.seek with step 240 is refused: ...), and its data carries 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 check and frost export web warn (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, and frost test compares shots natively only. Nothing a game draws changed.
  • profile.frame tells 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 the stepStep drawn. profile.frame {step} gives that step's spans and counters as profile.steps does, recorded: true when they are as it was played; the 16 slowest steps of a run keep theirs past the minute, so profile.steps' worst has them too. No game changes.
  • What --write wrote is named, with the hash of its bytes: each frost test --json run gives wrote: [{path, sha256}], and frost check --json --shots [--write-shots] gives shots and wrote; --json now goes with --shots. No game changes.
  • A model's pictures have their levels, and 2048 a side on the web: frost cook makes each picture inside a .glb a texture with every level (VTEX 2), and for --profile web (and frost 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 cook says 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 without view or target. Without it, every capture is the same bytes as before; saved pictures and frost check --shots never 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.in and blame.pixel take the same view. A 3D game's view is E0449 for now. Without view, nothing changes. No game changes.
  • frost test --json gains dotnet in 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 pcall cannot hide it are as they were: no checksum and no script_work moves. And a correction: a loop turn never cost 83 ns; that figure divided each step's walk of state by the loop's turns (see state in the reference: keep a big table that never changes in a local).
  • Another run of the game is read beside the one played: world.series and events.since take run (a project file of the game with a replay, as frost test lists them), with or without against: "accepted", and echo it. No game changes.
  • A failing test that names no step says where, why, and whether to accept: frost test --json gives each run stretch (the checkpoints its run first differs between), reason (one plain sentence) and accept_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.state says which kept numbers are a thing: its answer gains kinds, a script's name with {key: "thing"} for each key of its state whose number is a thing of the game (a C# script's Thing field; -1 is no thing). states is as it was, and a game of Luau scripts answers kinds: {}: a client that held the whole answer to its exact bytes meets one more field. No game changes.
  • frost dev says which process it is: into a pipe it prints a second line, process PID, after the line that says where it listens, and debug.state answers the same number as process: what a debugger of the machine attaches to. The first line is unchanged, token last; a program that reads every line frost dev prints 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.