updates. joe
This commit is contained in:
+1
-1
@@ -15,5 +15,5 @@ func get_number():
|
||||
func _on_static_body_3d_input_event(camera, event, position, normal, shape_idx):
|
||||
if event is InputEventMouseButton and event.is_action_pressed("interact"):
|
||||
$Body/Knop/Audio.playing = true
|
||||
if true or get_number() == combination:
|
||||
if get_number() == combination:
|
||||
$".."/Einde.eindig()
|
||||
|
||||
@@ -10,7 +10,9 @@ func switch_fish():
|
||||
func _on_knop_input_event(camera, event, position, normal, shape_idx):
|
||||
if event is InputEventMouseButton and event.is_action_pressed("interact"):
|
||||
$Music.playing = !$Music.playing
|
||||
$"../Muziek".playing = !$Music.playing
|
||||
switch_fish()
|
||||
|
||||
func _on_music_finished():
|
||||
$"../Muziek".playing = true
|
||||
switch_fish()
|
||||
|
||||
Reference in New Issue
Block a user