fix: added voiceline and removed broken credits
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 12s
Create tag and build when new code gets to main / Export (push) Successful in 2m31s

This commit is contained in:
2025-06-29 14:58:36 +02:00
parent d1996d44ed
commit f6dae54fd0
8 changed files with 95 additions and 73 deletions

View File

@ -21,6 +21,7 @@ var current_info: int = 0
var is_over = false
var currently_playing: AudioStreamPlayer2D
@onready var vo_light_off: AudioStreamPlayer2D = $Hack/VOLightOff
@onready var vo_prise_tiree: AudioStreamPlayer2D = $Hack/VOPriseTiree
@onready var vo_interjection: AudioStreamPlayer2D = $Hack/VOInterjection
@onready var interact: AudioStreamPlayer2D = $Player/Interact
@ -66,6 +67,13 @@ func _on_prise_interacted(event_id: String) -> void:
right_hack.activate()
for light in lights.get_children():
light.visible = false
if currently_playing != null and currently_playing.playing:
currently_playing.stop()
interact.play()
vo_light_off.play()
currently_playing = vo_light_off
func made_mistake() -> void:
vies -= 1