1. Home
  2. Ironfall
  3. Dev log
  4. Update 21
UPDATE 21Swings that read as swings

The swing you could not see

A weapon swing that crosses the screen in a sixth of a second cannot be drawn at every angle, and the swing in the game was drawn frame by frame at a flat, even pace - eight near-identical angles of the melee arc, four evenly timed attack frames, and an idle whose one pixel of breathing switched the outline on and off. This update applies the three animation principles that were missing: smear the thing that moves too fast to draw, ease in and out, and let a one-pixel idle fade instead of switch.

The melee slash, all eight frames: the old one on the left, the new one on the right. The old arc re-draws itself at eight similar angles and drifts 0.8 px doing it; the new one sweeps one path and its middle frames are a smear carrying the distance the blade covered too fast to draw.

What's new

  • The melee slash is one swipe now. It used to wobble: measured, its mass travelled 0.8 px in total and reversed direction three times, so the arc looked like eight separate drawings of a curve rather than a weapon going past you. It now sweeps one path from the upper left to the lower right and travels 28.7 px doing it.
  • The fast part of that sweep is smeared. Halfway through the swing the blade covers 8 px in a single frame - too far to draw as two poses - so that frame carries the swept arc as a blurred band that shows both how fast and which way it is going, and dissolves into dashes as it fades.
  • Your attacks now wind up and settle. Every attack frame was 70 ms, which is the same speed from the first frame to the last: limp. The pose that has the furthest to travel is now played in the shortest time and the ends are held, so the swing accelerates into the hit and settles afterwards. The frame that lands the hit also carries the smear, so the weapon does not teleport across the gap.
  • Idle breathing no longer blinks. The idle moves the character by one pixel, which at this size means the outline pixel switches on and off - 1321 of those switches across the six character sheets. Those pixels now stay, one step lighter or darker along the same colour ramp, so the edge dims and returns instead of flickering.
  • All six characters are changed together (player, three raiders, scout mech, heavy mech): the same timing language on the same tags, so nothing reads as a different game.
  • Deliberately not eased: the raider gunner's rifle and the mechs' cannons. A recoil or a cannon shot is an impulse, and constant speed (or a snap) is correct for those - the tutorial that this work comes from says so, and it is why the blood spray's gravity and the tracer's steady speed were already right.

How it was made

  1. Nothing was placed by hand. Every pixel of the new slash comes from two tables - a circular arc for the blade tip to travel, and an eased list of how far along it the tip has got each frame - with the trail swept back from the tip and coloured by how far behind it sits (Rime at the edge, through PaleSteel and CoolSteel to NightSteel in the tail). The character work is the same shape: each attack tag's frames are measured, the distance the moving mass travels between poses decides which step gets the shortest dwell, and the smear is stamped only where the drawing genuinely vacated a pixel with a gap to the new pose - which is why the boots and the head do not smear. All of it is Aseprite scripts against the editable sources, so the sources stay editable and the art stays in the 32-colour palette: the new slash uses five of them.

Screens

The player's side attack, four frames: old on the left, new on the right. Same four poses - the change is which one is held and which is rushed, plus the smear on the frame that lands the hit.
The player's idle, four frames: old on the left, new on the right. Watch the outline on the silhouette's edge: it used to switch off and on between frames, and now it steps down in value and comes back.

Tools used

Aseprite (headless)Every change, as a script against the editable .aseprite source: the arc rebuild, the eased attack timing, the sub-pixel idle pass.
Python + the craft audittools/art/anim_principles_report.py measures each tag before and after - motion profile, jaggy rate, colour count - with tools/art/audit_pixel_craft.py doing the judging.
Godot 4.7.2The re-export into SpriteFrames, so the new timing and the smear reach the game, and the manifest gate that keeps every pixel in the 32-colour palette.

How to try it

  • Launch the game (godot --path .) and attack with the wrench: the swing reads as a swipe with a wind-up instead of four even stills. Stand still and watch the character breathe - the edge no longer flickers. The melee slash effect is not wired to a weapon yet; it is in the review gallery at http://localhost:8791 for a verdict.

Known issues

  • The easing on the attacks is expressed in timing, because the poses themselves are approved art and were not redrawn: the frames move the same distance, they are just held and rushed differently. Re-spacing the poses themselves would mean redrawing the six character sheets.
  • The idle fix adds a pixel that was not in the approved pose (the outline held one step along its ramp), so an idle pose is now up to 1 px wider at the edge than the art you signed off. It is in-palette and it is what removes the flicker; say the word and it goes back.
  • Only the six character sheets were sub-pixelled. The dog and critter idles have the same blinking outline and are a follow-up.

Ironfall dev log · Update 21 of 22 · All updates

01 / 01

FIT