interior tiles and scene transitions

This commit is contained in:
2025-10-27 02:54:20 +01:00
parent eea9c18358
commit b36923a196
14 changed files with 196 additions and 82 deletions

View File

@@ -1,6 +1,9 @@
extends Node2D
@export var scene: PackedScene
@export_file_path("*.tscn") var scene: String
@export var auto_interact: bool = false
func _ready() -> void: $Interactable.auto_interact = auto_interact
func _on_interacted(_player: Player) -> void:
get_tree().change_scene_to_packed(scene)
EventManager.transition_scene_file(scene)