AAAAAAA
This commit is contained in:
parent
b62576f1c9
commit
e0786258a9
4 changed files with 4 additions and 2 deletions
|
@ -18,7 +18,7 @@ force/max_rate=false
|
|||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_mode=2
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=0
|
||||
|
|
|
@ -29,6 +29,7 @@ flat = true
|
|||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="." index="4"]
|
||||
stream = ExtResource("5_gf3d2")
|
||||
volume_db = 24.0
|
||||
bus = &"SFX"
|
||||
|
||||
[connection signal="pressed" from="MusicButton/Button" to="." method="_on_button2_pressed"]
|
||||
|
|
|
@ -16,3 +16,4 @@ func _on_button_pressed():
|
|||
|
||||
func _on_button2_pressed():
|
||||
condition = true
|
||||
player.stop()
|
||||
|
|
|
@ -57,7 +57,7 @@ func _on_pressed(num):
|
|||
hold[0] = num
|
||||
|
||||
# Verification
|
||||
condition = hold[0] == correct[0] and hold[1] == correct[1]
|
||||
condition = hold[0] == correct[0] and hold[1] == correct[1] or hold[1] == correct[0] and hold[0] == correct[1]
|
||||
|
||||
# Alternation
|
||||
alterne = !alterne
|
||||
|
|
Reference in a new issue