Forked from https://github.com/mrk-its/bevy_webgl2_app_template for learning purposes
Link to demo github page: https://byunei.github.io/bevy_webgl2_app_template
Notes to self:
- Since the path to
wasm.js
in ./index.html has been changed for the github page, you have to rungithub_page.sh
beforecargo make serve
. - Mouse movement does not work in wasm. Bevy has an open issue for this (link to the issue includes a workaround).
cargo install cargo-make
cargo make serve
then point your browser to http://127.0.0.1:4000/
cargo make run