A game of sheep and war machines made for Bevy Jam #2. It prioritizes learning of the framework over actual playability of the game. A web version is available here and on itch.io.
It works best on Chrome. You have to enable sound for the site.
Drag a sheep on top of the other sheep to combine them into a stronger sheep. Every sheep starts as a level 1 basic sheep that can be combined into sheep with different traits:
- spear: long attack range
- tank: more health points, stronger attack
- medic: heals other sheep in the area of effect
The traits are currently not working, but the sheep stats should increase. Every sheep has a basic attack.
When you are ready press SPACE to fight the evil war machines. If all your sheep are killed, it will be game over. Otherwise you have to kill the war machines before the timer reaches 0. You get new sheep, if you kill the war machine.
cargo install wasm-server-runner
Add to ~/.cargo/config.toml
:
[target.wasm32-unknown-unknown]
runner = "wasm-server-runner"
Run:
cargo run --target wasm32-unknown-unknown
Go to http://127.0.0.1:1334/
.
rustup target add wasm32-unknown-unknown
cargo build --release --target wasm32-unknown-unknown
wasm-bindgen --out-dir out --target web target/wasm32-unknown-unknown/release/war-sheep.wasm
cp -r assets out
cp index.html out
zip -r war-sheep.zip out/
- Used Ascii.png from Dwarf Fortress Wiki, licensed under GFDL & MIT
- robot sprite for walking was modified based on the original work of 16x16+ Robot Tileset by Robert
Licensed under either of
- Apache License, Version 2.0, (http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (http://opensource.org/licenses/MIT)
at your option.