Every run was a walk
A dog running straight at you, or straight away from you, was playing its walk. The sheet the eight breeds were drawn from only ever had a standing row and a walking row for the front and back views, so those two directions had no run art and the run was the walk again at run speed. Both are now proper 4-frame runs on all eight breeds, and they were not redrawn: the movement is planned first, from the side run's own rhythm, and then applied to the walk drawing you already approved, so every breed keeps its coat, its ears and its build.
What's new
- All eight breeds now have run_down and run_up - a dog coming at the camera and a dog going away - as their own 4-frame cycles. Before this update both were the walk frames played again, which is why a dog sprinting towards you looked like it was strolling.
- The run was planned before it was drawn, the same way the bullet tracer and the blood spray were rebuilt from computed paths. The gait is measured off the side run, which always had its own row: on the two stride frames the two legs of a pair are driven 2 px and 1 px apart with the leading leg reaching further, and on the two gathered frames they pull in under the body and the whole figure comes 1-2 px up, off the ground - the airborne half of the cycle. The leading leg swaps sides every frame, and that alternation is what makes four frames read as a run instead of one pose jittering.
- The drawing underneath is your approved walk, driven differently, so no breed looks different: the coat, the ear shape, the collar, the build and the lit edge are the same pixels on the same animal. Between 1.0% and 12.0% of each run frame differs from its walk frame, and no run frame is a copy of its walk frame.
- Coming at you, the dog's head drops. The head band - ear tips included, so no breed's ears get shortened - sits 1 px lower on the two stride frames, which is the head lower and forward and the figure foreshortened by the same row. The feet stay on the ground line, so a dog running at the camera is 1 px shorter than the same dog walking.
- Going away, the tail comes up over the rump - and where the breed has a stub, it stays a stub. The Doberman and the Rottweiler keep a 1 px docked nub instead of growing a generic tail; the other six raise a real tail, its length taken from that breed's own side art.
- Nothing else about the dog changed: the tag names the game already asks for are the same (run_down, run_up), the timing is the run timing it always was, and the dog controller needed no change. The duplicate-tag check that used to report run_down == walk_down is silent, and the review page is back to 0 missing art (was 16).
How it was made
- The front and back view of a breed is generated from one sheet that carries an idle row and a walk row, and the stage builder filled the missing run by repeating the walk frames: frames += vf[4:8] + vf[4:8]. So run_down was walk_down and run_up was walk_up on all eight breeds, and the movement was the only difference - a dog turning towards the camera kept the walk drawing.
- Drawing the run again was the wrong move. A second generation pass would have re-rolled the coat, the ears and the build, and the eight breeds had only just been settled with their own silhouettes and rim light. So the movement is computed and the pixels come from the art that was already approved: tools/art/dog_run_dirs.py reads the 32x32 palette-index frames the stage builder produces, finds the leg band, and drives it.
- The gait table is measured, not invented: the side run was always its own row, so the rhythm is read off it - the figure wider and the two legs of a pair further apart on the stride frames, tucked in on the gathered frames with the body 1 px up. That rhythm is then applied to the front and back drawing, so the two new directions and the side run are the same gait.
- Each new direction then gets its own cue from the card. HEAD_LOWER drops the head band 1 px on the front run - ear tips and all, so no breed's ear shape is cut short - and blanks the row it vacates, which is what foreshortens the dog coming at you. TAIL_ROWS raises a tail over the rump on the back run, and it is 1 rather than 2 on the Doberman and the Rottweiler: the Rottweiler carries the dock_tail op and the Doberman's own prompt asks for a short docked stub tail, and the Rottweiler's real stub measures only 4-5 px tall in the side art, so geometry alone could not have told a stub from a small tail.
- Everything downstream does its usual pass on the new frames and needs no special case: the per-breed coat remap, the silhouette ops, the 1 px rim light, and then finish_all.lua for the Soot outline and the dithered contact shadow. That is why the new frames sit in the same 32-colour palette and carry the same lit edge as the art you signed off.
- The check was on the real output, not on the code. Across the eight sheets only frames 40-43 and 52-55 change - the other 48 frames of every breed are byte-identical - every run frame differs from its walk frame (1.0-12.0% of the frame) and no two consecutive run frames are the same. The art manifest test (113 rows, 32 colours), the dog test (166 checks) and a headless run of the game (zero errors) all pass. The in-game pictures here are a Godot script of their own (tests/screenshot_dogrun.gd): it walks Rook towards the camera and then away, waits for each animation frame of the cycle, and crops the game's 480x270 viewport at 3x.
Screens
Tools used
| Python + numpy | tools/art/dog_run_dirs.py: measures the side run's gait and drives the approved walk's leg band, head and tail on the front and back frames. It runs inside the stage build, so a rebuild reproduces the run exactly. |
|---|---|
| Aseprite (headless) | The rebuild stage: finish_all.lua adds the Soot outline and the dithered contact shadow to the new poses in the editable .aseprite sources, then export.sh writes the sheets, the tags and the Godot animation data. |
| Godot 4.7.2 | The evidence: tests/screenshot_dogrun.gd drives the real game and crops its viewport mid-run; the same build runs the art manifest, dog behaviour and headless error checks. |
| Python + Pillow | tools/art/dogrun_devblog.py builds the walk-beside-run sheets per breed from the exported frame tags, and tools/art/dogrun_ingame.py stacks the in-game crops into one picture. |
How to try it
- Launch the game (
godot --path .),adopt a dog and walk away from it: it runs after you with a running cycle now instead of a walk played fast. Then run straight at it and watch it turn and go - the gait is the same in both directions, and the tail comes up as it leaves. - The two new tags are frames 41-44 (run_down) and 53-56 (run_up) in assets/sprites/dog_<breed>.png, counting from 1, on all eight breeds.
Known issues
- The run is the approved walk drawing, driven differently. That was the point - a redraw would have re-rolled every breed's coat and ears - but it also means the stretch of the stride is a 2 px change of a leg, not a redrawn pose. A hand-drawn run would read as faster.
- One gait is shared by all eight breeds: the rhythm is measured off the side run and applied to every breed, so a breed-specific trot, or a husky that moves differently from a cattle dog, is a follow-up rather than a bug. It is the GAIT table and HEAD_LOWER in tools/art/dog_run_dirs.py if one breed should differ.
- Coming at the camera, the head band only drops on the two stride frames; on the two gathered frames the 1 px lift cancels it, so the head sits at the walk's height there. If the head should stay down through the whole cycle, that is one number.
Ironfall dev log · Update 22 of 22 · All updates