| Crates.io | bevy_wasm_window_resize |
| lib.rs | bevy_wasm_window_resize |
| version | 0.4.0 |
| created_at | 2023-03-31 14:36:44.430267+00 |
| updated_at | 2024-07-21 15:59:38.055076+00 |
| description | Bevy helper crate that makes application canvas match window size. |
| homepage | https://github.com/Leinnan/bevy_wasm_window_resize |
| repository | https://github.com/Leinnan/bevy_wasm_window_resize |
| max_upload_size | |
| id | 826481 |
| size | 4,382 |
This crate makes Bevy application canvas match window size.
Original idea and code behind: ManevilleF
cargo add bevy_wasm_window_resize
Just add WindowResizePlugin during app creation process.
use bevy::prelude::*;
use bevy_wasm_window_resize::WindowResizePlugin;
fn main() {
App::new()
.add_plugins(DefaultPlugins)
.add_plugin(WindowResizePlugin)
.run();
}
| Bevy version | crate version |
|---|---|
| 0.14 | 0.4 |
| 0.13 | 0.3 |
| 0.12 | 0.2 |
| 0.10 | 0.1 |