Implement hitbox viewer (#81)
Reviewed-on: #81 Co-authored-by: Álex Román Núñez <eirexe@eirteam.moe>
This commit was merged in pull request #81.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user