From 3086453c7b165c3750dc4cfde182e76306b16319 Mon Sep 17 00:00:00 2001 From: Xevion Date: Fri, 15 Aug 2025 16:25:42 -0500 Subject: [PATCH] chore: adjust collider sizes --- src/game/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/game/mod.rs b/src/game/mod.rs index 53e1aff..eebdfa0 100644 --- a/src/game/mod.rs +++ b/src/game/mod.rs @@ -172,7 +172,7 @@ impl Game { }, entity_type: EntityType::Player, collider: Collider { - size: constants::CELL_SIZE as f32 * 1.1, + size: constants::CELL_SIZE as f32 * 1.375, layer: CollisionLayer::PACMAN, }, pacman_collider: PacmanCollider, @@ -249,12 +249,12 @@ impl Game { for (node_id, tile) in nodes { let (item_type, score, sprite, size) = match tile { - crate::constants::MapTile::Pellet => (EntityType::Pellet, 10, pellet_sprite, constants::CELL_SIZE as f32 * 0.2), + crate::constants::MapTile::Pellet => (EntityType::Pellet, 10, pellet_sprite, constants::CELL_SIZE as f32 * 0.4), crate::constants::MapTile::PowerPellet => ( EntityType::PowerPellet, 50, energizer_sprite, - constants::CELL_SIZE as f32 * 0.9, + constants::CELL_SIZE as f32 * 0.95, ), _ => continue, };