Some more adjustments to the map

pull/5/head
Yan Wittmann 2025-01-14 12:11:45 +01:00
parent 624c14150e
commit da1fdf10d0
2 changed files with 5 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -68,6 +68,9 @@ func _process(delta: float) -> void:
player.exploration_task.current_goal = world.tilemap_ground.local_to_cell(world.get_local_mouse_position())
player.behavior_tree.blackboard["cached_paths"] = {}
player.behavior_tree.blackboard["path"] = []
if Input.is_action_just_pressed("key_3"):
player.board_position = Vector2i(world.camp_manager.camp)
player.board_position.y += 1
if intro_image.is_visible():
intro_image.set_scale(calculate_scale(intro_image.texture.get_size()))