#bevy #web #resize #browser #window #size #automatic

bevy-web-resizer

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

7 releases (4 major breaking)

5.0.0 Jun 2, 2023
4.0.1 Nov 16, 2022
3.0.0 Jul 30, 2022
2.0.0 Apr 16, 2022
0.1.0 Feb 23, 2022

#717 in Game dev

Download history 9/week @ 2023-12-18 2/week @ 2023-12-25 8/week @ 2024-01-08 5/week @ 2024-01-15 8/week @ 2024-02-12 50/week @ 2024-02-19 49/week @ 2024-02-26 35/week @ 2024-03-04 37/week @ 2024-03-11 40/week @ 2024-03-18 7/week @ 2024-03-25 94/week @ 2024-04-01

185 downloads per month

MIT/Apache

5KB
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–21MB
~252K SLoC