fix: initial next direction for pacman (mitigation)

This commit is contained in:
2025-08-15 12:30:29 -05:00
parent 57d7f75940
commit bd811ee783

View File

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