#window #resize #bevy #browser #web #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

#1046 in Game dev

Download history 22/week @ 2024-06-17 32/week @ 2024-06-24 5/week @ 2024-07-08 19/week @ 2024-07-15 5/week @ 2024-07-22 57/week @ 2024-07-29 23/week @ 2024-08-05 24/week @ 2024-08-12 12/week @ 2024-08-19 6/week @ 2024-08-26 17/week @ 2024-09-02 20/week @ 2024-09-09 16/week @ 2024-09-16 45/week @ 2024-09-23 37/week @ 2024-09-30

118 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–19MB
~250K SLoC