feat: minimal bevy window opens

This commit is contained in:
xfy 2026-07-10 09:48:38 +08:00
parent ea6b15524d
commit 25e2207e0d

View File

@ -1,3 +1,12 @@
use bevy::prelude::*;
fn main() { fn main() {
println!("Hello, world!"); App::new()
.add_plugins(DefaultPlugins)
.add_systems(Startup, setup)
.run();
}
fn setup(mut commands: Commands) {
commands.spawn(Camera2d);
} }