plein de trucs dont des dialogues!
et ouai! appuye sur e pour parler au npc
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user