plein de trucs dont des dialogues!

et ouai! appuye sur e pour parler au npc
This commit is contained in:
Thomas
2025-03-05 21:40:07 +01:00
parent a90ebb0589
commit ab988eaaac
132 changed files with 14528 additions and 50 deletions

View File

@@ -14,8 +14,9 @@ func _ready() -> void:
astar_grid = AStarGrid2D.new()
astar_grid.region = world.get_used_rect()
astar_grid.cell_size = Vector2(48, 48)
astar_grid.set_default_compute_heuristic(AStarGrid2D.HEURISTIC_MANHATTAN)
astar_grid.set_default_estimate_heuristic(AStarGrid2D.HEURISTIC_MANHATTAN)
astar_grid.diagonal_mode = AStarGrid2D.DIAGONAL_MODE_AT_LEAST_ONE_WALKABLE
astar_grid.default_compute_heuristic = AStarGrid2D.HEURISTIC_MANHATTAN
astar_grid.default_estimate_heuristic = AStarGrid2D.HEURISTIC_MANHATTAN
astar_grid.update()
# only take into account the tiles that are marked with a navigation layer for cars