bevy_ecs for miniquad/macroquad without wasm-bindgen
Why ?
IDK, less bloat & faster compiles ?
How it works ?
By patching bevy crates to remove functionality or chage implementation. as of 0.14.0 , the changes include:
- removing all multi-threaded related functionality of
bevy_ecs - removing schedule_runner and panic_handler plugins of
bevy_app - removing
bevy_timeusage inbevy_app - modifying
bevy_utilsto useminiquad::date::now()instead ofweb-time
How can I use it ?
By adding the following lines to .cargo/config.toml
[]
= { = "https://github.com/yui-915/quad_bevy", = "bevy_ecs@0.14.0" }
= { = "https://github.com/yui-915/quad_bevy", = "bevy_app@0.14.0" }
= { = "https://github.com/yui-915/quad_bevy", = "bevy_utils@0.14.0" }
Example
You can build it for web just like any other macroquad project and it'll work without any extra setup
use *;
use *;
use *;
;
// Example bevy runner plugin for macroquad
;
Should I use it ?
Probably not, this project is highly experimental, and might break your code due to incompatible changes or different miniquad version
Why is this a crate ?
Just so it shows up on crates.io, otherwise it does nothing. you can used the patched bevy crates without download this crate.
Licence
I'll keep the "MIT or Apache 2.0" licence from the original bevy crates