restructure freeroam menu

This commit is contained in:
Persephone Bubblegum-Holiday 2025-08-14 19:46:21 -07:00
parent 3e9e732530
commit ae732f1ff7
13 changed files with 232 additions and 39 deletions

View file

@ -1,7 +1,8 @@
[gd_scene load_steps=17 format=3 uid="uid://1ikkb4b8mw1w"]
[gd_scene load_steps=18 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="Texture2D" uid="uid://cmvq2wqvp5m64" path="res://UI/FreeroamThumbnails/NoThumb.png" id="3_vaoig"]
[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"]
@ -52,6 +53,7 @@ anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
expand_mode = 1
stretch_mode = 6
[node name="Logo" type="TextureRect" parent="."]
layout_mode = 0
@ -206,33 +208,14 @@ label_settings = SubResource("LabelSettings_dkd36")
horizontal_alignment = 1
vertical_alignment = 1
[node name="Label2" type="Label" parent="FreeRoamChooseScreen/DialogPanel"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -128.0
offset_top = -96.0
offset_right = 128.0
offset_bottom = -64.0
grow_horizontal = 2
grow_vertical = 2
text = "Map to load"
vertical_alignment = 1
[node name="MapSelector" type="OptionButton" parent="FreeRoamChooseScreen/DialogPanel"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -128.0
offset_top = -56.0
offset_right = 128.0
offset_bottom = -24.0
anchor_right = 1.0
offset_left = 8.0
offset_top = 120.0
offset_right = -8.0
offset_bottom = 152.0
grow_horizontal = 2
grow_vertical = 2
selected = 1
@ -255,19 +238,47 @@ popup/item_6/text = "Modded Maps"
popup/item_6/id = 3
popup/item_6/separator = true
[node name="LoadMapButton" type="Button" parent="FreeRoamChooseScreen/DialogPanel"]
[node name="MapThumbnail" type="TextureRect" parent="FreeRoamChooseScreen/DialogPanel"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -128.0
offset_top = -16.0
offset_right = 128.0
offset_bottom = 16.0
anchors_preset = -1
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 8.0
offset_top = 164.0
offset_right = -8.0
offset_bottom = -128.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("3_vaoig")
expand_mode = 1
stretch_mode = 6
[node name="DescriptionLabel" type="Label" parent="FreeRoamChooseScreen/DialogPanel"]
layout_mode = 1
anchors_preset = -1
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 8.0
offset_top = -120.0
offset_right = -8.0
offset_bottom = -44.0
text = "Select a map to view information!"
autowrap_mode = 2
text_overrun_behavior = 3
[node name="LoadMapButton" type="Button" parent="FreeRoamChooseScreen/DialogPanel"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -40.0
offset_right = -8.0
offset_bottom = -8.0
grow_horizontal = 0
grow_vertical = 0
text = "Load Map"
[node name="ModsScreen" type="Control" parent="."]
@ -975,6 +986,7 @@ vertical_alignment = 1
[connection signal="pressed" from="Buttons/SettingsButton" to="." method="_on_settings_button_pressed"]
[connection signal="pressed" from="Buttons/ExitButton" to="." method="_on_exit_button_pressed"]
[connection signal="pressed" from="FreeRoamChooseScreen/InputEater" to="." method="_on_input_eater_pressed"]
[connection signal="item_selected" from="FreeRoamChooseScreen/DialogPanel/MapSelector" to="." method="_on_map_selector_item_selected"]
[connection signal="pressed" from="FreeRoamChooseScreen/DialogPanel/LoadMapButton" to="." method="_on_load_map_button_pressed"]
[connection signal="pressed" from="ModsScreen/InputEater" to="." method="_on_input_eater_pressed"]
[connection signal="item_selected" from="ModsScreen/DialogPanel/ModList" to="." method="_on_mod_list_item_selected"]