feat: Implement core game managers, player movement logic, and initial UI scenes.
This commit is contained in:
@@ -69,6 +69,10 @@ func simple_move_to(grid_position: Vector2i) -> bool:
|
||||
|
||||
# All checks passed, perform move
|
||||
rotate_towards_target(grid_position)
|
||||
|
||||
# Play walk animation
|
||||
if player.has_method("play_walk_animation"):
|
||||
player.play_walk_animation()
|
||||
|
||||
var path = [Vector2(player.current_position.x, player.current_position.y), Vector2(grid_position.x, grid_position.y)]
|
||||
path.pop_front()
|
||||
|
||||
Reference in New Issue
Block a user