fix: re-provide specific blue color to maze texture

This commit is contained in:
2025-07-26 15:31:15 -05:00
parent d72f47d66c
commit 86ffc931e8

View File

@@ -81,7 +81,9 @@ impl Game {
Rc::clone(&map), Rc::clone(&map),
))); )));
let blinky = Blinky::new(UVec2::new(13, 11), Rc::clone(&atlas), Rc::clone(&map), Rc::clone(&pacman)); let blinky = Blinky::new(UVec2::new(13, 11), Rc::clone(&atlas), Rc::clone(&map), Rc::clone(&pacman));
let map_texture = get_atlas_tile(&atlas, "maze/full.png"); let mut map_texture = get_atlas_tile(&atlas, "maze/full.png");
map_texture.color = Some(Color::RGB(0x20, 0x20, 0xf9));
let edibles = reconstruct_edibles( let edibles = reconstruct_edibles(
Rc::clone(&map), Rc::clone(&map),
AnimatedTexture::new(vec![get_atlas_tile(&atlas, "maze/pellet.png")], 0), AnimatedTexture::new(vec![get_atlas_tile(&atlas, "maze/pellet.png")], 0),