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 ) position = Vector2( 0, -7.5 )
shape = SubResource( 8 ) 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="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="." method="_set_difficulty" binds= [ 0 ]]
[connection signal="focus_entered" from="DifficultySelect/ButtonsPanel/Sweet" to="DifficultySelect/MenuSounds" method="play_select_sound"] [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="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="." method="_set_difficulty" binds= [ 1 ]]
[connection signal="focus_entered" from="DifficultySelect/ButtonsPanel/Salty" to="DifficultySelect/MenuSounds" method="play_select_sound"] [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="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="." method="_set_difficulty" binds= [ 2 ]]
[connection signal="focus_entered" from="DifficultySelect/ButtonsPanel/Spicy" to="DifficultySelect/MenuSounds" method="play_select_sound"] [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="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="." method="_set_difficulty" binds= [ 3 ]]
[connection signal="focus_entered" from="DifficultySelect/ButtonsPanel/Pungent" to="DifficultySelect/MenuSounds" method="play_select_sound"] [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"] [connection signal="area_entered" from="NameEntry/Exit/DetectPlayer" to="." method="_on_Exit_area_entered"]

View file

@ -169,15 +169,15 @@ align = 1
[connection signal="file_loaded" from="Panel" to="." method="_on_file_loaded"] [connection signal="file_loaded" from="Panel" to="." method="_on_file_loaded"]
[connection signal="file_loaded" from="Panel2" to="." method="_on_file_loaded"] [connection signal="file_loaded" from="Panel2" to="." method="_on_file_loaded"]
[connection signal="file_loaded" from="Panel3" to="." method="_on_file_loaded"] [connection signal="file_loaded" from="Panel3" to="." method="_on_file_loaded"]
[connection signal="button_down" from="SelectFile1" to="Panel" method="select"]
[connection signal="button_down" from="SelectFile1" to="MenuSounds" method="play_confirm_sound"]
[connection signal="focus_entered" from="SelectFile1" to="MenuSounds" method="play_select_sound"] [connection signal="focus_entered" from="SelectFile1" to="MenuSounds" method="play_select_sound"]
[connection signal="pressed" from="SelectFile1" to="Panel" method="select"] [connection signal="button_down" from="SelectFile2" to="Panel2" method="select"]
[connection signal="pressed" from="SelectFile1" to="MenuSounds" method="play_confirm_sound"] [connection signal="button_down" from="SelectFile2" to="MenuSounds" method="play_confirm_sound"]
[connection signal="focus_entered" from="SelectFile2" to="MenuSounds" method="play_select_sound"] [connection signal="focus_entered" from="SelectFile2" to="MenuSounds" method="play_select_sound"]
[connection signal="pressed" from="SelectFile2" to="Panel2" method="select"] [connection signal="button_down" from="SelectFile3" to="Panel3" method="select"]
[connection signal="pressed" from="SelectFile2" to="MenuSounds" method="play_confirm_sound"] [connection signal="button_down" from="SelectFile3" to="MenuSounds" method="play_confirm_sound"]
[connection signal="focus_entered" from="SelectFile3" to="MenuSounds" method="play_select_sound"] [connection signal="focus_entered" from="SelectFile3" to="MenuSounds" method="play_select_sound"]
[connection signal="pressed" from="SelectFile3" to="Panel3" method="select"]
[connection signal="pressed" from="SelectFile3" to="MenuSounds" method="play_confirm_sound"]
[connection signal="button_down" from="Back" to="MenuSounds" method="play_confirm_sound"] [connection signal="button_down" from="Back" to="MenuSounds" method="play_confirm_sound"]
[connection signal="focus_entered" from="Back" to="MenuSounds" method="play_select_sound"] [connection signal="focus_entered" from="Back" to="MenuSounds" method="play_select_sound"]
[connection signal="button_down" from="DeleteButton" to="MenuSounds" method="play_confirm_sound"] [connection signal="button_down" from="DeleteButton" to="MenuSounds" method="play_confirm_sound"]

View file

@ -231,8 +231,9 @@ of a new future"
[node name="Label2" type="Label" parent="."] [node name="Label2" type="Label" parent="."]
material = ExtResource( 8 ) material = ExtResource( 8 )
margin_left = 8.0
margin_top = 3.0 margin_top = 3.0
margin_right = 175.0 margin_right = 218.0
margin_bottom = 52.0 margin_bottom = 52.0
theme = ExtResource( 1 ) theme = ExtResource( 1 )
text = "Welcome to the future... 2083!" text = "Welcome to the future... 2083!"