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,10 +1,10 @@
use std::f32::consts::TAU;
use crate::globals::MAX_MAP_WIDTH;
use crate::physics_body::PhysicsBody;
use bevy::prelude::*;
use rand::Rng;
use crate::{globals::MAX_MAP_WIDTH, physics_body::PhysicsBody};
const CELL_SIZE: usize = 8;
const MAX_MAP_SIZE: usize = MAX_MAP_WIDTH * 2;
const ARRAY_WIDTH: usize = MAX_MAP_SIZE / CELL_SIZE;