bevy_wasm_window_resize 0.4.0

Bevy helper crate that makes application canvas match window size.
docs.rs failed to build bevy_wasm_window_resize-0.4.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: bevy_wasm_window_resize-0.2.0

Bevy WASM window resize

crates.io license crates.io

This crate makes Bevy application canvas match window size.

Original idea and code behind: ManevilleF

Install

cargo add bevy_wasm_window_resize

Usage

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 compatibility table

Bevy version crate version
0.14 0.4
0.13 0.3
0.12 0.2
0.10 0.1