winit desktop app
This commit is contained in:
parent
6b23727864
commit
7706a9f3ef
1 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,7 @@ use bevy::{
|
|||
color::palettes::tailwind,
|
||||
prelude::*,
|
||||
sprite::{MaterialMesh2dBundle, Mesh2dHandle},
|
||||
winit::WinitSettings,
|
||||
};
|
||||
|
||||
// In a vacuum this is just 2, 2 dimenionsal arrays, but I think
|
||||
|
@ -56,6 +57,7 @@ use bevy::{
|
|||
|
||||
fn main() {
|
||||
App::new()
|
||||
.insert_resource(WinitSettings::desktop_app())
|
||||
.add_plugins(DefaultPlugins)
|
||||
.add_systems(Startup, setup)
|
||||
.run();
|
||||
|
|
Loading…
Reference in a new issue