Compare commits

...

1 Commits

Author SHA1 Message Date
bd811ee783 fix: initial next direction for pacman (mitigation) 2025-08-15 12:30:29 -05:00

View File

@@ -135,9 +135,9 @@ impl Game {
player: PlayerControlled, player: PlayerControlled,
position: Position::AtNode(pacman_start_node), position: Position::AtNode(pacman_start_node),
velocity: Velocity { velocity: Velocity {
direction: Direction::Up, direction: Direction::Left,
next_direction: None, next_direction: Some((Direction::Left, 90)),
speed: 1.125, speed: 1.15,
}, },
sprite: Renderable { sprite: Renderable {
sprite: SpriteAtlas::get_tile(&atlas, "pacman/full.png") sprite: SpriteAtlas::get_tile(&atlas, "pacman/full.png")