Rougelike game with an ECS design pattern
- Rust 99.1%
- GLSL 0.6%
- Shell 0.2%
- Introduced `SystemSchedule` to modularize and manage system execution. - Consolidated individual system calls into `SystemSchedule::run`. - Upgraded `specs` to `0.20.0` and updated related dependencies for improved performance. - Removed manual sequential system execution from `State`, reducing duplication. - Cleaned up unused imports in `main.rs` and related modules. |
||
|---|---|---|
| raws | ||
| resources | ||
| src | ||
| wasm | ||
| .gitignore | ||
| build.sh | ||
| Cargo.lock | ||
| Cargo.toml | ||
| README.md | ||
| rust-toolchain.toml | ||
Rusty Roguelike
Build and run the native game with Cargo:
cargo run --release
Web build
The repository toolchain already includes the wasm32-unknown-unknown target.
Build the browser package with:
./build.sh
The script reads the matching wasm-bindgen version from Cargo.lock, installs
that CLI under target/wasm-tools, and emits an ES-module package in wasm/pkg.
Serve the output over HTTP rather than opening the HTML file directly:
python3 -m http.server --directory wasm
Then open http://localhost:8000. Browser saves are stored in localStorage;
native saves remain in savegame.json.