From 393473c6f9a2e94638b4770e9b3e84bee0068c7d Mon Sep 17 00:00:00 2001 From: Robert Garrett Date: Fri, 22 Aug 2025 16:57:54 -0500 Subject: [PATCH] Dummy window With EGUI inspector!... I guess --- src/main.rs | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 80a1832..826132f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,16 @@ +use bevy::{prelude::*, window::WindowResolution}; +use bevy_inspector_egui::{bevy_egui::EguiPlugin, quick::WorldInspectorPlugin}; + fn main() { - println!("Hello, world!"); + App::new() + .add_plugins(DefaultPlugins.set(WindowPlugin { + primary_window: Some(Window { + resolution: WindowResolution::new(800.0, 600.0), + ..default() + }), + ..default() + })) + .add_plugins(EguiPlugin::default()) + .add_plugins(WorldInspectorPlugin::new()) + .run(); }