menu sounds

This commit is contained in:
pennyrigate 2023-08-26 21:52:26 -04:00
parent 098ab161de
commit ba12787fcb
10 changed files with 63 additions and 16 deletions

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=14 format=2]
[gd_scene load_steps=15 format=2]
[ext_resource path="res://ui/theme.tres" type="Theme" id=1]
[ext_resource path="res://shaders/wibble_wobble.gdshader" type="Shader" id=2]
@ -8,6 +8,7 @@
[ext_resource path="res://shaders/ska_plane.gdshader" type="Shader" id=6]
[ext_resource path="res://graphics/hud/sg_menu_blink.png" type="Texture" id=7]
[ext_resource path="res://ui/2ndpuberty_outline.tres" type="Material" id=8]
[ext_resource path="res://objects/hud/menu_sounds.tscn" type="PackedScene" id=9]
[sub_resource type="ShaderMaterial" id=2]
shader = ExtResource( 6 )
@ -227,7 +228,20 @@ text = "Welcome to the future...
2083"
align = 1
[node name="MenuSounds" parent="." instance=ExtResource( 9 )]
[connection signal="button_down" from="Panel/Continue" to="." method="_on_Continue_button_down"]
[connection signal="button_down" from="Panel/Continue" to="MenuSounds" method="play_confirm_sound"]
[connection signal="focus_entered" from="Panel/Continue" to="MenuSounds" method="play_select_sound"]
[connection signal="button_down" from="Panel/FileSelect" to="." method="_on_FileSelect_button_down"]
[connection signal="button_down" from="Panel/FileSelect" to="MenuSounds" method="play_confirm_sound"]
[connection signal="focus_entered" from="Panel/FileSelect" to="MenuSounds" method="play_select_sound"]
[connection signal="focus_entered" from="Panel/MarathonMode" to="MenuSounds" method="play_select_sound"]
[connection signal="focus_entered" from="Panel/Augmentations" to="MenuSounds" method="play_select_sound"]
[connection signal="focus_entered" from="Panel/Options" to="MenuSounds" method="play_select_sound"]
[connection signal="button_down" from="Panel/SoundTest" to="." method="_on_SoundTest_button_down"]
[connection signal="button_down" from="Panel/SoundTest" to="MenuSounds" method="play_confirm_sound"]
[connection signal="focus_entered" from="Panel/SoundTest" to="MenuSounds" method="play_select_sound"]
[connection signal="button_down" from="Panel/Exit" to="." method="_on_Exit_button_down"]
[connection signal="button_down" from="Panel/Exit" to="MenuSounds" method="play_confirm_sound"]
[connection signal="focus_entered" from="Panel/Exit" to="MenuSounds" method="play_select_sound"]