DEVLOG #5 · FIST II REMASTER
Hit without touching
· 2 min read
A jump kick sails over the enemy's head, and he goes down anyway. That was item H on my list. Before changing a line, we measured it.
Measure first
On 11 October I wrote down what bothered me in the playable build. Item H: blows that land without
touching. Instead of guessing, we wrote a small tool, hit_gap.py.
Every time a blow lands, it records the gap in pixels between the tip of the striking limb and the
victim, exactly as the screen shows them. Then we let the level game run for 20,000 frames with the
player kept alive.
What it found
The obvious suspect was a picture running late behind the game logic. It wasn't: in 54 of 56 blows the hit pose was already on screen in the same frame the hit was decided.
The culprit was a single move: the jump kick, thrown from further up the street. Its hit pose is the top of the jump, so the foot passed 3 to 18 pixels over the victim's head. That happened in 9 of 16 jump kicks. Every other move already touched; the worst was 1.8 pixels.
The fix
A jump kick now lands only on a victim at most one step further down the street. Two guards came with
it: no blow lands on a fighter who is already dead, and none on a pose outside the hitbox rows. It all
sits behind one build switch, HIT_CONTACT, which is on in the level
game. The other 12 build variants came out byte-identical, so nothing else moved.
BEFORE
9 / 16
jump kicks passed 3–18 px over the head
AFTER
20 / 20
jump kicks touch. 0 of 52 blows are 4 px or more off (worst: 3 px)
The price
You now have to line up on the enemy's line, or below it, to land a jump kick. The enemies didn't get the memo: from higher up the street they still try it, and now they miss. Teaching the AI to line up first is on the list.