winit desktop app

main
Zynh Ludwig 2024-08-20 10:24:53 -07:00
parent 6b23727864
commit 7706a9f3ef
1 changed files with 2 additions and 0 deletions

View File

@ -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();