Hit-stop ate button presses
- Before
- A cancel pressed during the hit-stop freeze was lost, so combo chains broke.
- The check
- A check that sends real key presses through the game’s normal input path, not a direct function call.
- After
- Presses during hit-stop, and in the 6 frames before a move can start, are buffered.
The rule behind it: scripted calls and teleports can hide this kind of bug. An earlier climbing game had a bug hide for days behind teleport tests.
Web slowdown: under 18 fps in the browser
Owner note Nov 22, shipped Nov 22
- Before
- Every hit effect made and freed its own material, so the browser recompiled a shader on the next hit: about 200 compiles per 20 s, each blocking a frame for 70 to 250 ms.
- The check
- A check that an effect’s shader outlives the effect, plus a tool that counts GL compiles per 20-second window in a real browser.
- After
- After warm-up: 0 compiles and a worst frame of 22 to 41 ms (was 1.4 to 24 fps 1% lows, 2.9 s worst). Shipped the same day as 0.17.1. A follow-up pass the next day took web 1080p 1% lows from 25-39 to 66-67 fps (0.21.1).
Weapons floating through bodies
Owner note Nov 22, shipped Nov 22
- Before
- Weapons were placed by fixed offsets, not from the hand: a handle could sit up to 66 cm off the palm and a sheathed blade could sink 3.4 cm into the body.
- The check
- A visual-placement check measured on the rig: 10 of its 11 assertions failed on the old code.
- After
- Props are re-placed from the hand bones every frame; handle in the palm, sheathed depth 1.2 cm or less. Shipped the same day as 0.18.0.