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

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

#956 in Game dev

50 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
~257K SLoC