kirby can suck bubbles
All checks were successful
Build Bevy Game (Linux) / build (push) Successful in 19m20s
All checks were successful
Build Bevy Game (Linux) / build (push) Successful in 19m20s
This commit is contained in:
parent
0eb55dbe58
commit
3dc47f958d
9 changed files with 182 additions and 76 deletions
12
src/map.rs
12
src/map.rs
|
|
@ -1,17 +1,7 @@
|
|||
use bevy::{prelude::*, render::renderer};
|
||||
|
||||
#[derive(Component)]
|
||||
pub struct MapRoot;
|
||||
use bevy::prelude::*;
|
||||
|
||||
#[derive(Resource)]
|
||||
pub struct MapBounds {
|
||||
pub min: Vec2,
|
||||
pub max: Vec2,
|
||||
}
|
||||
|
||||
pub fn setup_map_bounds(mut commands: Commands) {
|
||||
commands.insert_resource(MapBounds {
|
||||
min: Vec2::new(-320.0, -240.0),
|
||||
max: Vec2::new(320.0, 240.0),
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue