Studying my favorite gameplay mechanics from Katana ZERO
https://jadtl.itch.io/katana-zero-study
- Rust 98.7%
- HTML 1.3%
- Press S to disappear and quickly reappear at a later place depending on facing direction |
||
|---|---|---|
| .opencode | ||
| assets | ||
| openspec | ||
| src | ||
| .gitattributes | ||
| .gitignore | ||
| AGENTS.md | ||
| Cargo.lock | ||
| Cargo.toml | ||
| Containerfile.dev | ||
| index.html | ||
| README.md | ||
| Trunk.toml | ||
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.