#bevy #web #resize

bevy-web-resizer

Automatically resize your Bevy app on the web (wasm) to the size of the browser window

7 releases (4 major breaking)

4.0.1 Nov 16, 2022
4.0.0 Nov 15, 2022
3.0.0 Jul 30, 2022
2.0.0 Apr 16, 2022
0.1.0 Feb 23, 2022

#712 in WebAssembly

Download history 39/week @ 2022-12-06 45/week @ 2022-12-13 34/week @ 2022-12-20 28/week @ 2022-12-27 39/week @ 2023-01-03 35/week @ 2023-01-10 18/week @ 2023-01-17 57/week @ 2023-01-24 49/week @ 2023-01-31 16/week @ 2023-02-07 53/week @ 2023-02-14 31/week @ 2023-02-21 14/week @ 2023-02-28 26/week @ 2023-03-07 27/week @ 2023-03-14 16/week @ 2023-03-21

83 downloads per month

MIT/Apache

4KB
58 lines

bevy-web-resizer

Automatically resize your Bevy app on the web (wasm) to the size of the browser window.

#[cfg(target_arch = "wasm32")]
{
    app.add_plugin(bevy_web_resizer::Plugin);
}

Note: this functionality will be built into Bevy in the next release.

Dependencies

~0–13MB
~240K SLoC