bevy/examples/window/window_settings.rs

14 lines
276 B
Rust
Raw Normal View History

use bevy::prelude::*;
fn main() {
App::build()
.add_resource(WindowDescriptor {
title: "I am a window!".to_string(),
width: 300,
height: 300,
vsync: true,
})
.add_default_plugins()
.run();
}