generated from SGDA/GodotExampleProject
feat: interactibles now emit signals and are parametrable through text and ids
This commit is contained in:
@ -16,7 +16,7 @@ func _ready() -> void:
|
||||
func on_interact_triggered() -> void:
|
||||
if current_interactible == null:
|
||||
return
|
||||
SceneLoader.load_scene(current_interactible.scene_to_trigger)
|
||||
current_interactible.show_confirm()
|
||||
|
||||
|
||||
func _on_interactible_found(area: Area2D) -> void:
|
||||
|
@ -165,7 +165,6 @@ motion_mode = 1
|
||||
script = ExtResource("1_dovo2")
|
||||
move = ExtResource("2_gmlin")
|
||||
interact = ExtResource("3_lvxji")
|
||||
walk_speed = null
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(0, 2)
|
||||
|
Reference in New Issue
Block a user