Studying my favorite gameplay mechanics from Katana ZERO https://jadtl.itch.io/katana-zero-study
  • Rust 98.7%
  • HTML 1.3%
Find a file
Jad Tala 4905fb5827
feat: player dodge action
- Press S to disappear and quickly reappear at a later place depending
  on facing direction
2026-08-29 23:47:20 +02:00
.opencode feat: base project and deflect mechanic 2026-08-29 22:19:56 +02:00
assets fix: adjust sword attack vertically 2026-08-29 23:38:09 +02:00
openspec feat: player dodge action 2026-08-29 23:47:20 +02:00
src feat: player dodge action 2026-08-29 23:47:20 +02:00
.gitattributes feat: base project and deflect mechanic 2026-08-29 22:19:56 +02:00
.gitignore feat: base project and deflect mechanic 2026-08-29 22:19:56 +02:00
AGENTS.md fix: player hurtbox and sword hitbox 2026-08-29 23:30:33 +02:00
Cargo.lock feat: base project and deflect mechanic 2026-08-29 22:19:56 +02:00
Cargo.toml feat: base project and deflect mechanic 2026-08-29 22:19:56 +02:00
Containerfile.dev feat: base project and deflect mechanic 2026-08-29 22:19:56 +02:00
index.html feat: base project and deflect mechanic 2026-08-29 22:19:56 +02:00
README.md feat: base project and deflect mechanic 2026-08-29 22:19:56 +02:00
Trunk.toml feat: base project and deflect mechanic 2026-08-29 22:19:56 +02:00

Development

First build the development environment image:

podman build -f Containerfile.dev -t bevy-dev:latest .

Then create a new Distrobox environment using that image:

distrobox create \
  --name bevy-dev \
  --image localhost/bevy-dev:latest

Finally, enter the Distrobox environment:

distrobox enter bevy-dev

Web build

Install the WebAssembly target and Trunk inside the Distrobox once:

rustup target add wasm32-unknown-unknown
cargo install trunk

Run the browser build locally with:

trunk serve --open

Create the distributable static site with:

trunk build --release

Upload the contents of dist/ as an HTML5 game on itch.io. The game must be served over HTTP(S); opening index.html directly from disk will not work.