Anri/AdBlockNot
Archived
1
0
Fork 0
This commit is contained in:
Mylloon 2024-01-28 20:15:04 +01:00
parent b62576f1c9
commit e0786258a9
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
4 changed files with 4 additions and 2 deletions

View file

@ -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

View file

@ -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"]

View file

@ -16,3 +16,4 @@ func _on_button_pressed():
func _on_button2_pressed():
condition = true
player.stop()

View file

@ -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