dynamic menu and menu music

This commit is contained in:
Persephone Bubblegum-Holiday 2025-08-18 21:51:12 -07:00
parent 1f13716d42
commit a9efa66b09
18 changed files with 386 additions and 41 deletions

View file

@ -1,8 +1,11 @@
[gd_scene load_steps=18 format=3 uid="uid://1ikkb4b8mw1w"]
[gd_scene load_steps=21 format=3 uid="uid://1ikkb4b8mw1w"]
[ext_resource type="Script" uid="uid://b5nh5td5bdsfd" path="res://Scripts/MainMenu.gd" id="1_ocgay"]
[ext_resource type="Texture2D" uid="uid://dbh0vh85wks2l" path="res://UI/logo.png" id="2_6d82g"]
[ext_resource type="Script" uid="uid://cnhq1jt48m1or" path="res://Scripts/DynamicBackground.gd" id="2_wdeli"]
[ext_resource type="Texture2D" uid="uid://cmvq2wqvp5m64" path="res://UI/FreeroamThumbnails/NoThumb.png" id="3_vaoig"]
[ext_resource type="AudioStream" uid="uid://bcid1hgbabpoo" path="res://UI/Music/future_tech.ogg" id="6_dkd36"]
[ext_resource type="Script" uid="uid://crsjjkf341k7x" path="res://Scripts/InputOptions.gd" id="6_ha2rd"]
[ext_resource type="Script" uid="uid://c8dhm0nhxqlth" path="res://Scripts/GraphicsOptions.gd" id="8_wdeli"]
[ext_resource type="Script" uid="uid://bmqi57p5yipll" path="res://Scripts/InterfaceOptions.gd" id="9_wyv1s"]
@ -45,6 +48,24 @@ auto_translate_mode = 1
initial_position = 2
dialog_text = "Please restart the game for any changes to apply."
[node name="DynamicBackground" type="Control" parent="."]
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("2_wdeli")
[node name="SubViewport" type="Node3D" parent="DynamicBackground"]
[node name="SuperSecretInvisibleZone" type="Control" parent="DynamicBackground"]
visible = false
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
[node name="BackgroundImage" type="TextureRect" parent="."]
layout_mode = 1
anchors_preset = 15
@ -74,26 +95,25 @@ offset_right = 324.0
offset_bottom = -52.0
grow_vertical = 0
[node name="EditorButton" type="Button" parent="Buttons"]
[node name="FreeRoamButton" type="Button" parent="Buttons"]
layout_mode = 0
offset_left = 4.0
offset_top = 4.0
offset_right = 260.0
offset_bottom = 52.0
focus_next = NodePath("../FreeRoamButton")
focus_next = NodePath("../EditorButton")
focus_previous = NodePath("../ExitButton")
text = "Editor"
text = "Free Roam"
[node name="FreeRoamButton" type="Button" parent="Buttons"]
[node name="EditorButton" type="Button" parent="Buttons"]
layout_mode = 0
offset_left = 4.0
offset_top = 56.0
offset_right = 260.0
offset_bottom = 104.0
focus_next = NodePath("../ModsButton")
focus_previous = NodePath("../EditorButton")
text = "Free Roam
"
focus_previous = NodePath("../FreeRoamButton")
text = "Editor"
[node name="ModsButton" type="Button" parent="Buttons"]
layout_mode = 0
@ -628,8 +648,7 @@ text = "Pneumatic Plaything Animatronic Simulator
Project Oversight: Persephone (KawaiiZenbo)
Interface Design: Persephone
Simulator Backend: Persephone
Interface Design, Simulator Backend: Persephone
Settings System: Pizza Perpetrator
Models:
@ -639,9 +658,11 @@ Luigigamin212: Chuck E's Corner
ToastHQ: Balcony Stage, 3-Stage Bots
Avery: Cyberamic Iris Textures
This project is not associated with CEC Entertainment LLC.
or Creative Engineering Inc."
Title Music: \"Future Tech\" by River City Sound Production
This project is not associated with CEC Entertainment LLC, Creative Engineering Inc, VIZ Media, or River City Sound Production"
horizontal_alignment = 1
autowrap_mode = 2
[node name="SettingsScreen" type="Control" parent="."]
visible = false
@ -717,9 +738,10 @@ offset_right = -4.0
grow_horizontal = 2
grow_vertical = 2
current_tab = 0
tab_count = 2
tab_count = 3
tab_0/title = "Graphics"
tab_1/title = "Interface"
tab_2/title = "Input"
[node name="GraphicsPanel" type="Panel" parent="SettingsScreen/DialogPanel"]
layout_mode = 1
@ -936,6 +958,32 @@ text = "Theme:"
horizontal_alignment = 2
vertical_alignment = 1
[node name="MusicLabel" type="Label" parent="SettingsScreen/DialogPanel/InterfacePanel"]
layout_mode = 1
anchors_preset = -1
anchor_right = 0.5
offset_left = 4.0
offset_top = 76.0
offset_right = -4.0
offset_bottom = 108.0
grow_horizontal = 2
text = "Title Screen Music:"
horizontal_alignment = 2
vertical_alignment = 1
[node name="DynamicLabel" type="Label" parent="SettingsScreen/DialogPanel/InterfacePanel"]
layout_mode = 1
anchors_preset = -1
anchor_right = 0.5
offset_left = 4.0
offset_top = 112.0
offset_right = -4.0
offset_bottom = 144.0
grow_horizontal = 2
text = "Dynamic Title Screen:"
horizontal_alignment = 2
vertical_alignment = 1
[node name="ScalingOption" type="OptionButton" parent="SettingsScreen/DialogPanel/InterfacePanel"]
layout_mode = 1
anchors_preset = -1
@ -970,6 +1018,120 @@ popup/item_0/id = 0
popup/item_1/text = "Light"
popup/item_1/id = 1
[node name="MusicOption" type="OptionButton" parent="SettingsScreen/DialogPanel/InterfacePanel"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.5
anchor_right = 1.0
offset_left = 4.0
offset_top = 76.0
offset_right = -4.0
offset_bottom = 108.0
alignment = 1
selected = 1
item_count = 2
popup/item_0/text = "Disabled"
popup/item_0/id = 0
popup/item_1/text = "Enabled"
popup/item_1/id = 1
[node name="DynamicOption" type="OptionButton" parent="SettingsScreen/DialogPanel/InterfacePanel"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.5
anchor_right = 1.0
offset_left = 4.0
offset_top = 112.0
offset_right = -4.0
offset_bottom = 144.0
alignment = 1
selected = 1
item_count = 2
popup/item_0/text = "Disabled"
popup/item_0/id = 0
popup/item_1/text = "Enabled"
popup/item_1/id = 1
[node name="InputPanel" type="Panel" parent="SettingsScreen/DialogPanel"]
visible = false
layout_mode = 1
anchors_preset = -1
anchor_top = 0.25
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 4.0
offset_right = -4.0
offset_bottom = -4.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("6_ha2rd")
[node name="SensLabel" type="Label" parent="SettingsScreen/DialogPanel/InputPanel"]
layout_mode = 1
anchors_preset = -1
anchor_right = 0.5
offset_left = 4.0
offset_top = 4.0
offset_right = -4.0
offset_bottom = 52.0
text = "Camera Sensitivity:"
horizontal_alignment = 2
vertical_alignment = 1
[node name="SensSlider" type="HSlider" parent="SettingsScreen/DialogPanel/InputPanel"]
custom_minimum_size = Vector2(215, 0)
layout_mode = 1
anchors_preset = -1
anchor_left = 0.5
anchor_right = 1.0
offset_left = 4.0
offset_top = 4.0
offset_right = -4.0
offset_bottom = 20.0
min_value = 0.1
max_value = 5.0
step = 0.1
value = 1.1
ticks_on_borders = true
[node name="MinLabel" type="Label" parent="SettingsScreen/DialogPanel/InputPanel/SensSlider"]
layout_mode = 1
anchors_preset = -1
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = 16.0
offset_bottom = 32.0
grow_horizontal = 2
grow_vertical = 2
text = "0.1"
vertical_alignment = 1
[node name="CurrentLabel" type="Label" parent="SettingsScreen/DialogPanel/InputPanel/SensSlider"]
layout_mode = 1
anchors_preset = -1
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = 16.0
offset_bottom = 32.0
grow_horizontal = 2
grow_vertical = 2
text = "Sensitivity"
horizontal_alignment = 1
vertical_alignment = 1
[node name="MaxLabel" type="Label" parent="SettingsScreen/DialogPanel/InputPanel/SensSlider"]
layout_mode = 1
anchors_preset = -1
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = 16.0
offset_bottom = 32.0
grow_horizontal = 2
grow_vertical = 2
text = "5"
horizontal_alignment = 2
vertical_alignment = 1
[node name="VersionLabel" type="Label" parent="."]
layout_mode = 1
anchors_preset = -1
@ -987,8 +1149,12 @@ text = "Pneumatic Plaything vX.X"
horizontal_alignment = 2
vertical_alignment = 1
[connection signal="pressed" from="Buttons/EditorButton" to="." method="_on_button_pressed"]
[node name="Music" type="AudioStreamPlayer" parent="."]
stream = ExtResource("6_dkd36")
parameters/looping = true
[connection signal="pressed" from="Buttons/FreeRoamButton" to="." method="_on_free_roam_button_pressed"]
[connection signal="pressed" from="Buttons/EditorButton" to="." method="_on_button_pressed"]
[connection signal="pressed" from="Buttons/ModsButton" to="." method="_on_mods_button_pressed"]
[connection signal="pressed" from="Buttons/ControlsButton" to="." method="_on_controls_button_pressed"]
[connection signal="pressed" from="Buttons/CreditsButton" to="." method="_on_credits_button_pressed"]
@ -1005,9 +1171,13 @@ vertical_alignment = 1
[connection signal="pressed" from="SettingsScreen/InputEater" to="." method="_on_input_eater_pressed"]
[connection signal="tab_changed" from="SettingsScreen/DialogPanel/TabBar" to="SettingsScreen/DialogPanel/GraphicsPanel" method="_on_tab_bar_tab_changed"]
[connection signal="tab_changed" from="SettingsScreen/DialogPanel/TabBar" to="SettingsScreen/DialogPanel/InterfacePanel" method="_on_tab_bar_tab_changed"]
[connection signal="tab_changed" from="SettingsScreen/DialogPanel/TabBar" to="SettingsScreen/DialogPanel/InputPanel" method="_on_tab_bar_tab_changed"]
[connection signal="item_selected" from="SettingsScreen/DialogPanel/GraphicsPanel/AAOption" to="SettingsScreen/DialogPanel/GraphicsPanel" method="_on_option_aa_msaa_item_selected"]
[connection signal="item_selected" from="SettingsScreen/DialogPanel/GraphicsPanel/SSAAOption" to="SettingsScreen/DialogPanel/GraphicsPanel" method="_on_option_aa_ss_item_selected"]
[connection signal="value_changed" from="SettingsScreen/DialogPanel/GraphicsPanel/FOVSlider" to="SettingsScreen/DialogPanel/GraphicsPanel" method="_on_fov_slider_value_changed"]
[connection signal="item_selected" from="SettingsScreen/DialogPanel/GraphicsPanel/ShadowsOption" to="SettingsScreen/DialogPanel/GraphicsPanel" method="_on_shadows_option_item_selected"]
[connection signal="item_selected" from="SettingsScreen/DialogPanel/InterfacePanel/ScalingOption" to="SettingsScreen/DialogPanel/InterfacePanel" method="_on_scaling_option_item_selected"]
[connection signal="item_selected" from="SettingsScreen/DialogPanel/InterfacePanel/ThemeOption" to="SettingsScreen/DialogPanel/InterfacePanel" method="_on_theme_option_item_selected"]
[connection signal="item_selected" from="SettingsScreen/DialogPanel/InterfacePanel/MusicOption" to="SettingsScreen/DialogPanel/InterfacePanel" method="_on_music_option_item_selected"]
[connection signal="item_selected" from="SettingsScreen/DialogPanel/InterfacePanel/DynamicOption" to="SettingsScreen/DialogPanel/InterfacePanel" method="_on_dynamic_option_item_selected"]
[connection signal="value_changed" from="SettingsScreen/DialogPanel/InputPanel/SensSlider" to="SettingsScreen/DialogPanel/InputPanel" method="_on_sens_slider_value_changed"]