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
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue