winit desktop app
parent
6b23727864
commit
7706a9f3ef
|
@ -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 New Issue