updates. joe
This commit is contained in:
@@ -62,7 +62,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.82208, 0.982887)
|
|||||||
shape = SubResource("BoxShape3D_yanin")
|
shape = SubResource("BoxShape3D_yanin")
|
||||||
|
|
||||||
[node name="Sleutel" type="MeshInstance3D" parent="Kast/Drawer" index="1"]
|
[node name="Sleutel" type="MeshInstance3D" parent="Kast/Drawer" index="1"]
|
||||||
transform = Transform3D(-4.68891e-08, 1.0727, -1.04848, -1.5, -6.55671e-08, 0, -4.58307e-08, 1.04848, 1.0727, -0.146821, 1.76439, 0.390332)
|
transform = Transform3D(-4.68891e-08, 1.0727, -1.04848, -1.5, -6.55671e-08, 0, -4.58307e-08, 1.04848, 1.0727, -0.146821, 1.80039, 0.390332)
|
||||||
mesh = SubResource("ArrayMesh_3sr4p")
|
mesh = SubResource("ArrayMesh_3sr4p")
|
||||||
skeleton = NodePath("")
|
skeleton = NodePath("")
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -15,5 +15,5 @@ func get_number():
|
|||||||
func _on_static_body_3d_input_event(camera, event, position, normal, shape_idx):
|
func _on_static_body_3d_input_event(camera, event, position, normal, shape_idx):
|
||||||
if event is InputEventMouseButton and event.is_action_pressed("interact"):
|
if event is InputEventMouseButton and event.is_action_pressed("interact"):
|
||||||
$Body/Knop/Audio.playing = true
|
$Body/Knop/Audio.playing = true
|
||||||
if true or get_number() == combination:
|
if get_number() == combination:
|
||||||
$".."/Einde.eindig()
|
$".."/Einde.eindig()
|
||||||
|
|||||||
@@ -10,7 +10,9 @@ func switch_fish():
|
|||||||
func _on_knop_input_event(camera, event, position, normal, shape_idx):
|
func _on_knop_input_event(camera, event, position, normal, shape_idx):
|
||||||
if event is InputEventMouseButton and event.is_action_pressed("interact"):
|
if event is InputEventMouseButton and event.is_action_pressed("interact"):
|
||||||
$Music.playing = !$Music.playing
|
$Music.playing = !$Music.playing
|
||||||
|
$"../Muziek".playing = !$Music.playing
|
||||||
switch_fish()
|
switch_fish()
|
||||||
|
|
||||||
func _on_music_finished():
|
func _on_music_finished():
|
||||||
|
$"../Muziek".playing = true
|
||||||
switch_fish()
|
switch_fish()
|
||||||
|
|||||||
Reference in New Issue
Block a user