nothing
This commit is contained in:
parent
391be0afd5
commit
e3fa910bd0
14
src/main.rs
14
src/main.rs
@ -1,3 +1,15 @@
|
||||
use bevy::{color::palettes::css::{BLUE, PURPLE}, prelude::*};
|
||||
|
||||
|
||||
|
||||
fn main() {
|
||||
println!("Hello, world!");
|
||||
App::new()
|
||||
.insert_resource(ClearColor(Color::srgb(1.0, 1.0, 1.0)))
|
||||
.add_plugins(DefaultPlugins)
|
||||
.add_systems(Startup, setup)
|
||||
.run();
|
||||
}
|
||||
|
||||
fn setup(mut commands: Commands){
|
||||
commands.spawn(Camera2d);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user