1 unstable release
new 0.1.0 | May 16, 2025 |
---|
#101 in Game dev
2MB
8K
SLoC
kill-them-all
Kill Them All is a POE lite game.
How to play
Use mouse to move player. Take items dropped by monsters you killed. Use [I] to open the inventory. Try to use the best items for the player.
In debug build:
- you can press [D] to toggle the "debug mode" to show/hide egui inspector.
- you can press [L] to log some information on console.
Development
ECS hieracrhy
- WorldMap
- ParentOf WorldMapChunk *
- ParentOf Tile *
- Character
- All affixes
- ParentOf Upgrade *
- ParentOf Equipment *
- Affix *
- ParentOf Skill *
Player affixes
TODO
How to build
You need Rust to build this game.
To run a "release" version of the game :
cargo run --release
To run the game with debug features (egui world, visible colliders, and some terminal information using [D])
cargo run --features=dev
To run with tracy features, (see https://github.com/bevyengine/bevy/blob/main/docs/profiling.md), in a terminal run :
c:\apps\tracy\tracy-capture.exe -o my_capture.tracy
In an other terminal run
cargo run --release --features bevy/trace_tracy
WEB
see Bevy + WebGPU
Tools
rustup target install wasm32-unknown-unknown
cargo install wasm-bindgen-cli
cargo install wasm-opt --locked
cargo install wasm-server-runner
cargo install simple-http-server
Run dev
cargo run --release --target wasm32-unknown-unknown
Produce a web site
cargo build --profile wasm-release --target wasm32-unknown-unknown
wasm-bindgen --no-typescript --target web --out-dir ./website/ --out-name "kill-them-all" ./target/wasm32-unknown-unknown/release/kill-them-all.wasm
wasm-opt -Oz --output optimized.wasm ./website/kill-them-all_bg.wasm
Move the optimized.wasm
file to ./website/kill-them-all_bg.wasm
, overiding the existing file.
Copy the assets
folder in the website
folder.
run localy
simple-http-server ./website
and open a browser with the url : http://localhost:8000/index.html
Produce a web site
Assets
- TODO
Dependencies
~73–110MB
~2M SLoC