Available to play at https://triangle-apocalypse.vercel.app/, also see known issues.
# run in release
$ cargo run --release
# enable hot asset reloading
$ cargo run --release --feature hotreload
# enable hot reload and debug screens
$ cargo run --release --features="hotreload,debug"
Install prerequisites:
$ rustup target add wasm32-unknown-unknown
$ cargo install wasm-bindgen-cli
$ cargo install basic-http-server
$ RUSTFLAGS=--cfg=web_sys_unstable_apis cargo build --profile wasm-release --target wasm32-unknown-unknown
$ wasm-bindgen --out-name jam4 \
--out-dir wasm/target \
--target web target/wasm32-unknown-unknown/wasm-release/bevy-jam-4.wasm
$ basic-http-server wasm
- wasm build only works on chrome - webgpu is needed for compute shaders created by
bevy_hanabi
- particle effects are buggy when using Chrome on Windows
.DS_Store
files in/assets/preload
causes the app to crash. This happens on mac when browsing the assets folder in finder.
- bevy_hanabi - particle effects (using a fork to rebase
u/wasm
) - bevy_smud - render SDFs
- sdfu - signed distance field utilities for defining bounds and checking collision (using a fork with minor changes)
- pristine_grid - from Chris Biscardi's showcase, used in the background shader
- https://github.com/joelleortiz for the logo
- https://freesound.org/people/colorsCrimsonTears/sounds/607409/ - boost sound effect
- https://freesound.org/people/TheBuilder15/sounds/352351/ - wind down sound effect
- https://convertio.co/wav-ogg/ - used to convert the above 2 files to
.ogg
- www.beepbox.co - for prototyping music before editing in a DAW(see prototype of main theme)
All other art and assets were created by me