forked from team-sg/hero-mark-2
pause music
This commit is contained in:
parent
cf8bfa6210
commit
394f53585e
6 changed files with 50 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=9 format=2]
|
||||
[gd_scene load_steps=10 format=2]
|
||||
|
||||
[ext_resource path="res://ui/arrow_figure_8.tres" type="Material" id=1]
|
||||
[ext_resource path="res://ui/theme.tres" type="Theme" id=2]
|
||||
|
@ -8,6 +8,7 @@
|
|||
[ext_resource path="res://ui/2ndpuberty_outline.tres" type="Material" id=6]
|
||||
[ext_resource path="res://objects/hud/options_screen.tscn" type="PackedScene" id=7]
|
||||
[ext_resource path="res://ui/border.png" type="Texture" id=8]
|
||||
[ext_resource path="res://objects/hud/menu_sounds.tscn" type="PackedScene" id=9]
|
||||
|
||||
[node name="PauseScreen" type="CanvasLayer"]
|
||||
pause_mode = 2
|
||||
|
@ -110,8 +111,18 @@ margin_bottom = -14.0
|
|||
[node name="OptionsScreen" parent="." instance=ExtResource( 7 )]
|
||||
visible = false
|
||||
|
||||
[node name="MenuSounds" parent="." instance=ExtResource( 9 )]
|
||||
|
||||
[connection signal="focus_entered" from="Body/Resume" to="MenuSounds" method="play_select_sound"]
|
||||
[connection signal="pressed" from="Body/Resume" to="." method="_on_Resume_pressed"]
|
||||
[connection signal="pressed" from="Body/Resume" to="MenuSounds" method="play_confirm_sound"]
|
||||
[connection signal="focus_entered" from="Body/Restart" to="MenuSounds" method="play_select_sound"]
|
||||
[connection signal="pressed" from="Body/Restart" to="." method="_on_Restart_pressed"]
|
||||
[connection signal="pressed" from="Body/Restart" to="MenuSounds" method="play_confirm_sound"]
|
||||
[connection signal="focus_entered" from="Body/Settings" to="MenuSounds" method="play_select_sound"]
|
||||
[connection signal="pressed" from="Body/Settings" to="." method="_on_Settings_pressed"]
|
||||
[connection signal="pressed" from="Body/Settings" to="MenuSounds" method="play_confirm_sound"]
|
||||
[connection signal="focus_entered" from="Body/ExitLevel" to="MenuSounds" method="play_select_sound"]
|
||||
[connection signal="pressed" from="Body/ExitLevel" to="." method="_on_ExitLevel_pressed"]
|
||||
[connection signal="pressed" from="Body/ExitLevel" to="MenuSounds" method="play_confirm_sound"]
|
||||
[connection signal="exit" from="OptionsScreen" to="." method="_on_OptionsScreen_exit" flags=3]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue