Go to file
m3ultra 54a54f2467 Torn-clothing wardrobe mechanic (Phase A)
- engine: wardrobe states per character (manifest wardrobe.states),
  frames@<state> variant frame-sets per move with base fallback,
  tears:true moves advance state, hp threshold forces final state
- pipeline: --torn punches jagged alpha holes into clothing textures
  (alpha-clip materials) and renders @torn variants; pack maps them
- both fighters: full torn frame-sets for all 12 moves
- special gets designed forward lunge (clip travel was backward)
- verified: demo QCF+P connects, knockdown shows torn frames

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-28 21:09:06 +10:00
characters Torn-clothing wardrobe mechanic (Phase A) 2026-07-28 21:09:06 +10:00
engine Torn-clothing wardrobe mechanic (Phase A) 2026-07-28 21:09:06 +10:00
pipeline Torn-clothing wardrobe mechanic (Phase A) 2026-07-28 21:09:06 +10:00
tools Torn-clothing wardrobe mechanic (Phase A) 2026-07-28 21:09:06 +10:00
.gitignore Scaffold: deterministic 60Hz combat core, drop-in character format, MODELBEAST pipeline 2026-07-28 18:45:44 +10:00
Digitized Fighting Game Tech Report.pdf Scaffold: deterministic 60Hz combat core, drop-in character format, MODELBEAST pipeline 2026-07-28 18:45:44 +10:00
project.godot Scaffold: deterministic 60Hz combat core, drop-in character format, MODELBEAST pipeline 2026-07-28 18:45:44 +10:00
README.md Scaffold: deterministic 60Hz combat core, drop-in character format, MODELBEAST pipeline 2026-07-28 18:45:44 +10:00
STUDY.md Scaffold: deterministic 60Hz combat core, drop-in character format, MODELBEAST pipeline 2026-07-28 18:45:44 +10:00

FOITIN

Original digitized-style fighting game — the Bikini Karate Babes / Mortal Kombat formula (frame-captured fighters, data-driven everything) rebuilt with a modern engine and a generative 3D asset pipeline. All assets are our own.

Run

Godot 4.7+. Open the project, hit play — or:

/Applications/Godot.app/Contents/MacOS/Godot --path .

P1: WASD + J/K (punch/kick, →+J straight, QCF+J special) P2: arrows + O/P · F1 hitbox viewer · R reset after KO

Layout

engine/core/       fixed-tick combat core (FSM, input buffer, boxes, hit resolution)
engine/debug/      training-mode hitbox overlay
characters/        one folder per fighter — the engine scans this at boot
tools/             gen_placeholder_char.py (stick-figure stand-in fighters)
pipeline/          render→hitbox→pack scripts for MODELBEAST-made characters

Design rules

  1. 60Hz deterministic tick. All gameplay advances in tick(input_mask) from input only — keeps rollback netcode on the table. Rendering just reads state.
  2. Characters are data. No fighter-specific code, ever. If a character needs a new mechanic, the mechanic becomes a generic engine feature driven by JSON.
  3. Art frame-rate ≠ game timing. Moves are timed in ticks; sprite sequences stretch over them (BKB's .bik+.zon+.geo split, modernized).

Adding a character

# placeholder (instant):
python3 tools/gen_placeholder_char.py gamma '#8855ee'

# production (MODELBEAST): render moves to renders/<id>/<move>/*.png, then
python3 pipeline/pack_character.py renders/<id> --name NAME --color '#hex'
python3 pipeline/autohitbox.py characters/<id>
# tune timings/damage in each move's data.json, bind moves in manifest.json

Restart the game — the roster is whatever's in characters/.