feat: level two base
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 7s
Create tag and build when new code gets to main / Export (push) Successful in 5m2s

This commit is contained in:
2025-06-28 17:54:57 +02:00
parent a51c4b82ae
commit c767f88fcd
7 changed files with 802 additions and 23 deletions

View File

@ -5,6 +5,8 @@ extends Node2D
@export var base_mode: GUIDEMappingContext
@export var vies = 3
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
@ -17,8 +19,14 @@ func _process(delta: float) -> void:
func _on_interactible_triggered(event_id: String) -> void:
if event_id == "right":
SceneLoader.load_scene(next_level)
return
vies -= 1
if vies == 0:
SceneLoader.load_scene(golé)
func _on_wrong_door_event_triggered(event_id: String) -> void:
SceneLoader.load_scene(golé)
func _on_right_door_event_triggered(event_id: String) -> void:
SceneLoader.load_scene(next_level) # Replace with function body.