Add live hitbox viewer

This commit is contained in:
2026-10-03 13:16:23 +02:00
parent 02d444f749
commit 6c0d266daf
8 changed files with 750 additions and 14 deletions
+13
View File
@@ -23,6 +23,19 @@ cargo run -- --debug-match --players 2 --local-port 7001 \
--net-player 0=127.0.0.1:7000 --net-player 1=local
```
## Hitbox viewer
Run the live attack-script previewer with a fighter manifest and attack:
```sh
cargo run --bin hitbox-editor -- \
--manifest fighters/test/test.fighter.ron --attack jab
```
The timeline is read-only and refreshes through Bevy's asset hot reloading.
Press Space to pause or resume, use the arrow keys to step, or click and drag
the timeline to scrub.
## Production Build
```sh