pianomuziekje en eindscript

This commit is contained in:
2023-02-05 13:24:46 +01:00
parent 77f188ba54
commit a0b7737b94
6 changed files with 57 additions and 8 deletions
+24
View File
@@ -0,0 +1,24 @@
extends StaticBody3D
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
pass
func eindig():
$".."/Room/Doorframe/Door.visible = false
$".."/Room/Doorframe/Door/Deur.set_collision_layer(0)
$"../IndirectLightDoor".visible = true
$"../Einde/Wincamera/AudioStreamPlayer3D".playing = true
$"../Einde/Wincamera/AudioStreamPlayer3D2".playing = true
$"../Einde/Wincamera/AudioStreamPlayer3D3".playing = true
$"../Einde/Wincamera/AudioStreamPlayer3D".stream.loop = false
$"../Einde/Wincamera/AudioStreamPlayer3D2".stream.loop = false
$"../Einde/Wincamera/AudioStreamPlayer3D3".stream.loop = false
$"../Muziek".playing = false