kirby can suck bubbles
All checks were successful
Build Bevy Game (Linux) / build (push) Successful in 19m20s

This commit is contained in:
Crizomb 2025-12-29 23:20:32 +01:00
parent 0eb55dbe58
commit 3dc47f958d
9 changed files with 182 additions and 76 deletions

View file

@ -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),
});
}