switched to button down

This commit is contained in:
pennyrigate 2023-11-06 00:20:11 -05:00
parent 8afbb0f7f5
commit 4e042386f7
3 changed files with 12 additions and 11 deletions

View file

@ -471,20 +471,20 @@ shape = SubResource( 7 )
position = Vector2( 0, -7.5 )
shape = SubResource( 8 )
[connection signal="button_down" from="DifficultySelect/ButtonsPanel/Sweet" to="." method="_difficulty_selected"]
[connection signal="button_down" from="DifficultySelect/ButtonsPanel/Sweet" to="DifficultySelect/MenuSounds" method="play_confirm_sound"]
[connection signal="focus_entered" from="DifficultySelect/ButtonsPanel/Sweet" to="." method="_set_difficulty" binds= [ 0 ]]
[connection signal="focus_entered" from="DifficultySelect/ButtonsPanel/Sweet" to="DifficultySelect/MenuSounds" method="play_select_sound"]
[connection signal="pressed" from="DifficultySelect/ButtonsPanel/Sweet" to="." method="_difficulty_selected"]
[connection signal="button_down" from="DifficultySelect/ButtonsPanel/Salty" to="." method="_difficulty_selected"]
[connection signal="button_down" from="DifficultySelect/ButtonsPanel/Salty" to="DifficultySelect/MenuSounds" method="play_confirm_sound"]
[connection signal="focus_entered" from="DifficultySelect/ButtonsPanel/Salty" to="." method="_set_difficulty" binds= [ 1 ]]
[connection signal="focus_entered" from="DifficultySelect/ButtonsPanel/Salty" to="DifficultySelect/MenuSounds" method="play_select_sound"]
[connection signal="pressed" from="DifficultySelect/ButtonsPanel/Salty" to="." method="_difficulty_selected"]
[connection signal="button_down" from="DifficultySelect/ButtonsPanel/Spicy" to="." method="_difficulty_selected"]
[connection signal="button_down" from="DifficultySelect/ButtonsPanel/Spicy" to="DifficultySelect/MenuSounds" method="play_confirm_sound"]
[connection signal="focus_entered" from="DifficultySelect/ButtonsPanel/Spicy" to="." method="_set_difficulty" binds= [ 2 ]]
[connection signal="focus_entered" from="DifficultySelect/ButtonsPanel/Spicy" to="DifficultySelect/MenuSounds" method="play_select_sound"]
[connection signal="pressed" from="DifficultySelect/ButtonsPanel/Spicy" to="." method="_difficulty_selected"]
[connection signal="button_down" from="DifficultySelect/ButtonsPanel/Pungent" to="." method="_difficulty_selected"]
[connection signal="button_down" from="DifficultySelect/ButtonsPanel/Pungent" to="DifficultySelect/MenuSounds" method="play_confirm_sound"]
[connection signal="focus_entered" from="DifficultySelect/ButtonsPanel/Pungent" to="." method="_set_difficulty" binds= [ 3 ]]
[connection signal="focus_entered" from="DifficultySelect/ButtonsPanel/Pungent" to="DifficultySelect/MenuSounds" method="play_select_sound"]
[connection signal="pressed" from="DifficultySelect/ButtonsPanel/Pungent" to="." method="_difficulty_selected"]
[connection signal="area_entered" from="NameEntry/Exit/DetectPlayer" to="." method="_on_Exit_area_entered"]