added the game

This commit is contained in:
JHDev2006
2025-09-13 16:30:32 +01:00
parent 5ef689109b
commit 3773bdaf64
3616 changed files with 263702 additions and 0 deletions

View File

@@ -0,0 +1,154 @@
[gd_scene load_steps=10 format=3 uid="uid://8wnmuhtwu8ib"]
[ext_resource type="Script" uid="uid://cfoivmjplms0g" path="res://Scripts/UI/AchievementContainer.gd" id="1_mcb14"]
[ext_resource type="StyleBox" uid="uid://comkghpj0djcl" path="res://Resources/UI/Panel.tres" id="3_d3cm7"]
[ext_resource type="Script" uid="uid://cbal8ms2oe1ik" path="res://Scripts/Classes/Components/ResourceSetterNew.gd" id="4_pjc6k"]
[ext_resource type="Texture2D" uid="uid://bul3c11keqjfi" path="res://Assets/Sprites/UI/AchievementIcons.png" id="4_ptsd0"]
[ext_resource type="JSON" path="res://Assets/Sprites/UI/Cursor.json" id="5_0kyuu"]
[ext_resource type="Script" uid="uid://d63p6qr5a748" path="res://Scripts/UI/AutoScrollContainer.gd" id="5_pjc6k"]
[ext_resource type="Script" uid="uid://co6tjg3w6qpd8" path="res://Scripts/Parts/LabelFontChanger.gd" id="6_d3cm7"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_mcb14"]
bg_color = Color(0.27387273, 0.27387276, 0.27387264, 1)
expand_margin_bottom = 2.0
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_13icg"]
expand_margin_bottom = 2.0
[node name="AchievementContainer" type="HBoxContainer"]
anchors_preset = 10
anchor_right = 1.0
offset_bottom = 40.0
grow_horizontal = 2
focus_mode = 2
mouse_filter = 2
theme_override_constants/separation = 1
script = ExtResource("1_mcb14")
[node name="Cursor" type="TextureRect" parent="."]
unique_name_in_owner = true
layout_mode = 2
stretch_mode = 3
[node name="ResourceSetterNew" type="Node" parent="Cursor" node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("4_pjc6k")
node_to_affect = NodePath("..")
property_name = "texture"
mode = 1
resource_json = ExtResource("5_0kyuu")
use_cache = false
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
[node name="PanelContainer" type="PanelContainer" parent="."]
modulate = Color(0.5689727, 0.56897277, 0.5689727, 1)
layout_mode = 2
size_flags_horizontal = 3
mouse_filter = 2
theme_override_styles/panel = ExtResource("3_d3cm7")
[node name="MarginContainer" type="MarginContainer" parent="PanelContainer"]
layout_mode = 2
mouse_filter = 2
theme_override_constants/margin_left = -4
theme_override_constants/margin_top = -4
theme_override_constants/margin_right = 0
theme_override_constants/margin_bottom = -4
[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer/MarginContainer"]
layout_mode = 2
mouse_filter = 2
[node name="Icon" type="NinePatchRect" parent="PanelContainer/MarginContainer/HBoxContainer"]
unique_name_in_owner = true
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
texture = ExtResource("4_ptsd0")
region_rect = Rect2(0, 0, 32, 32)
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer/MarginContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
mouse_filter = 2
[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer/MarginContainer/HBoxContainer/VBoxContainer"]
layout_mode = 2
mouse_filter = 2
theme_override_constants/separation = 4
[node name="AutoScrollContainer2" type="ScrollContainer" parent="PanelContainer/MarginContainer/HBoxContainer/VBoxContainer/HBoxContainer"]
custom_minimum_size = Vector2(0, 16)
layout_mode = 2
size_flags_horizontal = 3
mouse_filter = 2
horizontal_scroll_mode = 3
vertical_scroll_mode = 0
script = ExtResource("5_pjc6k")
metadata/_custom_type_script = "uid://d63p6qr5a748"
[node name="Title" type="Label" parent="PanelContainer/MarginContainer/HBoxContainer/VBoxContainer/HBoxContainer/AutoScrollContainer2"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
text = "aaa"
uppercase = true
[node name="Progress" type="VBoxContainer" parent="PanelContainer/MarginContainer/HBoxContainer/VBoxContainer/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
mouse_filter = 2
theme_override_constants/separation = -4
[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer/MarginContainer/HBoxContainer/VBoxContainer/HBoxContainer/Progress"]
layout_mode = 2
mouse_filter = 2
theme_override_constants/separation = -8
[node name="TotalGot" type="Label" parent="PanelContainer/MarginContainer/HBoxContainer/VBoxContainer/HBoxContainer/Progress/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
text = "3"
[node name="TotalNeeded" type="Label" parent="PanelContainer/MarginContainer/HBoxContainer/VBoxContainer/HBoxContainer/Progress/HBoxContainer"]
unique_name_in_owner = true
modulate = Color(0.52906674, 0.5290667, 0.5290667, 1)
layout_mode = 2
text = "/32"
[node name="ProgressBar" type="ProgressBar" parent="PanelContainer/MarginContainer/HBoxContainer/VBoxContainer/HBoxContainer/Progress"]
unique_name_in_owner = true
layout_mode = 2
mouse_filter = 2
theme_override_styles/background = SubResource("StyleBoxFlat_mcb14")
theme_override_styles/fill = SubResource("StyleBoxFlat_13icg")
max_value = 32.0
value = 12.0
show_percentage = false
[node name="AutoScrollContainer" type="ScrollContainer" parent="PanelContainer/MarginContainer/HBoxContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 15)
layout_mode = 2
mouse_filter = 2
horizontal_scroll_mode = 3
vertical_scroll_mode = 3
script = ExtResource("5_pjc6k")
direction = 1
metadata/_custom_type_script = "uid://d63p6qr5a748"
[node name="Description" type="Label" parent="PanelContainer/MarginContainer/HBoxContainer/VBoxContainer/AutoScrollContainer"]
unique_name_in_owner = true
modulate = Color(0.45840502, 0.45840508, 0.45840502, 1)
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Achievement Desc"
autowrap_mode = 3
uppercase = true
[node name="LabelFontChanger" type="Node" parent="." node_paths=PackedStringArray("labels")]
script = ExtResource("6_d3cm7")
labels = [NodePath("../PanelContainer/MarginContainer/HBoxContainer/VBoxContainer/HBoxContainer/AutoScrollContainer2/Title"), NodePath("../PanelContainer/MarginContainer/HBoxContainer/VBoxContainer/HBoxContainer/Progress/HBoxContainer/TotalGot"), NodePath("../PanelContainer/MarginContainer/HBoxContainer/VBoxContainer/HBoxContainer/Progress/HBoxContainer/TotalNeeded"), NodePath("../PanelContainer/MarginContainer/HBoxContainer/VBoxContainer/AutoScrollContainer/Description")]
metadata/_custom_type_script = "uid://co6tjg3w6qpd8"
[connection signal="focus_entered" from="." to="." method="set_active" binds= [true]]
[connection signal="focus_exited" from="." to="." method="set_active" binds= [false]]
[connection signal="ready" from="." to="." method="grab_focus"]

View File

@@ -0,0 +1,231 @@
[gd_scene load_steps=12 format=3 uid="uid://ud3ktt2adw8l"]
[ext_resource type="Script" uid="uid://dmp6qqm3q16pc" path="res://Scripts/UI/AchievementUnlockPopup.gd" id="1_uc4d1"]
[ext_resource type="StyleBox" uid="uid://comkghpj0djcl" path="res://Resources/UI/Panel.tres" id="1_x3tc0"]
[ext_resource type="Texture2D" uid="uid://bul3c11keqjfi" path="res://Assets/Sprites/UI/AchievementIcons.png" id="2_uc4d1"]
[ext_resource type="AudioStream" uid="uid://yxb07387lw0o" path="res://Assets/Audio/SFX/AchievementUnlock.wav" id="3_r2311"]
[ext_resource type="Script" uid="uid://co6tjg3w6qpd8" path="res://Scripts/Parts/LabelFontChanger.gd" id="5_01gcg"]
[ext_resource type="Script" uid="uid://dmtw1jesw1vl7" path="res://Scripts/Classes/Components/PackStreamPlayer.gd" id="5_ok8j7"]
[sub_resource type="StyleBoxLine" id="StyleBoxLine_wsi03"]
color = Color(1, 1, 1, 1)
grow_begin = -4.0
grow_end = -5.0
[sub_resource type="Animation" id="Animation_twc32"]
resource_name = "Appear"
length = 3.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("SFX:playing")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [true]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Control:position")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.5, 3.0000002, 3.5000002),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"update": 0,
"values": [Vector2(0, 96), Vector2(0, 0), Vector2(0, 0), Vector2(0, 96)]
}
[sub_resource type="Animation" id="Animation_uc4d1"]
resource_name = "AppearLong"
length = 5.0
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("SFX:playing")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [true]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Control:position")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.5, 4.5, 5),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"update": 0,
"values": [Vector2(0, 96), Vector2(0, 0), Vector2(0, 0), Vector2(0, 96)]
}
[sub_resource type="Animation" id="Animation_wjo1g"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("SFX:playing")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [false]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Control:position")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(0, 96)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_wsi03"]
_data = {
&"Appear": SubResource("Animation_twc32"),
&"AppearLong": SubResource("Animation_uc4d1"),
&"RESET": SubResource("Animation_wjo1g")
}
[node name="AchievementUnlock" type="Control"]
layout_mode = 3
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 0
grow_vertical = 0
script = ExtResource("1_uc4d1")
[node name="Control" type="Control" parent="."]
anchors_preset = 0
offset_top = 96.0
offset_bottom = 96.0
[node name="Panel" type="PanelContainer" parent="Control"]
self_modulate = Color(1, 1, 1, 0.8)
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -128.0
offset_top = -64.0
grow_horizontal = 0
grow_vertical = 0
theme_override_styles/panel = ExtResource("1_x3tc0")
[node name="MarginContainer" type="MarginContainer" parent="Control/Panel"]
layout_mode = 2
theme_override_constants/margin_left = 0
theme_override_constants/margin_top = -8
theme_override_constants/margin_right = 0
theme_override_constants/margin_bottom = -8
[node name="VBoxContainer" type="VBoxContainer" parent="Control/Panel/MarginContainer"]
layout_mode = 2
theme_override_constants/separation = -5
[node name="Label" type="Label" parent="Control/Panel/MarginContainer/VBoxContainer"]
layout_mode = 2
text = "ACHIEVEMENT_UNLOCK"
horizontal_alignment = 1
uppercase = true
[node name="HSeparator" type="HSeparator" parent="Control/Panel/MarginContainer/VBoxContainer/Label"]
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -4.0
grow_horizontal = 2
grow_vertical = 0
theme_override_styles/separator = SubResource("StyleBoxLine_wsi03")
[node name="HBoxContainer" type="HBoxContainer" parent="Control/Panel/MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 6
alignment = 1
[node name="Icon" type="NinePatchRect" parent="Control/Panel/MarginContainer/VBoxContainer/HBoxContainer"]
unique_name_in_owner = true
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
size_flags_horizontal = 0
texture = ExtResource("2_uc4d1")
region_rect = Rect2(0, 0, 32, 32)
[node name="Icon2" type="NinePatchRect" parent="Control/Panel/MarginContainer/VBoxContainer/HBoxContainer"]
unique_name_in_owner = true
visible = false
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
size_flags_horizontal = 0
texture = ExtResource("2_uc4d1")
region_rect = Rect2(0, 0, 32, 32)
[node name="Icon3" type="NinePatchRect" parent="Control/Panel/MarginContainer/VBoxContainer/HBoxContainer"]
unique_name_in_owner = true
visible = false
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
size_flags_horizontal = 0
texture = ExtResource("2_uc4d1")
region_rect = Rect2(0, 0, 32, 32)
[node name="Icon4" type="NinePatchRect" parent="Control/Panel/MarginContainer/VBoxContainer/HBoxContainer"]
unique_name_in_owner = true
visible = false
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
size_flags_horizontal = 0
texture = ExtResource("2_uc4d1")
region_rect = Rect2(0, 0, 32, 32)
[node name="Extra" type="Label" parent="Control/Panel/MarginContainer/VBoxContainer/HBoxContainer"]
unique_name_in_owner = true
visible = false
layout_mode = 2
text = "+1"
[node name="AchievementName" type="Label" parent="Control/Panel/MarginContainer/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
text = "aaaaaaaaaaaaaaaaa"
horizontal_alignment = 1
text_overrun_behavior = 3
uppercase = true
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
&"": SubResource("AnimationLibrary_wsi03")
}
[node name="SFX" type="AudioStreamPlayer" parent="."]
stream = ExtResource("3_r2311")
bus = &"SFX"
script = ExtResource("5_ok8j7")
[node name="LabelFontChanger" type="Node" parent="." node_paths=PackedStringArray("labels")]
script = ExtResource("5_01gcg")
labels = [NodePath("../Control/Panel/MarginContainer/VBoxContainer/Label"), NodePath("../Control/Panel/MarginContainer/VBoxContainer/HBoxContainer/Extra"), NodePath("../Control/Panel/MarginContainer/VBoxContainer/AchievementName")]
metadata/_custom_type_script = "uid://co6tjg3w6qpd8"

View File

@@ -0,0 +1,114 @@
[gd_scene load_steps=8 format=3 uid="uid://dekuqrdjmnr1m"]
[ext_resource type="Script" uid="uid://by48a8oa5hefr" path="res://Scripts/UI/StoryPause.gd" id="1_nyd8q"]
[ext_resource type="StyleBox" uid="uid://comkghpj0djcl" path="res://Resources/UI/Panel.tres" id="2_owmu6"]
[ext_resource type="Script" uid="uid://cbal8ms2oe1ik" path="res://Scripts/Classes/Components/ResourceSetterNew.gd" id="4_1ufde"]
[ext_resource type="Texture2D" uid="uid://3p2l7rec0gh5" path="res://Assets/Sprites/UI/Cursor.png" id="4_owmu6"]
[ext_resource type="JSON" path="res://Assets/Sprites/UI/Cursor.json" id="5_k7wpt"]
[ext_resource type="Script" uid="uid://co6tjg3w6qpd8" path="res://Scripts/Parts/LabelFontChanger.gd" id="7_38ivy"]
[ext_resource type="PackedScene" uid="uid://dnksdgorle8su" path="res://Scenes/Prefabs/UI/SettingsMenu.tscn" id="11_k7wpt"]
[node name="PauseMenu" type="Control" node_paths=PackedStringArray("options")]
process_mode = 3
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_nyd8q")
options = [NodePath("Control/PanelContainer/MarginContainer/VBoxContainer/Label"), NodePath("Control/PanelContainer/MarginContainer/VBoxContainer/Label2"), NodePath("Control/PanelContainer/MarginContainer/VBoxContainer/Label4"), NodePath("Control/PanelContainer/MarginContainer/VBoxContainer/Label3")]
[node name="Control" type="Control" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -68.0
offset_top = -36.0
offset_right = 68.0
offset_bottom = 36.0
grow_horizontal = 2
grow_vertical = 2
[node name="PanelContainer" type="PanelContainer" parent="Control"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = ExtResource("2_owmu6")
[node name="MarginContainer" type="MarginContainer" parent="Control/PanelContainer"]
layout_mode = 2
theme_override_constants/margin_left = 8
[node name="VBoxContainer" type="VBoxContainer" parent="Control/PanelContainer/MarginContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="Control/PanelContainer/MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 7
text = "PAUSE_RESUME"
uppercase = true
[node name="Label2" type="Label" parent="Control/PanelContainer/MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 7
text = "PAUSE_RESTART"
uppercase = true
[node name="Label4" type="Label" parent="Control/PanelContainer/MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 7
text = "MENU_SETTINGS"
uppercase = true
[node name="Label3" type="Label" parent="Control/PanelContainer/MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 7
text = "PAUSE_QUIT"
uppercase = true
[node name="Cursor" type="TextureRect" parent="Control"]
layout_mode = 0
offset_left = 6.0
offset_top = 16.0
offset_right = 14.0
offset_bottom = 24.0
texture = ExtResource("4_owmu6")
stretch_mode = 2
[node name="ResourceSetter" type="Node" parent="Control/Cursor" node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("4_1ufde")
node_to_affect = NodePath("..")
property_name = "texture"
mode = 1
resource_json = ExtResource("5_k7wpt")
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
[node name="LabelFontChanger" type="Node" parent="." node_paths=PackedStringArray("labels")]
script = ExtResource("7_38ivy")
labels = [NodePath("../Control/PanelContainer/MarginContainer/VBoxContainer/Label"), NodePath("../Control/PanelContainer/MarginContainer/VBoxContainer/Label2"), NodePath("../Control/PanelContainer/MarginContainer/VBoxContainer/Label3"), NodePath("../Control/PanelContainer/MarginContainer/VBoxContainer/Label4")]
metadata/_custom_type_script = "uid://co6tjg3w6qpd8"
[node name="SettingsMenu" parent="." node_paths=PackedStringArray("disabled_containers") instance=ExtResource("11_k7wpt")]
layout_mode = 1
disabled_containers = [NodePath("PanelContainer/MarginContainer/VBoxContainer/Difficulty"), NodePath("PanelContainer/MarginContainer/VBoxContainer/Data")]
[node name="Label" parent="SettingsMenu/PanelContainer/MarginContainer/VBoxContainer/ResourcePacks" index="0"]
visible = true
[node name="LabelFontChanger" parent="SettingsMenu" index="1" node_paths=PackedStringArray("labels")]
labels = [NodePath("../PanelContainer/MarginContainer/VBoxContainer/Title"), NodePath("../PanelContainer/MarginContainer/VBoxContainer/CategorySelect/HBoxContainer/Category"), null, null, null, null, null, null, null, NodePath("../PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode/Value"), null, NodePath("../PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode2/Value"), null, NodePath("../PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode3/Value"), NodePath("../PanelContainer/MarginContainer/VBoxContainer/Difficulty/Description/AutoScrollContainer/MarginContainer/Desc")]
[connection signal="option_3_selected" from="." to="." method="open_settings"]
[editable path="SettingsMenu"]
[editable path="SettingsMenu/PanelContainer/MarginContainer/VBoxContainer/Video/Language"]
[editable path="SettingsMenu/PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode"]
[editable path="SettingsMenu/PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode2"]
[editable path="SettingsMenu/PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode3"]

View File

@@ -0,0 +1,46 @@
[gd_scene load_steps=3 format=3 uid="uid://b4fv851s0h11f"]
[ext_resource type="PackedScene" uid="uid://dekuqrdjmnr1m" path="res://Scenes/Prefabs/UI/BasePauseMenu.tscn" id="1_rf1ii"]
[sub_resource type="GDScript" id="GDScript_3lwy2"]
script/source = "extends Node
func restart_race() -> void:
AudioManager.stop_all_music()
Global.reset_values()
Global.clear_saved_values()
Global.transition_to_scene(Global.current_level.scene_file_path)
func quit_to_menu() -> void:
AudioManager.stop_all_music()
Global.transition_to_scene(\"res://Scenes/Levels/BooRaceMenu.tscn\")
get_tree().paused = true
await Global.current_level.tree_exited
get_tree().paused = false
"
[node name="PauseMenu" instance=ExtResource("1_rf1ii")]
[node name="Label2" parent="Control/PanelContainer/MarginContainer/VBoxContainer" index="1"]
text = "PAUSE_RACE_RESTART"
[node name="Cursor" parent="Control" index="1"]
offset_left = 0.0
offset_top = 0.0
offset_right = 8.0
offset_bottom = 8.0
[node name="Handler" type="Node" parent="." index="2"]
script = SubResource("GDScript_3lwy2")
[connection signal="option_1_selected" from="." to="." method="close"]
[connection signal="option_2_selected" from="." to="." method="close"]
[connection signal="option_2_selected" from="." to="Handler" method="restart_race"]
[connection signal="option_4_selected" from="." to="." method="close"]
[connection signal="option_4_selected" from="." to="Handler" method="quit_to_menu"]
[editable path="SettingsMenu"]
[editable path="SettingsMenu/PanelContainer/MarginContainer/VBoxContainer/Video/Language"]
[editable path="SettingsMenu/PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode"]
[editable path="SettingsMenu/PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode2"]
[editable path="SettingsMenu/PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode3"]

View File

@@ -0,0 +1,208 @@
[gd_scene load_steps=12 format=3 uid="uid://bxp1l23w1kq41"]
[ext_resource type="Script" uid="uid://di5w6db0ha2oa" path="res://Scripts/UI/BooSelect.gd" id="1_teyj1"]
[ext_resource type="StyleBox" uid="uid://comkghpj0djcl" path="res://Resources/UI/Panel.tres" id="2_teyj1"]
[ext_resource type="Texture2D" uid="uid://dtemc0qgag20j" path="res://Assets/Sprites/UI/BooIcon.png" id="3_teyj1"]
[ext_resource type="Script" uid="uid://co6tjg3w6qpd8" path="res://Scripts/Parts/LabelFontChanger.gd" id="4_8f5ot"]
[ext_resource type="Script" uid="uid://ca3bew33g45eq" path="res://Scripts/Classes/UI/PackTextureRect.gd" id="4_ykvrv"]
[sub_resource type="StyleBoxLine" id="StyleBoxLine_k7cgt"]
color = Color(1, 1, 1, 1)
[sub_resource type="AtlasTexture" id="AtlasTexture_1vgde"]
atlas = ExtResource("3_teyj1")
region = Rect2(0, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_8f5ot"]
atlas = ExtResource("3_teyj1")
region = Rect2(16, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_ykvrv"]
atlas = ExtResource("3_teyj1")
region = Rect2(32, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_1yet1"]
atlas = ExtResource("3_teyj1")
region = Rect2(48, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_tbaqk"]
atlas = ExtResource("3_teyj1")
region = Rect2(64, 0, 16, 16)
[node name="WorldSelect" type="Control"]
layout_mode = 3
anchors_preset = 0
offset_right = 104.0
offset_bottom = 56.0
focus_mode = 2
script = ExtResource("1_teyj1")
[node name="PanelContainer" type="PanelContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = ExtResource("2_teyj1")
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="PanelContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
text = "MENU_SELECT_BOO"
horizontal_alignment = 1
uppercase = true
[node name="HSeparator" type="HSeparator" parent="PanelContainer/VBoxContainer/Label"]
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -4.0
grow_horizontal = 2
grow_vertical = 0
theme_override_styles/separator = SubResource("StyleBoxLine_k7cgt")
[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
alignment = 1
[node name="Boo1" type="TextureRect" parent="PanelContainer/VBoxContainer/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 0
texture = SubResource("AtlasTexture_1vgde")
stretch_mode = 3
script = ExtResource("4_ykvrv")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Cursor" type="Label" parent="PanelContainer/VBoxContainer/HBoxContainer/Boo1"]
layout_mode = 1
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -8.0
offset_top = -16.0
offset_right = 8.0
offset_bottom = 12.0
grow_horizontal = 2
grow_vertical = 0
text = "^"
vertical_alignment = 2
uppercase = true
[node name="Boo2" type="TextureRect" parent="PanelContainer/VBoxContainer/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 0
texture = SubResource("AtlasTexture_8f5ot")
stretch_mode = 3
script = ExtResource("4_ykvrv")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Cursor" type="Label" parent="PanelContainer/VBoxContainer/HBoxContainer/Boo2"]
layout_mode = 1
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -8.0
offset_top = -16.0
offset_right = 8.0
offset_bottom = 12.0
grow_horizontal = 2
grow_vertical = 0
text = "^"
vertical_alignment = 2
uppercase = true
[node name="Boo3" type="TextureRect" parent="PanelContainer/VBoxContainer/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 0
texture = SubResource("AtlasTexture_ykvrv")
stretch_mode = 3
script = ExtResource("4_ykvrv")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Cursor" type="Label" parent="PanelContainer/VBoxContainer/HBoxContainer/Boo3"]
layout_mode = 1
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -8.0
offset_top = -16.0
offset_right = 8.0
offset_bottom = 12.0
grow_horizontal = 2
grow_vertical = 0
text = "^"
vertical_alignment = 2
uppercase = true
[node name="Boo4" type="TextureRect" parent="PanelContainer/VBoxContainer/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 0
texture = SubResource("AtlasTexture_1yet1")
stretch_mode = 3
script = ExtResource("4_ykvrv")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Cursor" type="Label" parent="PanelContainer/VBoxContainer/HBoxContainer/Boo4"]
layout_mode = 1
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -8.0
offset_top = -16.0
offset_right = 8.0
offset_bottom = 12.0
grow_horizontal = 2
grow_vertical = 0
text = "^"
vertical_alignment = 2
uppercase = true
[node name="Boo5" type="TextureRect" parent="PanelContainer/VBoxContainer/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 0
texture = SubResource("AtlasTexture_tbaqk")
stretch_mode = 3
script = ExtResource("4_ykvrv")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Cursor" type="Label" parent="PanelContainer/VBoxContainer/HBoxContainer/Boo5"]
layout_mode = 1
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -8.0
offset_top = -16.0
offset_right = 8.0
offset_bottom = 12.0
grow_horizontal = 2
grow_vertical = 0
text = "^"
vertical_alignment = 2
uppercase = true
[node name="LabelFontChanger" type="Node" parent="." node_paths=PackedStringArray("labels")]
script = ExtResource("4_8f5ot")
labels = [NodePath("../PanelContainer/VBoxContainer/Label"), NodePath("../PanelContainer/VBoxContainer/HBoxContainer/Boo1/Cursor"), NodePath("../PanelContainer/VBoxContainer/HBoxContainer/Boo2/Cursor"), NodePath("../PanelContainer/VBoxContainer/HBoxContainer/Boo3/Cursor"), NodePath("../PanelContainer/VBoxContainer/HBoxContainer/Boo4/Cursor"), NodePath("../PanelContainer/VBoxContainer/HBoxContainer/Boo5/Cursor")]
metadata/_custom_type_script = "uid://co6tjg3w6qpd8"

View File

@@ -0,0 +1,219 @@
[gd_scene load_steps=14 format=3 uid="uid://c7w8dmlmj0hoh"]
[ext_resource type="Script" uid="uid://cae4v54jq1gs3" path="res://Scripts/UI/CampaignSelect.gd" id="1_ngr5x"]
[ext_resource type="StyleBox" uid="uid://comkghpj0djcl" path="res://Resources/UI/Panel.tres" id="2_36wrd"]
[ext_resource type="Texture2D" uid="uid://v2lub78wus46" path="res://Assets/Sprites/UI/CampaignIcons.png" id="3_6ft85"]
[ext_resource type="Script" uid="uid://ca3bew33g45eq" path="res://Scripts/Classes/UI/PackTextureRect.gd" id="4_uaivh"]
[ext_resource type="Script" uid="uid://co6tjg3w6qpd8" path="res://Scripts/Parts/LabelFontChanger.gd" id="6_1wxv0"]
[ext_resource type="Resource" uid="uid://8dcuxbc3h2u2" path="res://Resources/ThemedResources/Font.tres" id="7_l766q"]
[sub_resource type="AtlasTexture" id="AtlasTexture_6ft85"]
atlas = ExtResource("3_6ft85")
region = Rect2(0, 0, 68, 68)
[sub_resource type="AtlasTexture" id="AtlasTexture_uaivh"]
atlas = ExtResource("3_6ft85")
region = Rect2(68, 0, 68, 68)
[sub_resource type="AtlasTexture" id="AtlasTexture_l766q"]
atlas = ExtResource("3_6ft85")
region = Rect2(136, 0, 68, 68)
[sub_resource type="AtlasTexture" id="AtlasTexture_n66kg"]
atlas = ExtResource("3_6ft85")
region = Rect2(204, 0, 68, 68)
[sub_resource type="AtlasTexture" id="AtlasTexture_q8lhv"]
atlas = ExtResource("3_6ft85")
region = Rect2(272, 0, 68, 68)
[sub_resource type="StyleBoxLine" id="StyleBoxLine_0j631"]
color = Color(1, 1, 1, 1)
[sub_resource type="AtlasTexture" id="AtlasTexture_1wxv0"]
atlas = ExtResource("3_6ft85")
region = Rect2(0, 0, 68, 68)
[node name="CampaignSelect" type="Control"]
layout_mode = 3
anchors_preset = 0
offset_right = 256.0
offset_bottom = 128.0
script = ExtResource("1_ngr5x")
campaign_icons = Array[Texture2D]([SubResource("AtlasTexture_6ft85"), SubResource("AtlasTexture_uaivh"), SubResource("AtlasTexture_l766q"), SubResource("AtlasTexture_n66kg"), SubResource("AtlasTexture_q8lhv")])
campaign = ["SMB1", "SMBLL", "SMBS", "SMBANN", "SMB1"]
[node name="PanelContainer" type="PanelContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = ExtResource("2_36wrd")
[node name="MarginContainer" type="MarginContainer" parent="PanelContainer"]
layout_mode = 2
theme_override_constants/margin_left = -4
theme_override_constants/margin_right = -4
theme_override_constants/margin_bottom = -8
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer/MarginContainer"]
layout_mode = 2
theme_override_constants/separation = -4
[node name="SelectWorld" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
text = "MENU_GAME_SELECT"
horizontal_alignment = 1
uppercase = true
[node name="HSeparator" type="HSeparator" parent="PanelContainer/MarginContainer/VBoxContainer/SelectWorld"]
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -4.0
grow_horizontal = 2
grow_vertical = 0
theme_override_styles/separator = SubResource("StyleBoxLine_0j631")
[node name="Buffer" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 9)
layout_mode = 2
[node name="CampaignNames" type="BoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer"]
unique_name_in_owner = true
custom_minimum_size = Vector2(0, 16)
layout_mode = 2
alignment = 1
[node name="SMB1" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/CampaignNames"]
custom_minimum_size = Vector2(190, 32)
layout_mode = 2
size_flags_horizontal = 5
size_flags_vertical = 0
theme_override_colors/font_shadow_color = Color(0.5254902, 0.19215687, 0.05490196, 1)
text = "CAMPAIGN_SMB1"
horizontal_alignment = 1
vertical_alignment = 1
autowrap_mode = 2
uppercase = true
[node name="SMBLL" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/CampaignNames"]
visible = false
custom_minimum_size = Vector2(164, 32)
layout_mode = 2
size_flags_horizontal = 5
size_flags_vertical = 0
theme_override_colors/font_shadow_color = Color(0.12941177, 0.6784314, 0.0627451, 1)
text = "CAMPAIGN_SMBLL"
horizontal_alignment = 1
vertical_alignment = 1
autowrap_mode = 2
uppercase = true
[node name="SMBS" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/CampaignNames"]
visible = false
custom_minimum_size = Vector2(190, 32)
layout_mode = 2
size_flags_horizontal = 5
size_flags_vertical = 0
theme_override_colors/font_shadow_color = Color(0.25882354, 0.25882354, 1, 1)
text = "CAMPAIGN_SMBS"
horizontal_alignment = 1
vertical_alignment = 1
autowrap_mode = 2
uppercase = true
[node name="SMBANN" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/CampaignNames"]
visible = false
custom_minimum_size = Vector2(190, 32)
layout_mode = 2
size_flags_horizontal = 5
size_flags_vertical = 0
theme_override_colors/font_shadow_color = Color(1, 0.25882354, 1, 1)
text = "CAMPAIGN_SMBANN"
horizontal_alignment = 1
vertical_alignment = 1
autowrap_mode = 2
uppercase = true
[node name="Custom" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/CampaignNames"]
visible = false
custom_minimum_size = Vector2(190, 32)
layout_mode = 2
size_flags_horizontal = 5
size_flags_vertical = 0
theme_override_colors/font_shadow_color = Color(0.8901961, 0.54901963, 0.22352941, 1)
text = "CUSTOM_LEVELS"
horizontal_alignment = 1
vertical_alignment = 1
autowrap_mode = 2
uppercase = true
[node name="Buffer2" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 9)
layout_mode = 2
[node name="MarginContainer" type="MarginContainer" parent="PanelContainer/MarginContainer/VBoxContainer"]
layout_mode = 2
theme_override_constants/margin_left = 4
theme_override_constants/margin_right = 4
[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer/MarginContainer"]
custom_minimum_size = Vector2(0, 80)
layout_mode = 2
size_flags_vertical = 3
alignment = 1
[node name="Left" type="TextureRect" parent="PanelContainer/MarginContainer/VBoxContainer/MarginContainer/HBoxContainer"]
unique_name_in_owner = true
modulate = Color(0.5370987, 0.5370987, 0.5370987, 1)
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 4
texture = SubResource("AtlasTexture_1wxv0")
stretch_mode = 2
script = ExtResource("4_uaivh")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Middle" type="TextureRect" parent="PanelContainer/MarginContainer/VBoxContainer/MarginContainer/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 0
texture = SubResource("AtlasTexture_1wxv0")
stretch_mode = 2
script = ExtResource("4_uaivh")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Right" type="TextureRect" parent="PanelContainer/MarginContainer/VBoxContainer/MarginContainer/HBoxContainer"]
unique_name_in_owner = true
modulate = Color(0.5411765, 0.5411765, 0.5411765, 1)
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 4
texture = SubResource("AtlasTexture_1wxv0")
stretch_mode = 2
script = ExtResource("4_uaivh")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Buffer3" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer"]
layout_mode = 2
[node name="BarLabel" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 3
text = "◄--┼--►"
horizontal_alignment = 1
vertical_alignment = 2
[node name="LabelFontChanger" type="Node" parent="." node_paths=PackedStringArray("labels")]
script = ExtResource("6_1wxv0")
labels = [NodePath("../PanelContainer/MarginContainer/VBoxContainer/CampaignNames/SMB1"), NodePath("../PanelContainer/MarginContainer/VBoxContainer/SelectWorld"), NodePath("../PanelContainer/MarginContainer/VBoxContainer/CampaignNames/SMBLL"), NodePath("../PanelContainer/MarginContainer/VBoxContainer/CampaignNames/SMBS"), NodePath("../PanelContainer/MarginContainer/VBoxContainer/CampaignNames/SMBANN"), NodePath("../PanelContainer/MarginContainer/VBoxContainer/CampaignNames/Custom"), NodePath("../PanelContainer/MarginContainer/VBoxContainer/BarLabel")]
resource = ExtResource("7_l766q")
metadata/_custom_type_script = "uid://co6tjg3w6qpd8"

View File

@@ -0,0 +1,109 @@
[gd_scene load_steps=9 format=3 uid="uid://jv82ssp7gwn4"]
[ext_resource type="Script" uid="uid://by48a8oa5hefr" path="res://Scripts/UI/StoryPause.gd" id="1_1nlpt"]
[ext_resource type="StyleBox" uid="uid://comkghpj0djcl" path="res://Resources/UI/Panel.tres" id="2_37ia2"]
[ext_resource type="Texture2D" uid="uid://3p2l7rec0gh5" path="res://Assets/Sprites/UI/Cursor.png" id="3_kjo5s"]
[ext_resource type="Script" uid="uid://cbal8ms2oe1ik" path="res://Scripts/Classes/Components/ResourceSetterNew.gd" id="4_r6n62"]
[ext_resource type="JSON" path="res://Assets/Sprites/UI/Cursor.json" id="5_f5hk3"]
[ext_resource type="Script" uid="uid://co6tjg3w6qpd8" path="res://Scripts/Parts/LabelFontChanger.gd" id="6_6v5ys"]
[ext_resource type="Resource" uid="uid://8dcuxbc3h2u2" path="res://Resources/ThemedResources/Font.tres" id="7_g5edx"]
[ext_resource type="PackedScene" uid="uid://dnksdgorle8su" path="res://Scenes/Prefabs/UI/SettingsMenu.tscn" id="8_s7xbe"]
[node name="PauseMenu" type="Control" node_paths=PackedStringArray("options")]
process_mode = 3
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_1nlpt")
options = [NodePath("Control/PanelContainer/MarginContainer/VBoxContainer/Label"), NodePath("Control/PanelContainer/MarginContainer/VBoxContainer/Label2"), NodePath("Control/PanelContainer/MarginContainer/VBoxContainer/Label3")]
is_pause = false
[node name="Control" type="Control" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -68.0
offset_top = -36.0
offset_right = 68.0
offset_bottom = 24.0
grow_horizontal = 2
grow_vertical = 2
[node name="PanelContainer" type="PanelContainer" parent="Control"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = ExtResource("2_37ia2")
[node name="MarginContainer" type="MarginContainer" parent="Control/PanelContainer"]
layout_mode = 2
theme_override_constants/margin_left = 8
[node name="VBoxContainer" type="VBoxContainer" parent="Control/PanelContainer/MarginContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="Control/PanelContainer/MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 7
text = "PAUSE_RETRY"
uppercase = true
[node name="Label2" type="Label" parent="Control/PanelContainer/MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 7
text = "PAUSE_SELECT_LEVEL"
uppercase = true
[node name="Label3" type="Label" parent="Control/PanelContainer/MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 7
text = "PAUSE_QUIT"
uppercase = true
[node name="Cursor" type="TextureRect" parent="Control"]
layout_mode = 0
offset_left = 6.0
offset_top = 16.0
offset_right = 14.0
offset_bottom = 24.0
texture = ExtResource("3_kjo5s")
stretch_mode = 2
[node name="ResourceSetter" type="Node" parent="Control/Cursor" node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("4_r6n62")
node_to_affect = NodePath("..")
property_name = "texture"
mode = 1
resource_json = ExtResource("5_f5hk3")
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
[node name="LabelFontChanger" type="Node" parent="." node_paths=PackedStringArray("labels")]
script = ExtResource("6_6v5ys")
labels = [NodePath("../Control/PanelContainer/MarginContainer/VBoxContainer/Label"), NodePath("../Control/PanelContainer/MarginContainer/VBoxContainer/Label2"), NodePath("../Control/PanelContainer/MarginContainer/VBoxContainer/Label3"), null]
resource = ExtResource("7_g5edx")
metadata/_custom_type_script = "uid://co6tjg3w6qpd8"
[node name="SettingsMenu" parent="." node_paths=PackedStringArray("disabled_containers") instance=ExtResource("8_s7xbe")]
layout_mode = 1
disabled_containers = [NodePath("PanelContainer/MarginContainer/VBoxContainer/Difficulty")]
[node name="Label" parent="SettingsMenu/PanelContainer/MarginContainer/VBoxContainer/ResourcePacks" index="0"]
visible = true
[node name="LabelFontChanger" parent="SettingsMenu" index="1" node_paths=PackedStringArray("labels")]
labels = [NodePath("../PanelContainer/MarginContainer/VBoxContainer/Title"), NodePath("../PanelContainer/MarginContainer/VBoxContainer/CategorySelect/HBoxContainer/Category"), null, null, null, null, null, null, null, NodePath("../PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode/Value"), null, NodePath("../PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode2/Value"), null, NodePath("../PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode3/Value"), NodePath("../PanelContainer/MarginContainer/VBoxContainer/Difficulty/Description/AutoScrollContainer/MarginContainer/Desc")]
[editable path="SettingsMenu"]
[editable path="SettingsMenu/PanelContainer/MarginContainer/VBoxContainer/Video/Language"]
[editable path="SettingsMenu/PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode"]
[editable path="SettingsMenu/PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode2"]
[editable path="SettingsMenu/PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode3"]

View File

@@ -0,0 +1,198 @@
[gd_scene load_steps=14 format=3 uid="uid://ci678koo0peoa"]
[ext_resource type="Theme" uid="uid://dtn507x2b5de7" path="res://Resources/Theme.tres" id="1_b1bds"]
[ext_resource type="Script" uid="uid://d0f4edmfxs2pu" path="res://Scripts/UI/CharacterSelect.gd" id="1_en0c6"]
[ext_resource type="StyleBox" uid="uid://comkghpj0djcl" path="res://Resources/UI/Panel.tres" id="3_8l01y"]
[ext_resource type="Texture2D" uid="uid://hu770pufown3" path="res://Assets/Sprites/UI/CharacterSelectSpotlight.png" id="4_mgr7r"]
[ext_resource type="SpriteFrames" uid="uid://df4enjjl84mji" path="res://Resources/SpriteFrames/Player/Mario/Small.tres" id="5_l7t2o"]
[ext_resource type="Script" uid="uid://dt2p68xl462v2" path="res://Scripts/Parts/TextShadowColourChanger.gd" id="6_0j631"]
[ext_resource type="Script" uid="uid://b08qfwj5jk6g1" path="res://Scripts/Parts/PlayerSprite.gd" id="6_0oqrn"]
[ext_resource type="JSON" path="res://Assets/Sprites/Players/Mario/CharacterInfo.json" id="7_agtau"]
[ext_resource type="Script" uid="uid://dwtrmo82e12ud" path="res://Scripts/Parts/ColourPaletteSampler.gd" id="7_mgr7r"]
[ext_resource type="Script" uid="uid://co6tjg3w6qpd8" path="res://Scripts/Parts/LabelFontChanger.gd" id="10_agtau"]
[ext_resource type="Script" uid="uid://cbal8ms2oe1ik" path="res://Scripts/Classes/Components/ResourceSetterNew.gd" id="14_a25p8"]
[sub_resource type="StyleBoxLine" id="StyleBoxLine_2ehcx"]
color = Color(1, 1, 1, 1)
[sub_resource type="StyleBoxLine" id="StyleBoxLine_agtau"]
color = Color(1, 1, 1, 1)
[node name="CharacterSelect" type="Control"]
layout_mode = 3
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -88.0
offset_top = -48.0
offset_right = 88.0
offset_bottom = 48.0
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("1_b1bds")
script = ExtResource("1_en0c6")
[node name="Panel" type="PanelContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = ExtResource("3_8l01y")
[node name="MarginContainer" type="MarginContainer" parent="Panel"]
layout_mode = 2
theme_override_constants/margin_left = -4
theme_override_constants/margin_top = -4
theme_override_constants/margin_right = -4
theme_override_constants/margin_bottom = -4
[node name="VBoxContainer" type="VBoxContainer" parent="Panel/MarginContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
text = "MENU_CHARA_SELECT"
uppercase = true
[node name="HSeparator" type="HSeparator" parent="Panel/MarginContainer/VBoxContainer/Label"]
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -4.0
grow_horizontal = 2
grow_vertical = 0
theme_override_styles/separator = SubResource("StyleBoxLine_2ehcx")
[node name="Spotlight" type="TextureRect" parent="Panel/MarginContainer/VBoxContainer"]
self_modulate = Color(0.96862745, 0.22352941, 0.0627451, 1)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 0
texture = ExtResource("4_mgr7r")
stretch_mode = 2
[node name="ColourPaletteSampler" type="Node" parent="Panel/MarginContainer/VBoxContainer/Spotlight" node_paths=PackedStringArray("node_to_affect")]
unique_name_in_owner = true
script = ExtResource("7_mgr7r")
node_to_affect = NodePath("..")
value_to_set = "self_modulate"
metadata/_custom_type_script = "uid://dwtrmo82e12ud"
[node name="PlayerColourTexture" type="Node" parent="Panel/MarginContainer/VBoxContainer/Spotlight/ColourPaletteSampler" node_paths=PackedStringArray("node_to_affect")]
unique_name_in_owner = true
script = ExtResource("14_a25p8")
node_to_affect = NodePath("..")
property_name = "texture"
mode = 1
resource_json = ExtResource("7_agtau")
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
[node name="Left" type="AnimatedSprite2D" parent="Panel/MarginContainer/VBoxContainer/Spotlight" node_paths=PackedStringArray("resource_setter")]
unique_name_in_owner = true
modulate = Color(0.3491902, 0.3491902, 0.3491902, 1)
position = Vector2(-32, 60)
sprite_frames = ExtResource("5_l7t2o")
animation = &"FaceForward"
offset = Vector2(0, -16)
script = ExtResource("6_0oqrn")
force_character = "Mario"
resource_setter = NodePath("ResourceSetterNew")
metadata/_custom_type_script = "uid://b08qfwj5jk6g1"
[node name="ResourceSetterNew" type="Node" parent="Panel/MarginContainer/VBoxContainer/Spotlight/Left" node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("14_a25p8")
node_to_affect = NodePath("..")
property_name = "sprite_frames"
use_cache = false
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
[node name="Selected" type="AnimatedSprite2D" parent="Panel/MarginContainer/VBoxContainer/Spotlight" node_paths=PackedStringArray("resource_setter")]
unique_name_in_owner = true
position = Vector2(24, 46)
sprite_frames = ExtResource("5_l7t2o")
animation = &"Pose"
offset = Vector2(0, -16)
script = ExtResource("6_0oqrn")
force_character = "Toad"
resource_setter = NodePath("ResourceSetterNew")
metadata/_custom_type_script = "uid://b08qfwj5jk6g1"
[node name="ResourceSetterNew" type="Node" parent="Panel/MarginContainer/VBoxContainer/Spotlight/Selected"]
script = ExtResource("14_a25p8")
use_cache = false
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
[node name="Right" type="AnimatedSprite2D" parent="Panel/MarginContainer/VBoxContainer/Spotlight" node_paths=PackedStringArray("resource_setter")]
unique_name_in_owner = true
modulate = Color(0.3491902, 0.3491902, 0.38109186, 1)
position = Vector2(80, 60)
sprite_frames = ExtResource("5_l7t2o")
animation = &"FaceForward"
offset = Vector2(0, -16)
script = ExtResource("6_0oqrn")
force_character = "Mario"
resource_setter = NodePath("ResourceSetterNew")
metadata/_custom_type_script = "uid://b08qfwj5jk6g1"
[node name="ResourceSetterNew" type="Node" parent="Panel/MarginContainer/VBoxContainer/Spotlight/Right" node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("14_a25p8")
node_to_affect = NodePath("..")
property_name = "sprite_frames"
use_cache = false
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
[node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/Spotlight"]
layout_mode = 0
offset_left = 40.0
offset_top = 20.0
offset_right = 56.0
offset_bottom = 36.0
text = "►"
[node name="Label2" type="Label" parent="Panel/MarginContainer/VBoxContainer/Spotlight"]
layout_mode = 0
offset_left = -8.0
offset_top = 20.0
offset_right = 8.0
offset_bottom = 36.0
text = "◄"
[node name="CharacterName" type="Label" parent="Panel/MarginContainer/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 4
theme_override_colors/font_shadow_color = Color(0, 0, 0, 0)
text = "MARIO"
horizontal_alignment = 1
uppercase = true
[node name="HSeparator" type="HSeparator" parent="Panel/MarginContainer/VBoxContainer/CharacterName"]
layout_mode = 1
anchors_preset = 10
anchor_right = 1.0
offset_bottom = 4.0
grow_horizontal = 2
theme_override_styles/separator = SubResource("StyleBoxLine_agtau")
[node name="TextShadowColourChanger" type="Node" parent="Panel/MarginContainer/VBoxContainer/CharacterName" node_paths=PackedStringArray("labels")]
script = ExtResource("6_0j631")
labels = [NodePath("..")]
metadata/_custom_type_script = "uid://dt2p68xl462v2"
[node name="ColourPaletteSampler" type="Node" parent="Panel/MarginContainer/VBoxContainer/CharacterName/TextShadowColourChanger" node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("7_mgr7r")
node_to_affect = NodePath("..")
value_to_set = "override_shadow_colour"
metadata/_custom_type_script = "uid://dwtrmo82e12ud"
[node name="LabelFontChanger" type="Node" parent="." node_paths=PackedStringArray("labels")]
script = ExtResource("10_agtau")
labels = [NodePath("../Panel/MarginContainer/VBoxContainer/Label"), NodePath("../Panel/MarginContainer/VBoxContainer/Spotlight/Label2"), NodePath("../Panel/MarginContainer/VBoxContainer/Spotlight/Label"), NodePath("../Panel/MarginContainer/VBoxContainer/CharacterName")]
metadata/_custom_type_script = "uid://co6tjg3w6qpd8"

View File

@@ -0,0 +1,172 @@
[gd_scene load_steps=12 format=3 uid="uid://dt20tjug8m6oh"]
[ext_resource type="StyleBox" uid="uid://comkghpj0djcl" path="res://Resources/UI/Panel.tres" id="1_54x78"]
[ext_resource type="StyleBox" uid="uid://dlbdmqmnl30sq" path="res://Resources/UI/PanelSelected.tres" id="2_wmblk"]
[ext_resource type="Script" uid="uid://0pxa4836hn6c" path="res://Scripts/UI/CustomLevelContainer.gd" id="3_t47t0"]
[ext_resource type="Texture2D" uid="uid://cn8bcncfmdikq" path="res://Assets/Sprites/UI/CustomLevelIconNight.png" id="4_jiwhq"]
[ext_resource type="Texture2D" uid="uid://dmggnqp6esawy" path="res://Assets/Sprites/UI/DifficultyStars.png" id="5_6ktlh"]
[ext_resource type="Texture2D" uid="uid://dfeu75lbxfkim" path="res://Assets/Sprites/UI/GameStyles.png" id="5_l0vwk"]
[ext_resource type="Script" uid="uid://d63p6qr5a748" path="res://Scripts/UI/AutoScrollContainer.gd" id="5_psjdr"]
[ext_resource type="Script" uid="uid://cbal8ms2oe1ik" path="res://Scripts/Classes/Components/ResourceSetterNew.gd" id="7_t47t0"]
[ext_resource type="JSON" path="res://Assets/Sprites/UI/Cursor.json" id="8_l0vwk"]
[ext_resource type="Script" uid="uid://co6tjg3w6qpd8" path="res://Scripts/Parts/LabelFontChanger.gd" id="10_psjdr"]
[ext_resource type="Resource" uid="uid://8dcuxbc3h2u2" path="res://Resources/ThemedResources/Font.tres" id="11_jiigy"]
[node name="CustomLevelContainer" type="Button"]
custom_minimum_size = Vector2(0, 40)
anchors_preset = 10
anchor_right = 1.0
offset_bottom = 40.0
grow_horizontal = 2
mouse_filter = 2
theme_override_styles/normal = ExtResource("1_54x78")
theme_override_styles/pressed = ExtResource("1_54x78")
theme_override_styles/hover = ExtResource("2_wmblk")
theme_override_styles/focus = ExtResource("2_wmblk")
button_mask = 0
script = ExtResource("3_t47t0")
[node name="MarginContainer" type="MarginContainer" parent="."]
layout_mode = 1
anchors_preset = 10
anchor_right = 1.0
offset_bottom = 40.0
grow_horizontal = 2
theme_override_constants/margin_left = 4
theme_override_constants/margin_top = 4
theme_override_constants/margin_right = 4
theme_override_constants/margin_bottom = 4
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer"]
layout_mode = 2
[node name="HSplitContainer" type="HBoxContainer" parent="MarginContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_constants/separation = 0
[node name="LeftHalf" type="HBoxContainer" parent="MarginContainer/HBoxContainer/HSplitContainer"]
layout_mode = 2
size_flags_horizontal = 3
[node name="LevelIcon" type="NinePatchRect" parent="MarginContainer/HBoxContainer/HSplitContainer/LeftHalf"]
unique_name_in_owner = true
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 4
texture = ExtResource("4_jiwhq")
region_rect = Rect2(64, 64, 32, 32)
[node name="LevelInfo" type="VBoxContainer" parent="MarginContainer/HBoxContainer/HSplitContainer/LeftHalf"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_constants/separation = -4
[node name="ScrollContainer" type="ScrollContainer" parent="MarginContainer/HBoxContainer/HSplitContainer/LeftHalf/LevelInfo"]
custom_minimum_size = Vector2(0, 16)
layout_mode = 2
horizontal_scroll_mode = 3
script = ExtResource("5_psjdr")
[node name="LevelName" type="Label" parent="MarginContainer/HBoxContainer/HSplitContainer/LeftHalf/LevelInfo/ScrollContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
text = "Level Name AIJOPDIOPJAWPDADAPDkaopD"
uppercase = true
[node name="ScrollContainer2" type="ScrollContainer" parent="MarginContainer/HBoxContainer/HSplitContainer/LeftHalf/LevelInfo"]
custom_minimum_size = Vector2(0, 16)
layout_mode = 2
horizontal_scroll_mode = 3
script = ExtResource("5_psjdr")
[node name="LevelAuthor" type="Label" parent="MarginContainer/HBoxContainer/HSplitContainer/LeftHalf/LevelInfo/ScrollContainer2"]
unique_name_in_owner = true
modulate = Color(0.47058824, 0.47058824, 0.47058824, 1)
layout_mode = 2
size_flags_horizontal = 3
text = "Level Name"
uppercase = true
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/HBoxContainer/HSplitContainer"]
layout_mode = 2
[node name="DifficultyStars" type="HBoxContainer" parent="MarginContainer/HBoxContainer/HSplitContainer/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
theme_override_constants/separation = 0
[node name="Star1" type="NinePatchRect" parent="MarginContainer/HBoxContainer/HSplitContainer/VBoxContainer/DifficultyStars"]
custom_minimum_size = Vector2(8, 0)
layout_mode = 2
texture = ExtResource("5_6ktlh")
region_rect = Rect2(0, 0, 8, 8)
patch_margin_bottom = 8
[node name="Star2" type="NinePatchRect" parent="MarginContainer/HBoxContainer/HSplitContainer/VBoxContainer/DifficultyStars"]
custom_minimum_size = Vector2(8, 0)
layout_mode = 2
texture = ExtResource("5_6ktlh")
region_rect = Rect2(0, 0, 8, 8)
patch_margin_bottom = 8
[node name="Star3" type="NinePatchRect" parent="MarginContainer/HBoxContainer/HSplitContainer/VBoxContainer/DifficultyStars"]
custom_minimum_size = Vector2(8, 0)
layout_mode = 2
texture = ExtResource("5_6ktlh")
region_rect = Rect2(0, 0, 8, 8)
patch_margin_bottom = 8
[node name="Star4" type="NinePatchRect" parent="MarginContainer/HBoxContainer/HSplitContainer/VBoxContainer/DifficultyStars"]
custom_minimum_size = Vector2(8, 0)
layout_mode = 2
texture = ExtResource("5_6ktlh")
region_rect = Rect2(0, 0, 8, 8)
patch_margin_bottom = 8
[node name="Star5" type="NinePatchRect" parent="MarginContainer/HBoxContainer/HSplitContainer/VBoxContainer/DifficultyStars"]
custom_minimum_size = Vector2(8, 0)
layout_mode = 2
texture = ExtResource("5_6ktlh")
region_rect = Rect2(0, 0, 8, 8)
patch_margin_bottom = 8
[node name="CampaignIcon" type="NinePatchRect" parent="MarginContainer/HBoxContainer/HSplitContainer/VBoxContainer"]
unique_name_in_owner = true
custom_minimum_size = Vector2(42, 16)
layout_mode = 2
size_flags_vertical = 10
texture = ExtResource("5_l0vwk")
region_rect = Rect2(0, 0, 42, 16)
[node name="TextureRect" type="TextureRect" parent="."]
visible = false
layout_mode = 1
anchors_preset = -1
anchor_top = 0.5
anchor_bottom = 0.5
offset_left = -8.0
offset_top = -4.0
offset_bottom = 4.0
grow_vertical = 2
[node name="ResourceSetterNew" type="Node" parent="TextureRect" node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("7_t47t0")
node_to_affect = NodePath("..")
property_name = "texture"
mode = 1
resource_json = ExtResource("8_l0vwk")
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
[node name="LabelFontChanger" type="Node" parent="." node_paths=PackedStringArray("labels")]
script = ExtResource("10_psjdr")
labels = [NodePath("../MarginContainer/HBoxContainer/HSplitContainer/LeftHalf/LevelInfo/ScrollContainer/LevelName"), NodePath("../MarginContainer/HBoxContainer/HSplitContainer/LeftHalf/LevelInfo/ScrollContainer2/LevelAuthor")]
resource = ExtResource("11_jiigy")
metadata/_custom_type_script = "uid://co6tjg3w6qpd8"
[connection signal="focus_entered" from="." to="TextureRect" method="show"]
[connection signal="focus_entered" from="." to="." method="set_process" binds= [true]]
[connection signal="focus_exited" from="." to="TextureRect" method="hide"]
[connection signal="focus_exited" from="." to="." method="set_process" binds= [false]]

View File

@@ -0,0 +1,172 @@
[gd_scene load_steps=10 format=3 uid="uid://b85i7uni0twpe"]
[ext_resource type="StyleBox" uid="uid://comkghpj0djcl" path="res://Resources/UI/Panel.tres" id="1_nfk08"]
[ext_resource type="Script" uid="uid://b5u7ht2124lfs" path="res://Scripts/UI/DiscoResults.gd" id="1_up7vl"]
[ext_resource type="Texture2D" uid="uid://kudshfhlo5ic" path="res://Assets/Sprites/UI/RankMedals.png" id="2_lxtk8"]
[ext_resource type="Script" uid="uid://xem6lai3ufyj" path="res://Scripts/Classes/UI/PackNinePatch.gd" id="3_up7vl"]
[ext_resource type="PackedScene" uid="uid://bmn81e10obpjv" path="res://Scenes/Parts/SelectableLabel.tscn" id="4_lxtk8"]
[ext_resource type="PackedScene" uid="uid://dntk2js0tu3y2" path="res://Scenes/Prefabs/UI/WorldSelect.tscn" id="6_lfyeb"]
[ext_resource type="PackedScene" uid="uid://bsfkt344e6j38" path="res://Scenes/Prefabs/UI/LevelSelectNew.tscn" id="7_mjrut"]
[sub_resource type="StyleBoxLine" id="StyleBoxLine_6886a"]
color = Color(1, 1, 1, 1)
[sub_resource type="StyleBoxLine" id="StyleBoxLine_lfyeb"]
color = Color(1, 1, 1, 1)
[node name="DiscoResults" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_up7vl")
[node name="PanelContainer" type="PanelContainer" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -73.0
offset_top = -66.0
offset_right = 73.0
offset_bottom = 66.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = ExtResource("1_nfk08")
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="PanelContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
text = "YOUR RESULTS"
[node name="HSeparator" type="HSeparator" parent="PanelContainer/VBoxContainer/Label"]
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -4.0
grow_horizontal = 2
grow_vertical = 0
theme_override_styles/separator = SubResource("StyleBoxLine_6886a")
[node name="Score" type="HBoxContainer" parent="PanelContainer/VBoxContainer"]
layout_mode = 2
[node name="Title" type="Label" parent="PanelContainer/VBoxContainer/Score"]
layout_mode = 2
text = "SCORE:"
[node name="Score" type="Label" parent="PanelContainer/VBoxContainer/Score"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 0
text = "000000"
[node name="Rank" type="HBoxContainer" parent="PanelContainer/VBoxContainer"]
layout_mode = 2
[node name="Title" type="Label" parent="PanelContainer/VBoxContainer/Rank"]
layout_mode = 2
size_flags_vertical = 0
text = "RANK:"
[node name="Medal" type="NinePatchRect" parent="PanelContainer/VBoxContainer/Rank"]
unique_name_in_owner = true
custom_minimum_size = Vector2(16, 16)
layout_mode = 2
size_flags_horizontal = 4
texture = ExtResource("2_lxtk8")
region_rect = Rect2(16, 0, 16, 16)
script = ExtResource("3_up7vl")
metadata/_custom_type_script = "uid://xem6lai3ufyj"
[node name="RankMessage" type="Label" parent="PanelContainer/VBoxContainer/Rank"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 4
text = "FAIL!"
uppercase = true
[node name="HSeparator" type="HSeparator" parent="PanelContainer/VBoxContainer"]
layout_mode = 2
theme_override_styles/separator = SubResource("StyleBoxLine_lfyeb")
[node name="MarginContainer" type="MarginContainer" parent="PanelContainer/VBoxContainer"]
layout_mode = 2
theme_override_constants/margin_left = 4
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer/VBoxContainer/MarginContainer"]
layout_mode = 2
[node name="Continue" parent="PanelContainer/VBoxContainer/MarginContainer/VBoxContainer" instance=ExtResource("4_lxtk8")]
unique_name_in_owner = true
layout_mode = 2
text = "CONTINUE"
[node name="Retry" parent="PanelContainer/VBoxContainer/MarginContainer/VBoxContainer" instance=ExtResource("4_lxtk8")]
unique_name_in_owner = true
layout_mode = 2
text = "RETRY"
[node name="LevelSelect" parent="PanelContainer/VBoxContainer/MarginContainer/VBoxContainer" instance=ExtResource("4_lxtk8")]
unique_name_in_owner = true
layout_mode = 2
text = "LEVEL SELECT"
[node name="ReturnMenu" parent="PanelContainer/VBoxContainer/MarginContainer/VBoxContainer" instance=ExtResource("4_lxtk8")]
unique_name_in_owner = true
layout_mode = 2
text = "RETURN TO MENU"
[node name="WorldSelect" parent="." instance=ExtResource("6_lfyeb")]
visible = false
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -90.0
offset_top = -32.5
offset_right = 90.0
offset_bottom = 32.5
grow_horizontal = 2
grow_vertical = 2
[node name="LevelSelect" parent="." instance=ExtResource("7_mjrut")]
visible = false
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 = -40.0
offset_right = 128.0
offset_bottom = 40.0
grow_horizontal = 2
grow_vertical = 2
[connection signal="focus_entered" from="PanelContainer/VBoxContainer/MarginContainer/VBoxContainer/Continue" to="." method="set_index" binds= [0]]
[connection signal="pressed" from="PanelContainer/VBoxContainer/MarginContainer/VBoxContainer/Continue" to="." method="continue_to_next_level"]
[connection signal="focus_entered" from="PanelContainer/VBoxContainer/MarginContainer/VBoxContainer/Retry" to="." method="set_index" binds= [1]]
[connection signal="pressed" from="PanelContainer/VBoxContainer/MarginContainer/VBoxContainer/Retry" to="." method="restart_level"]
[connection signal="focus_entered" from="PanelContainer/VBoxContainer/MarginContainer/VBoxContainer/LevelSelect" to="." method="set_index" binds= [2]]
[connection signal="pressed" from="PanelContainer/VBoxContainer/MarginContainer/VBoxContainer/LevelSelect" to="WorldSelect" method="open"]
[connection signal="pressed" from="PanelContainer/VBoxContainer/MarginContainer/VBoxContainer/LevelSelect" to="." method="set_focus" binds= [false]]
[connection signal="focus_entered" from="PanelContainer/VBoxContainer/MarginContainer/VBoxContainer/ReturnMenu" to="." method="set_index" binds= [3]]
[connection signal="pressed" from="PanelContainer/VBoxContainer/MarginContainer/VBoxContainer/ReturnMenu" to="." method="go_to_menu"]
[connection signal="cancelled" from="WorldSelect" to="." method="open"]
[connection signal="cancelled" from="WorldSelect" to="." method="set_focus" binds= [true]]
[connection signal="world_selected" from="WorldSelect" to="LevelSelect" method="open"]
[connection signal="cancelled" from="LevelSelect" to="WorldSelect" method="open"]
[connection signal="level_selected" from="LevelSelect" to="." method="restart_level"]

View File

@@ -0,0 +1,248 @@
[gd_scene load_steps=6 format=3 uid="uid://d25r3nxm3p463"]
[ext_resource type="Script" uid="uid://d1gpliy41d31n" path="res://Scripts/UI/EditorPopupMenu.gd" id="1_crqcj"]
[ext_resource type="StyleBox" uid="uid://comkghpj0djcl" path="res://Resources/UI/Panel.tres" id="1_do11r"]
[ext_resource type="PackedScene" uid="uid://dipo5e7fk3avd" path="res://Scenes/Prefabs/UI/LevelEditorKeybind.tscn" id="2_kaxuh"]
[ext_resource type="Texture2D" uid="uid://bnhrmah4dk5xm" path="res://Assets/Sprites/UI/EditorKeybinds.png" id="3_kaxuh"]
[sub_resource type="StyleBoxLine" id="StyleBoxLine_crqcj"]
color = Color(1, 1, 1, 1)
[node name="EditorKeybindsView" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_crqcj")
[node name="BG" type="ColorRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0, 0, 0, 0.25)
[node name="Panel" type="PanelContainer" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -98.0
offset_top = -84.0
offset_right = 98.0
offset_bottom = 84.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = ExtResource("1_do11r")
[node name="MarginContainer" type="MarginContainer" parent="Panel"]
layout_mode = 2
[node name="VBoxContainer" type="VBoxContainer" parent="Panel/MarginContainer"]
layout_mode = 2
theme_override_constants/separation = 4
[node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
text = "KEYBINDS"
[node name="HSeparator" type="HSeparator" parent="Panel/MarginContainer/VBoxContainer/Label"]
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -4.0
grow_horizontal = 2
grow_vertical = 0
theme_override_styles/separator = SubResource("StyleBoxLine_crqcj")
[node name="ScrollContainer" type="ScrollContainer" parent="Panel/MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
[node name="VBoxContainer" type="VBoxContainer" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="Layers" type="HBoxContainer" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 24)
layout_mode = 2
[node name="ButtonIcons" type="Control" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/Layers"]
custom_minimum_size = Vector2(64, 0)
layout_mode = 2
[node name="LevelEditorKeybind" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/Layers/ButtonIcons" instance=ExtResource("2_kaxuh")]
position = Vector2(4, 0)
hframes = 1
vframes = 2
region_rect = Rect2(0, 46, 21, 46)
[node name="LevelEditorKeybind2" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/Layers/ButtonIcons" instance=ExtResource("2_kaxuh")]
position = Vector2(36, 0)
hframes = 1
vframes = 2
region_rect = Rect2(21, 46, 21, 46)
[node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/Layers"]
modulate = Color(0.29219002, 0.29219005, 0.29219002, 1)
layout_mode = 2
text = "Layers"
uppercase = true
[node name="MovePlayer" type="HBoxContainer" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 24)
layout_mode = 2
[node name="ButtonIcons" type="Control" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/MovePlayer"]
custom_minimum_size = Vector2(64, 0)
layout_mode = 2
[node name="LevelEditorKeybind" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/MovePlayer/ButtonIcons" instance=ExtResource("2_kaxuh")]
[node name="LevelEditorKeybind2" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/MovePlayer/ButtonIcons" instance=ExtResource("2_kaxuh")]
position = Vector2(43, 0)
region_rect = Rect2(60, 92, 30, 23)
[node name="Sprite2D" type="Sprite2D" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/MovePlayer/ButtonIcons"]
position = Vector2(36, 11)
texture = ExtResource("3_kaxuh")
region_enabled = true
region_rect = Rect2(90, 92, 10, 11)
[node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/MovePlayer"]
modulate = Color(0.29219002, 0.29219005, 0.29219002, 1)
layout_mode = 2
text = "Move Player"
uppercase = true
[node name="PickBlock" type="HBoxContainer" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 24)
layout_mode = 2
[node name="ButtonIcons" type="Control" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/PickBlock"]
custom_minimum_size = Vector2(64, 0)
layout_mode = 2
[node name="LevelEditorKeybind2" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/PickBlock/ButtonIcons" instance=ExtResource("2_kaxuh")]
position = Vector2(22, 0)
region_rect = Rect2(60, 92, 30, 23)
[node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/PickBlock"]
modulate = Color(0.29219002, 0.29219005, 0.29219002, 1)
layout_mode = 2
text = "PICK TILE"
uppercase = true
[node name="TestLevel" type="HBoxContainer" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 24)
layout_mode = 2
[node name="ButtonIcons" type="Control" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/TestLevel"]
custom_minimum_size = Vector2(64, 0)
layout_mode = 2
[node name="LevelEditorKeybind" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/TestLevel/ButtonIcons" instance=ExtResource("2_kaxuh")]
position = Vector2(16, 0)
region_rect = Rect2(58, 0, 58, 23)
[node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/TestLevel"]
modulate = Color(0.29219002, 0.29219005, 0.29219002, 1)
layout_mode = 2
text = "Test Level"
uppercase = true
[node name="InspectTile" type="HBoxContainer" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 24)
layout_mode = 2
[node name="ButtonIcons" type="Control" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/InspectTile"]
custom_minimum_size = Vector2(64, 0)
layout_mode = 2
[node name="LevelEditorKeybind" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/InspectTile/ButtonIcons" instance=ExtResource("2_kaxuh")]
[node name="LevelEditorKeybind2" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/InspectTile/ButtonIcons" instance=ExtResource("2_kaxuh")]
position = Vector2(43, 0)
region_rect = Rect2(0, 92, 30, 23)
[node name="Sprite2D" type="Sprite2D" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/InspectTile/ButtonIcons"]
position = Vector2(36, 11)
texture = ExtResource("3_kaxuh")
region_enabled = true
region_rect = Rect2(90, 92, 10, 11)
[node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/InspectTile"]
modulate = Color(0.29219002, 0.29219005, 0.29219002, 1)
layout_mode = 2
text = "Inspect tile"
uppercase = true
[node name="PlaceArea" type="HBoxContainer" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 24)
layout_mode = 2
[node name="ButtonIcons" type="Control" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/PlaceArea"]
custom_minimum_size = Vector2(64, 0)
layout_mode = 2
[node name="LevelEditorKeybind" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/PlaceArea/ButtonIcons" instance=ExtResource("2_kaxuh")]
position = Vector2(2, 0)
region_rect = Rect2(0, 23, 50, 23)
[node name="LevelEditorKeybind2" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/PlaceArea/ButtonIcons" instance=ExtResource("2_kaxuh")]
position = Vector2(44, 0)
region_rect = Rect2(0, 92, 30, 23)
[node name="Sprite2D" type="Sprite2D" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/PlaceArea/ButtonIcons"]
position = Vector2(36, 11)
texture = ExtResource("3_kaxuh")
region_enabled = true
region_rect = Rect2(90, 92, 10, 11)
[node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/PlaceArea"]
modulate = Color(0.29219002, 0.29219005, 0.29219002, 1)
layout_mode = 2
size_flags_horizontal = 3
text = "PLACE / REMOVE AREA"
autowrap_mode = 2
uppercase = true
[node name="PlaceArea2" type="HBoxContainer" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 24)
layout_mode = 2
[node name="ButtonIcons" type="Control" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/PlaceArea2"]
custom_minimum_size = Vector2(64, 0)
layout_mode = 2
[node name="LevelEditorKeybind2" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/PlaceArea2/ButtonIcons" instance=ExtResource("2_kaxuh")]
position = Vector2(5, 0)
region_rect = Rect2(50, 23, 30, 23)
[node name="LevelEditorKeybind3" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/PlaceArea2/ButtonIcons" instance=ExtResource("2_kaxuh")]
position = Vector2(42, 0)
region_rect = Rect2(80, 23, 30, 23)
[node name="Sprite2D" type="Sprite2D" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/PlaceArea2/ButtonIcons"]
position = Vector2(31, 11)
texture = ExtResource("3_kaxuh")
region_enabled = true
region_rect = Rect2(102, 97, 12, 18)
[node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/PlaceArea2"]
modulate = Color(0.29219002, 0.29219005, 0.29219002, 1)
layout_mode = 2
size_flags_horizontal = 3
text = "CHANGE TILE"
autowrap_mode = 2
uppercase = true

View File

@@ -0,0 +1,22 @@
[gd_scene load_steps=2 format=3 uid="uid://b8e82usnfbw1t"]
[ext_resource type="PackedScene" uid="uid://dntk2js0tu3y2" path="res://Scenes/Prefabs/UI/WorldSelect.tscn" id="1_fvn0p"]
[node name="WorldSelect" instance=ExtResource("1_fvn0p")]
world_offset = 8
num_of_worlds = 4
[node name="Slot1" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer" index="0"]
focus_neighbor_left = NodePath("../Slot5")
[node name="Slot5" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer" index="4"]
focus_neighbor_right = NodePath("../Slot1")
[node name="Slot6" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer" index="5"]
visible = false
[node name="Slot7" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer" index="6"]
visible = false
[node name="Slot8" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer" index="7"]
visible = false

View File

@@ -0,0 +1,23 @@
[gd_scene load_steps=2 format=3 uid="uid://cpowgsvvunqcn"]
[ext_resource type="Script" uid="uid://b32rbwuvfqn6x" path="res://Scripts/UI/GameBananaLevelDisplay.gd" id="1_tdprq"]
[node name="GameBananaLevelDisplay" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_tdprq")
[node name="PanelContainer" type="PanelContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="ItemList" type="ItemList" parent="PanelContainer"]
layout_mode = 2

View File

@@ -0,0 +1,129 @@
[gd_scene load_steps=11 format=3 uid="uid://r2n1ka3mc5v6"]
[ext_resource type="Script" uid="uid://btp7od8thj3mk" path="res://Scripts/UI/GhostSelect.gd" id="1_jt66n"]
[ext_resource type="StyleBox" uid="uid://comkghpj0djcl" path="res://Resources/UI/Panel.tres" id="1_riont"]
[ext_resource type="Texture2D" uid="uid://3p2l7rec0gh5" path="res://Assets/Sprites/UI/Cursor.png" id="2_jt66n"]
[ext_resource type="Texture2D" uid="uid://dhu46wvad72wp" path="res://Assets/Sprites/UI/MarathonIcons.png" id="3_kqsc3"]
[ext_resource type="Script" uid="uid://cbal8ms2oe1ik" path="res://Scripts/Classes/Components/ResourceSetterNew.gd" id="4_vlkxh"]
[ext_resource type="JSON" path="res://Assets/Sprites/UI/Cursor.json" id="5_6pjre"]
[sub_resource type="StyleBoxLine" id="StyleBoxLine_vlkxh"]
color = Color(1, 1, 1, 1)
[sub_resource type="AtlasTexture" id="AtlasTexture_6pjre"]
atlas = ExtResource("2_jt66n")
region = Rect2(0, 0, 8, 8)
[sub_resource type="AtlasTexture" id="AtlasTexture_rondi"]
atlas = ExtResource("3_kqsc3")
region = Rect2(112, 24, 8, 8)
[sub_resource type="AtlasTexture" id="AtlasTexture_2qsn7"]
atlas = ExtResource("3_kqsc3")
region = Rect2(96, 40, 8, 8)
[node name="GhostSelect" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_jt66n")
[node name="Panel" type="PanelContainer" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -64.0
offset_top = -32.0
offset_right = 64.0
offset_bottom = 32.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = ExtResource("1_riont")
[node name="VBoxContainer" type="VBoxContainer" parent="Panel"]
layout_mode = 2
[node name="Title" type="Label" parent="Panel/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
text = "GHOST_SELECT"
uppercase = true
[node name="HSeparator" type="HSeparator" parent="Panel/VBoxContainer/Title"]
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -4.0
grow_horizontal = 2
grow_vertical = 0
theme_override_styles/separator = SubResource("StyleBoxLine_vlkxh")
[node name="NoGhost" type="HBoxContainer" parent="Panel/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
theme_override_constants/separation = 4
[node name="Cursor" type="TextureRect" parent="Panel/VBoxContainer/NoGhost"]
layout_mode = 2
texture = SubResource("AtlasTexture_6pjre")
stretch_mode = 3
[node name="ResourceSetterNew" type="Node" parent="Panel/VBoxContainer/NoGhost/Cursor" node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("4_vlkxh")
node_to_affect = NodePath("..")
property_name = "texture"
mode = 1
resource_json = ExtResource("5_6pjre")
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
[node name="HBoxContainer" type="HBoxContainer" parent="Panel/VBoxContainer/NoGhost"]
layout_mode = 2
theme_override_constants/separation = 0
[node name="TextureRect2" type="TextureRect" parent="Panel/VBoxContainer/NoGhost/HBoxContainer"]
layout_mode = 2
texture = SubResource("AtlasTexture_rondi")
stretch_mode = 3
[node name="Label" type="Label" parent="Panel/VBoxContainer/NoGhost/HBoxContainer"]
layout_mode = 2
text = "GHOST OFF"
[node name="Ghost" type="HBoxContainer" parent="Panel/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
theme_override_constants/separation = 4
[node name="Cursor" type="TextureRect" parent="Panel/VBoxContainer/Ghost"]
layout_mode = 2
texture = SubResource("AtlasTexture_6pjre")
stretch_mode = 3
[node name="ResourceSetterNew" type="Node" parent="Panel/VBoxContainer/Ghost/Cursor" node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("4_vlkxh")
node_to_affect = NodePath("..")
property_name = "texture"
mode = 1
resource_json = ExtResource("5_6pjre")
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
[node name="HBoxContainer" type="HBoxContainer" parent="Panel/VBoxContainer/Ghost"]
layout_mode = 2
theme_override_constants/separation = 0
[node name="TextureRect2" type="TextureRect" parent="Panel/VBoxContainer/Ghost/HBoxContainer"]
layout_mode = 2
texture = SubResource("AtlasTexture_2qsn7")
stretch_mode = 3
[node name="Label" type="Label" parent="Panel/VBoxContainer/Ghost/HBoxContainer"]
layout_mode = 2
text = "GHOST ON"

View File

@@ -0,0 +1,53 @@
[gd_scene load_steps=5 format=3 uid="uid://dipo5e7fk3avd"]
[ext_resource type="Texture2D" uid="uid://bnhrmah4dk5xm" path="res://Assets/Sprites/UI/EditorKeybinds.png" id="1_yvgdh"]
[sub_resource type="Animation" id="Animation_hb1c7"]
resource_name = "Idle"
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 1,
"values": [0, 1]
}
[sub_resource type="Animation" id="Animation_lqhbm"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [0]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_26est"]
_data = {
&"Idle": SubResource("Animation_hb1c7"),
&"RESET": SubResource("Animation_lqhbm")
}
[node name="LevelEditorKeybind" type="Sprite2D"]
texture = ExtResource("1_yvgdh")
centered = false
hframes = 2
region_enabled = true
region_rect = Rect2(0, 0, 58, 23)
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
&"": SubResource("AnimationLibrary_26est")
}
autoplay = "Idle"

View File

@@ -0,0 +1,107 @@
[gd_scene load_steps=6 format=3 uid="uid://d1kedqb68p7vw"]
[ext_resource type="Script" uid="uid://bupc8brk48aqi" path="res://Scripts/UI/LevelSelect.gd" id="1_mvafj"]
[ext_resource type="StyleBox" uid="uid://comkghpj0djcl" path="res://Resources/UI/Panel.tres" id="2_k7cgt"]
[ext_resource type="Script" uid="uid://co6tjg3w6qpd8" path="res://Scripts/Parts/LabelFontChanger.gd" id="3_a7p1d"]
[ext_resource type="Resource" uid="uid://8dcuxbc3h2u2" path="res://Resources/ThemedResources/Font.tres" id="4_r15fi"]
[sub_resource type="StyleBoxLine" id="StyleBoxLine_k7cgt"]
color = Color(1, 1, 1, 1)
[node name="WorldSelect" type="Control"]
layout_mode = 3
anchors_preset = 0
offset_right = 128.0
offset_bottom = 48.0
script = ExtResource("1_mvafj")
[node name="PanelContainer" type="PanelContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = ExtResource("2_k7cgt")
[node name="MarginContainer" type="MarginContainer" parent="PanelContainer"]
layout_mode = 2
theme_override_constants/margin_left = -4
theme_override_constants/margin_top = -4
theme_override_constants/margin_right = -4
theme_override_constants/margin_bottom = -4
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer/MarginContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
text = "MENU_LEVEL_SELECT"
horizontal_alignment = 1
uppercase = true
[node name="HSeparator" type="HSeparator" parent="PanelContainer/MarginContainer/VBoxContainer/Label"]
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -4.0
grow_horizontal = 2
grow_vertical = 0
theme_override_styles/separator = SubResource("StyleBoxLine_k7cgt")
[node name="SlotContainer" type="HBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
[node name="Level1" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/SlotContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 0
text = "1"
uppercase = true
[node name="Level2" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/SlotContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 0
text = "2"
uppercase = true
[node name="Level3" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/SlotContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 0
text = "3"
uppercase = true
[node name="Level4" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/SlotContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 0
text = "4"
uppercase = true
[node name="Control" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer"]
layout_mode = 2
[node name="Cursor" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/Control"]
unique_name_in_owner = true
layout_mode = 0
offset_top = -8.0
offset_right = 144.0
offset_bottom = 8.0
text = "^"
uppercase = true
[node name="LabelFontChanger" type="Node" parent="PanelContainer" node_paths=PackedStringArray("labels")]
script = ExtResource("3_a7p1d")
labels = [NodePath("../MarginContainer/VBoxContainer/Label"), NodePath("../MarginContainer/VBoxContainer/SlotContainer/Level1"), NodePath("../MarginContainer/VBoxContainer/SlotContainer/Level2"), NodePath("../MarginContainer/VBoxContainer/SlotContainer/Level3"), NodePath("../MarginContainer/VBoxContainer/SlotContainer/Level4"), NodePath("../MarginContainer/VBoxContainer/Control/Cursor")]
resource = ExtResource("4_r15fi")
metadata/_custom_type_script = "uid://co6tjg3w6qpd8"

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,53 @@
[gd_scene load_steps=3 format=3 uid="uid://b3diry65fdrj6"]
[ext_resource type="PackedScene" uid="uid://dekuqrdjmnr1m" path="res://Scenes/Prefabs/UI/BasePauseMenu.tscn" id="1_uvhg6"]
[sub_resource type="GDScript" id="GDScript_k4rkm"]
script/source = "extends Node
func restart_run() -> void:
AudioManager.stop_all_music()
Global.death_load = true
Global.clear_saved_values()
Global.reset_values()
SpeedrunHandler.timer = 0
SpeedrunHandler.timer_active = false
Global.player_power_states = \"0000\"
if Global.current_game_mode == Global.GameMode.MARATHON_PRACTICE:
Global.current_level.reload_level()
else:
Global.level_num = 1
Global.world_num = 1
LevelTransition.level_to_transition_to = Level.get_scene_string(1, 1)
Global.transition_to_scene(\"res://Scenes/Levels/LevelTransition.tscn\")
func quit_to_menu() -> void:
AudioManager.stop_all_music()
SpeedrunHandler.timer = 0
SpeedrunHandler.timer_active = false
SpeedrunHandler.ghost_active = false
Global.transition_to_scene(\"res://Scenes/Levels/TitleScreen.tscn\")
get_tree().paused = true
await Global.current_level.tree_exited
get_tree().paused = false
"
[node name="PauseMenu" instance=ExtResource("1_uvhg6")]
[node name="Label2" parent="Control/PanelContainer/MarginContainer/VBoxContainer" index="1"]
text = "Restart run"
[node name="Handler" type="Node" parent="." index="2"]
script = SubResource("GDScript_k4rkm")
[connection signal="option_1_selected" from="." to="." method="close"]
[connection signal="option_2_selected" from="." to="." method="close"]
[connection signal="option_2_selected" from="." to="Handler" method="restart_run"]
[connection signal="option_4_selected" from="." to="." method="close"]
[connection signal="option_4_selected" from="." to="Handler" method="quit_to_menu"]
[editable path="SettingsMenu"]
[editable path="SettingsMenu/PanelContainer/MarginContainer/VBoxContainer/Video/Language"]
[editable path="SettingsMenu/PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode"]
[editable path="SettingsMenu/PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode2"]
[editable path="SettingsMenu/PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode3"]

View File

@@ -0,0 +1,55 @@
[gd_scene load_steps=3 format=3 uid="uid://qeuxtmse7bde"]
[ext_resource type="PackedScene" uid="uid://dekuqrdjmnr1m" path="res://Scenes/Prefabs/UI/BasePauseMenu.tscn" id="1_a8xej"]
[sub_resource type="GDScript" id="GDScript_k4rkm"]
script/source = "extends Node
func restart_run() -> void:
Global.death_load = true
Global.clear_saved_values()
Global.reset_values()
Global.speed_run_timer = 0
Global.level_run_timer = 0
Global.speed_run_timer_active = false
Global.player_power_states = \"0000\"
if Global.marathon_practice:
Global.current_level.reload_level()
else:
Global.level_num = 1
Global.world_num = 1
Global.level_to_transition_to = Level.get_scene_string(1, 1)
Global.transition_to_scene(\"res://Scenes/Levels/LevelTransition.tscn\")
func quit_to_menu() -> void:
Global.speed_run_timer = 0
Global.speed_run_timer_active = false
Global.speed_run_timer_enabled = false
Global.transition_to_scene(\"res://Scenes/Levels/TitleScreen.tscn\")
get_tree().paused = true
await Global.current_level.tree_exited
get_tree().paused = false
"
[node name="PauseMenu" instance=ExtResource("1_a8xej")]
[node name="Label2" parent="Control/PanelContainer/MarginContainer/VBoxContainer" index="1"]
text = "Restart run"
[node name="Label5" type="Label" parent="Control/PanelContainer/MarginContainer/VBoxContainer" index="2"]
layout_mode = 2
size_flags_vertical = 7
text = "Ghost: On"
uppercase = true
[node name="Handler" type="Node" parent="." index="2"]
script = SubResource("GDScript_k4rkm")
[connection signal="option_2_selected" from="." to="Handler" method="restart_run"]
[connection signal="option_3_selected" from="." to="Handler" method="quit_to_menu"]
[editable path="SettingsMenu"]
[editable path="SettingsMenu/PanelContainer/MarginContainer/VBoxContainer/Video/Language"]
[editable path="SettingsMenu/PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode"]
[editable path="SettingsMenu/PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode2"]
[editable path="SettingsMenu/PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode3"]

View File

@@ -0,0 +1,223 @@
[gd_scene load_steps=13 format=3 uid="uid://n2e3jgmkilvt"]
[ext_resource type="Script" uid="uid://djuvlj1dt0aay" path="res://Scripts/UI/MarathonResults.gd" id="1_1ama0"]
[ext_resource type="StyleBox" uid="uid://comkghpj0djcl" path="res://Resources/UI/Panel.tres" id="1_xyd63"]
[ext_resource type="Texture2D" uid="uid://dhu46wvad72wp" path="res://Assets/Sprites/UI/MarathonIcons.png" id="2_1ama0"]
[ext_resource type="PackedScene" uid="uid://bmn81e10obpjv" path="res://Scenes/Parts/SelectableLabel.tscn" id="4_7l60d"]
[ext_resource type="PackedScene" uid="uid://dntk2js0tu3y2" path="res://Scenes/Prefabs/UI/WorldSelect.tscn" id="7_nvyky"]
[ext_resource type="AudioStream" uid="uid://ekxoq3h38iuv" path="res://Assets/Audio/SFX/MarathonMedal.wav" id="7_orie5"]
[ext_resource type="PackedScene" uid="uid://bvgigoyn7lrc2" path="res://Scenes/Prefabs/UI/SpeedrunTypeSelect.tscn" id="8_nvyky"]
[ext_resource type="PackedScene" uid="uid://bsfkt344e6j38" path="res://Scenes/Prefabs/UI/LevelSelectNew.tscn" id="8_orie5"]
[sub_resource type="StyleBoxLine" id="StyleBoxLine_3vn76"]
color = Color(1, 1, 1, 1)
[sub_resource type="AtlasTexture" id="AtlasTexture_q1rpx"]
atlas = ExtResource("2_1ama0")
region = Rect2(96, 24, 8, 8)
[sub_resource type="AtlasTexture" id="AtlasTexture_ldcu6"]
atlas = ExtResource("2_1ama0")
region = Rect2(96, 16, 24, 8)
[sub_resource type="StyleBoxLine" id="StyleBoxLine_v87cy"]
color = Color(1, 1, 1, 1)
[node name="MarathonResults" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_1ama0")
[node name="PanelContainer" type="PanelContainer" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -79.0
offset_top = -66.0
offset_right = 79.0
offset_bottom = 66.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = ExtResource("1_xyd63")
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="PanelContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
text = "YOUR RESULTS"
[node name="HSeparator" type="HSeparator" parent="PanelContainer/VBoxContainer/Label"]
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -4.0
grow_horizontal = 2
grow_vertical = 0
theme_override_styles/separator = SubResource("StyleBoxLine_3vn76")
[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer/VBoxContainer"]
layout_mode = 2
theme_override_constants/separation = 0
[node name="Title" type="Label" parent="PanelContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
text = "TIME:"
[node name="Medal" type="TextureRect" parent="PanelContainer/VBoxContainer/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 10
size_flags_vertical = 4
texture = SubResource("AtlasTexture_q1rpx")
stretch_mode = 3
[node name="Full" type="NinePatchRect" parent="PanelContainer/VBoxContainer/HBoxContainer/Medal"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = SubResource("AtlasTexture_ldcu6")
region_rect = Rect2(16, 0, 8, 8)
[node name="Time" type="Label" parent="PanelContainer/VBoxContainer/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 10
text = "00:00:00"
[node name="HBoxContainer2" type="HBoxContainer" parent="PanelContainer/VBoxContainer"]
layout_mode = 2
[node name="Title" type="Label" parent="PanelContainer/VBoxContainer/HBoxContainer2"]
layout_mode = 2
text = "PB:"
[node name="PB" type="Label" parent="PanelContainer/VBoxContainer/HBoxContainer2"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 10
text = "--:--:--"
[node name="NewPB" type="HBoxContainer" parent="PanelContainer/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
[node name="Time" type="Label" parent="PanelContainer/VBoxContainer/NewPB"]
modulate = Color(0, 0.99912035, 0, 1)
layout_mode = 2
size_flags_horizontal = 10
text = "NEW PB!"
[node name="HBoxContainer3" type="HBoxContainer" parent="PanelContainer/VBoxContainer"]
layout_mode = 2
[node name="Title" type="Label" parent="PanelContainer/VBoxContainer/HBoxContainer3"]
layout_mode = 2
text = "TARGET:"
[node name="Target" type="Label" parent="PanelContainer/VBoxContainer/HBoxContainer3"]
unique_name_in_owner = true
modulate = Color(1, 0.69803923, 0.34901962, 1)
layout_mode = 2
size_flags_horizontal = 10
text = "00:00:00"
[node name="HSeparator" type="HSeparator" parent="PanelContainer/VBoxContainer"]
layout_mode = 2
theme_override_styles/separator = SubResource("StyleBoxLine_v87cy")
[node name="MarginContainer" type="MarginContainer" parent="PanelContainer/VBoxContainer"]
layout_mode = 2
theme_override_constants/margin_left = 4
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer/VBoxContainer/MarginContainer"]
layout_mode = 2
[node name="Restart" parent="PanelContainer/VBoxContainer/MarginContainer/VBoxContainer" instance=ExtResource("4_7l60d")]
unique_name_in_owner = true
layout_mode = 2
text = "RETRY"
[node name="LevelSelect" parent="PanelContainer/VBoxContainer/MarginContainer/VBoxContainer" instance=ExtResource("4_7l60d")]
unique_name_in_owner = true
layout_mode = 2
text = "LEVEL SELECT"
[node name="Return" parent="PanelContainer/VBoxContainer/MarginContainer/VBoxContainer" instance=ExtResource("4_7l60d")]
unique_name_in_owner = true
layout_mode = 2
text = "RETURN TO MENU"
[node name="WorldSelect" parent="." instance=ExtResource("7_nvyky")]
visible = false
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -90.0
offset_top = -32.5
offset_right = 90.0
offset_bottom = 32.5
grow_horizontal = 2
grow_vertical = 2
[node name="LevelSelect" parent="." instance=ExtResource("8_orie5")]
visible = false
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 = -40.0
offset_right = 128.0
offset_bottom = 40.0
grow_horizontal = 2
grow_vertical = 2
has_speedrun_stuff = true
[node name="PBSfx" type="AudioStreamPlayer" parent="."]
stream = ExtResource("7_orie5")
bus = &"SFX"
[node name="SpeedrunTypeSelect" parent="." instance=ExtResource("8_nvyky")]
visible = false
layout_mode = 1
[node name="SpeedrunTypeSelectLevelSelect" parent="." instance=ExtResource("8_nvyky")]
visible = false
layout_mode = 1
[connection signal="pressed" from="PanelContainer/VBoxContainer/MarginContainer/VBoxContainer/Restart" to="." method="check_for_warp"]
[connection signal="pressed" from="PanelContainer/VBoxContainer/MarginContainer/VBoxContainer/Restart" to="." method="set_focus" binds= [false]]
[connection signal="pressed" from="PanelContainer/VBoxContainer/MarginContainer/VBoxContainer/LevelSelect" to="WorldSelect" method="open"]
[connection signal="pressed" from="PanelContainer/VBoxContainer/MarginContainer/VBoxContainer/LevelSelect" to="." method="set_focus" binds= [false]]
[connection signal="pressed" from="PanelContainer/VBoxContainer/MarginContainer/VBoxContainer/Return" to="." method="go_to_menu"]
[connection signal="pressed" from="PanelContainer/VBoxContainer/MarginContainer/VBoxContainer/Return" to="." method="close"]
[connection signal="cancelled" from="WorldSelect" to="." method="return_focus"]
[connection signal="cancelled" from="WorldSelect" to="." method="set_focus" binds= [true]]
[connection signal="world_selected" from="WorldSelect" to="LevelSelect" method="open"]
[connection signal="cancelled" from="LevelSelect" to="WorldSelect" method="open"]
[connection signal="level_selected" from="LevelSelect" to="." method="check_for_warp_level_select_edition"]
[connection signal="cancelled" from="SpeedrunTypeSelect" to="." method="return_focus"]
[connection signal="cancelled" from="SpeedrunTypeSelect" to="." method="set_focus" binds= [true]]
[connection signal="selected" from="SpeedrunTypeSelect" to="." method="restart_level"]
[connection signal="cancelled" from="SpeedrunTypeSelectLevelSelect" to="." method="return_focus"]
[connection signal="cancelled" from="SpeedrunTypeSelectLevelSelect" to="." method="set_focus" binds= [true]]
[connection signal="selected" from="SpeedrunTypeSelectLevelSelect" to="." method="restart_level"]

View File

@@ -0,0 +1,288 @@
[gd_scene load_steps=13 format=3 uid="uid://60t5mugrgvlt"]
[ext_resource type="StyleBox" uid="uid://comkghpj0djcl" path="res://Resources/UI/Panel.tres" id="1_14lst"]
[ext_resource type="Script" uid="uid://bpqtkfuv6a2sx" path="res://Scripts/UI/MarathonSelect.gd" id="1_huaf4"]
[ext_resource type="Texture2D" uid="uid://dhu46wvad72wp" path="res://Assets/Sprites/UI/MarathonIcons.png" id="2_huaf4"]
[ext_resource type="Script" uid="uid://xem6lai3ufyj" path="res://Scripts/Classes/UI/PackNinePatch.gd" id="4_7rxod"]
[ext_resource type="Script" uid="uid://ca3bew33g45eq" path="res://Scripts/Classes/UI/PackTextureRect.gd" id="5_b42rw"]
[sub_resource type="StyleBoxLine" id="StyleBoxLine_c8ql0"]
color = Color(1, 1, 1, 1)
[sub_resource type="AtlasTexture" id="AtlasTexture_7rxod"]
atlas = ExtResource("2_huaf4")
region = Rect2(0, 0, 48, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_b42rw"]
atlas = ExtResource("2_huaf4")
region = Rect2(48, 0, 48, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_w8vyo"]
atlas = ExtResource("2_huaf4")
region = Rect2(96, 24, 8, 8)
[sub_resource type="AtlasTexture" id="AtlasTexture_p1jo0"]
atlas = ExtResource("2_huaf4")
region = Rect2(96, 16, 8, 8)
[sub_resource type="AtlasTexture" id="AtlasTexture_t6es3"]
atlas = ExtResource("2_huaf4")
region = Rect2(104, 16, 8, 8)
[sub_resource type="AtlasTexture" id="AtlasTexture_27pna"]
atlas = ExtResource("2_huaf4")
region = Rect2(112, 16, 8, 8)
[node name="MarathonSelect" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_huaf4")
[node name="PanelContainer" type="PanelContainer" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -84.0
offset_top = -68.0
offset_right = 84.0
offset_bottom = 80.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = ExtResource("1_14lst")
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="PanelContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
text = "MARATHON_SELECT"
uppercase = true
[node name="HSeparator" type="HSeparator" parent="PanelContainer/VBoxContainer/Label"]
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -4.0
grow_horizontal = 2
grow_vertical = 0
theme_override_styles/separator = SubResource("StyleBoxLine_c8ql0")
[node name="Control" type="Control" parent="PanelContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 8)
layout_mode = 2
[node name="MarathonName" type="Label" parent="PanelContainer/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 4
text = "MARATHON_FULL"
uppercase = true
[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer/VBoxContainer"]
layout_mode = 2
theme_override_constants/separation = 16
alignment = 1
[node name="Full" type="VBoxContainer" parent="PanelContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
theme_override_constants/separation = -5
alignment = 2
[node name="TextureRect" type="TextureRect" parent="PanelContainer/VBoxContainer/HBoxContainer/Full"]
custom_minimum_size = Vector2(48, 48)
layout_mode = 2
texture = SubResource("AtlasTexture_7rxod")
script = ExtResource("5_b42rw")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label" type="Label" parent="PanelContainer/VBoxContainer/HBoxContainer/Full"]
visible = false
layout_mode = 2
size_flags_horizontal = 4
text = "^"
[node name="Level" type="VBoxContainer" parent="PanelContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
theme_override_constants/separation = -5
alignment = 2
[node name="TextureRect" type="TextureRect" parent="PanelContainer/VBoxContainer/HBoxContainer/Level"]
custom_minimum_size = Vector2(48, 48)
layout_mode = 2
texture = SubResource("AtlasTexture_b42rw")
script = ExtResource("5_b42rw")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label" type="Label" parent="PanelContainer/VBoxContainer/HBoxContainer/Level"]
visible = false
layout_mode = 2
size_flags_horizontal = 4
text = "^"
[node name="Control2" type="Control" parent="PanelContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 4)
layout_mode = 2
[node name="HBoxContainer2" type="HBoxContainer" parent="PanelContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
theme_override_constants/separation = 0
[node name="MarginContainer" type="MarginContainer" parent="PanelContainer/VBoxContainer/HBoxContainer2"]
layout_mode = 2
theme_override_constants/margin_top = -3
[node name="Label" type="Label" parent="PanelContainer/VBoxContainer/HBoxContainer2/MarginContainer"]
layout_mode = 2
size_flags_vertical = 0
text = "PB:"
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer/VBoxContainer/HBoxContainer2"]
layout_mode = 2
theme_override_constants/separation = 8
[node name="TextureRect" type="NinePatchRect" parent="PanelContainer/VBoxContainer/HBoxContainer2/VBoxContainer"]
custom_minimum_size = Vector2(0, 8)
layout_mode = 2
size_flags_vertical = 0
texture = ExtResource("2_huaf4")
region_rect = Rect2(112, 32, 8, 8)
script = ExtResource("4_7rxod")
metadata/_custom_type_script = "uid://xem6lai3ufyj"
[node name="TextureRect2" type="NinePatchRect" parent="PanelContainer/VBoxContainer/HBoxContainer2/VBoxContainer"]
custom_minimum_size = Vector2(8, 8)
layout_mode = 2
size_flags_vertical = 0
texture = ExtResource("2_huaf4")
region_rect = Rect2(104, 32, 8, 8)
script = ExtResource("4_7rxod")
metadata/_custom_type_script = "uid://xem6lai3ufyj"
[node name="MarginContainer2" type="MarginContainer" parent="PanelContainer/VBoxContainer/HBoxContainer2"]
layout_mode = 2
theme_override_constants/margin_top = -4
[node name="VBoxContainer2" type="VBoxContainer" parent="PanelContainer/VBoxContainer/HBoxContainer2/MarginContainer2"]
layout_mode = 2
[node name="FullRunPB" type="Label" parent="PanelContainer/VBoxContainer/HBoxContainer2/MarginContainer2/VBoxContainer2"]
unique_name_in_owner = true
layout_mode = 2
text = "00:00:00"
[node name="WarpedRunPB" type="Label" parent="PanelContainer/VBoxContainer/HBoxContainer2/MarginContainer2/VBoxContainer2"]
unique_name_in_owner = true
layout_mode = 2
text = "00:00:00"
[node name="VBoxContainer2" type="VBoxContainer" parent="PanelContainer/VBoxContainer/HBoxContainer2"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_constants/separation = 8
[node name="FullMedals" type="HBoxContainer" parent="PanelContainer/VBoxContainer/HBoxContainer2/VBoxContainer2"]
unique_name_in_owner = true
layout_mode = 2
theme_override_constants/separation = 2
alignment = 1
[node name="Bronze" type="TextureRect" parent="PanelContainer/VBoxContainer/HBoxContainer2/VBoxContainer2/FullMedals"]
layout_mode = 2
texture = SubResource("AtlasTexture_w8vyo")
script = ExtResource("5_b42rw")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Full" type="TextureRect" parent="PanelContainer/VBoxContainer/HBoxContainer2/VBoxContainer2/FullMedals/Bronze"]
layout_mode = 1
offset_right = 8.0
offset_bottom = 8.0
texture = SubResource("AtlasTexture_p1jo0")
script = ExtResource("5_b42rw")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Silver" type="TextureRect" parent="PanelContainer/VBoxContainer/HBoxContainer2/VBoxContainer2/FullMedals"]
layout_mode = 2
texture = SubResource("AtlasTexture_w8vyo")
script = ExtResource("5_b42rw")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Full" type="TextureRect" parent="PanelContainer/VBoxContainer/HBoxContainer2/VBoxContainer2/FullMedals/Silver"]
layout_mode = 1
offset_right = 8.0
offset_bottom = 8.0
texture = SubResource("AtlasTexture_t6es3")
script = ExtResource("5_b42rw")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Gold" type="TextureRect" parent="PanelContainer/VBoxContainer/HBoxContainer2/VBoxContainer2/FullMedals"]
layout_mode = 2
texture = SubResource("AtlasTexture_w8vyo")
script = ExtResource("5_b42rw")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Full" type="TextureRect" parent="PanelContainer/VBoxContainer/HBoxContainer2/VBoxContainer2/FullMedals/Gold"]
layout_mode = 1
offset_right = 8.0
offset_bottom = 8.0
texture = SubResource("AtlasTexture_27pna")
script = ExtResource("5_b42rw")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="WarpedMedals" type="HBoxContainer" parent="PanelContainer/VBoxContainer/HBoxContainer2/VBoxContainer2"]
unique_name_in_owner = true
layout_mode = 2
theme_override_constants/separation = 2
alignment = 1
[node name="Bronze" type="TextureRect" parent="PanelContainer/VBoxContainer/HBoxContainer2/VBoxContainer2/WarpedMedals"]
layout_mode = 2
texture = SubResource("AtlasTexture_w8vyo")
script = ExtResource("5_b42rw")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Full" type="TextureRect" parent="PanelContainer/VBoxContainer/HBoxContainer2/VBoxContainer2/WarpedMedals/Bronze"]
layout_mode = 1
offset_right = 8.0
offset_bottom = 8.0
texture = SubResource("AtlasTexture_p1jo0")
script = ExtResource("5_b42rw")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Silver" type="TextureRect" parent="PanelContainer/VBoxContainer/HBoxContainer2/VBoxContainer2/WarpedMedals"]
layout_mode = 2
texture = SubResource("AtlasTexture_w8vyo")
script = ExtResource("5_b42rw")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Full" type="TextureRect" parent="PanelContainer/VBoxContainer/HBoxContainer2/VBoxContainer2/WarpedMedals/Silver"]
layout_mode = 1
offset_right = 8.0
offset_bottom = 8.0
texture = SubResource("AtlasTexture_t6es3")
script = ExtResource("5_b42rw")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Gold" type="TextureRect" parent="PanelContainer/VBoxContainer/HBoxContainer2/VBoxContainer2/WarpedMedals"]
layout_mode = 2
texture = SubResource("AtlasTexture_w8vyo")
script = ExtResource("5_b42rw")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Full" type="TextureRect" parent="PanelContainer/VBoxContainer/HBoxContainer2/VBoxContainer2/WarpedMedals/Gold"]
layout_mode = 1
offset_right = 8.0
offset_bottom = 8.0
texture = SubResource("AtlasTexture_27pna")
script = ExtResource("5_b42rw")
metadata/_custom_type_script = "uid://ca3bew33g45eq"

View File

@@ -0,0 +1,246 @@
[gd_scene load_steps=13 format=3 uid="uid://cr2pku7fjkgpo"]
[ext_resource type="StyleBox" uid="uid://comkghpj0djcl" path="res://Resources/UI/Panel.tres" id="1_1k7iw"]
[ext_resource type="StyleBox" uid="uid://dlbdmqmnl30sq" path="res://Resources/UI/PanelSelected.tres" id="2_h6n8u"]
[ext_resource type="Script" uid="uid://d486p6delid2" path="res://Scripts/UI/OnlineLevelContainer.gd" id="3_1k7iw"]
[ext_resource type="Script" uid="uid://d63p6qr5a748" path="res://Scripts/UI/AutoScrollContainer.gd" id="5_ajmg3"]
[ext_resource type="Texture2D" uid="uid://dmggnqp6esawy" path="res://Assets/Sprites/UI/DifficultyStars.png" id="6_m23pw"]
[ext_resource type="Texture2D" uid="uid://dfeu75lbxfkim" path="res://Assets/Sprites/UI/GameStyles.png" id="7_scevv"]
[ext_resource type="Script" uid="uid://cbal8ms2oe1ik" path="res://Scripts/Classes/Components/ResourceSetterNew.gd" id="8_vfnya"]
[ext_resource type="JSON" path="res://Assets/Sprites/UI/Cursor.json" id="9_d0564"]
[ext_resource type="Script" uid="uid://co6tjg3w6qpd8" path="res://Scripts/Parts/LabelFontChanger.gd" id="10_x7igx"]
[sub_resource type="Animation" id="Animation_w0xci"]
resource_name = "Load"
length = 1.3333
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:visible_ratio")
tracks/0/interp = 1
tracks/0/loop_wrap = false
tracks/0/keys = {
"times": PackedFloat32Array(0, 1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [0.0, 1.0]
}
[sub_resource type="Animation" id="Animation_1k7iw"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:visible_ratio")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [0.0]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_h6n8u"]
_data = {
&"Load": SubResource("Animation_w0xci"),
&"RESET": SubResource("Animation_1k7iw")
}
[node name="CustomLevelContainer" type="Button"]
custom_minimum_size = Vector2(0, 40)
anchors_preset = 10
anchor_right = 1.0
offset_bottom = 40.0
grow_horizontal = 2
mouse_filter = 2
theme_override_styles/normal = ExtResource("1_1k7iw")
theme_override_styles/pressed = ExtResource("1_1k7iw")
theme_override_styles/hover = ExtResource("2_h6n8u")
theme_override_styles/focus = ExtResource("2_h6n8u")
button_mask = 0
script = ExtResource("3_1k7iw")
[node name="MarginContainer" type="MarginContainer" parent="."]
layout_mode = 1
anchors_preset = 10
anchor_right = 1.0
offset_bottom = 40.0
grow_horizontal = 2
theme_override_constants/margin_left = 4
theme_override_constants/margin_top = 4
theme_override_constants/margin_right = 4
theme_override_constants/margin_bottom = 4
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer"]
layout_mode = 2
[node name="HSplitContainer" type="HBoxContainer" parent="MarginContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_constants/separation = 0
[node name="LeftHalf" type="HBoxContainer" parent="MarginContainer/HBoxContainer/HSplitContainer"]
layout_mode = 2
size_flags_horizontal = 3
[node name="LevelIcon" type="TextureRect" parent="MarginContainer/HBoxContainer/HSplitContainer/LeftHalf"]
unique_name_in_owner = true
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 4
expand_mode = 3
stretch_mode = 5
[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/HSplitContainer/LeftHalf/LevelIcon"]
show_behind_parent = true
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
text = "..."
horizontal_alignment = 1
vertical_alignment = 1
visible_characters = 0
visible_ratio = 0.0
[node name="AnimationPlayer" type="AnimationPlayer" parent="MarginContainer/HBoxContainer/HSplitContainer/LeftHalf/LevelIcon/Label"]
libraries = {
&"": SubResource("AnimationLibrary_h6n8u")
}
autoplay = "Load"
[node name="Error" type="Label" parent="MarginContainer/HBoxContainer/HSplitContainer/LeftHalf/LevelIcon"]
visible = false
modulate = Color(0.32172796, 0.32172796, 0.32172796, 1)
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
text = " NONE"
horizontal_alignment = 1
vertical_alignment = 1
[node name="LevelInfo" type="VBoxContainer" parent="MarginContainer/HBoxContainer/HSplitContainer/LeftHalf"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_constants/separation = -4
[node name="ScrollContainer" type="ScrollContainer" parent="MarginContainer/HBoxContainer/HSplitContainer/LeftHalf/LevelInfo"]
custom_minimum_size = Vector2(0, 16)
layout_mode = 2
horizontal_scroll_mode = 3
vertical_scroll_mode = 3
script = ExtResource("5_ajmg3")
[node name="LevelName" type="Label" parent="MarginContainer/HBoxContainer/HSplitContainer/LeftHalf/LevelInfo/ScrollContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
text = "&&&&&&&&"
uppercase = true
[node name="ScrollContainer2" type="ScrollContainer" parent="MarginContainer/HBoxContainer/HSplitContainer/LeftHalf/LevelInfo"]
custom_minimum_size = Vector2(0, 16)
layout_mode = 2
horizontal_scroll_mode = 3
vertical_scroll_mode = 3
script = ExtResource("5_ajmg3")
[node name="LevelAuthor" type="Label" parent="MarginContainer/HBoxContainer/HSplitContainer/LeftHalf/LevelInfo/ScrollContainer2"]
unique_name_in_owner = true
modulate = Color(0.47058824, 0.47058824, 0.47058824, 1)
layout_mode = 2
size_flags_horizontal = 3
text = "Level Name"
uppercase = true
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/HBoxContainer/HSplitContainer"]
layout_mode = 2
[node name="DifficultyStars" type="HBoxContainer" parent="MarginContainer/HBoxContainer/HSplitContainer/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
theme_override_constants/separation = 0
[node name="Star1" type="NinePatchRect" parent="MarginContainer/HBoxContainer/HSplitContainer/VBoxContainer/DifficultyStars"]
custom_minimum_size = Vector2(8, 0)
layout_mode = 2
texture = ExtResource("6_m23pw")
region_rect = Rect2(0, 0, 8, 8)
patch_margin_bottom = 8
[node name="Star2" type="NinePatchRect" parent="MarginContainer/HBoxContainer/HSplitContainer/VBoxContainer/DifficultyStars"]
custom_minimum_size = Vector2(8, 0)
layout_mode = 2
texture = ExtResource("6_m23pw")
region_rect = Rect2(0, 0, 8, 8)
patch_margin_bottom = 8
[node name="Star3" type="NinePatchRect" parent="MarginContainer/HBoxContainer/HSplitContainer/VBoxContainer/DifficultyStars"]
custom_minimum_size = Vector2(8, 0)
layout_mode = 2
texture = ExtResource("6_m23pw")
region_rect = Rect2(0, 0, 8, 8)
patch_margin_bottom = 8
[node name="Star4" type="NinePatchRect" parent="MarginContainer/HBoxContainer/HSplitContainer/VBoxContainer/DifficultyStars"]
custom_minimum_size = Vector2(8, 0)
layout_mode = 2
texture = ExtResource("6_m23pw")
region_rect = Rect2(0, 0, 8, 8)
patch_margin_bottom = 8
[node name="Star5" type="NinePatchRect" parent="MarginContainer/HBoxContainer/HSplitContainer/VBoxContainer/DifficultyStars"]
custom_minimum_size = Vector2(8, 0)
layout_mode = 2
texture = ExtResource("6_m23pw")
region_rect = Rect2(0, 0, 8, 8)
patch_margin_bottom = 8
[node name="CampaignIcon" type="NinePatchRect" parent="MarginContainer/HBoxContainer/HSplitContainer/VBoxContainer"]
unique_name_in_owner = true
custom_minimum_size = Vector2(42, 16)
layout_mode = 2
size_flags_vertical = 10
texture = ExtResource("7_scevv")
region_rect = Rect2(0, 0, 42, 16)
[node name="TextureRect" type="TextureRect" parent="."]
visible = false
layout_mode = 1
anchors_preset = -1
anchor_top = 0.5
anchor_bottom = 0.5
offset_left = -8.0
offset_top = -4.0
offset_bottom = 4.0
grow_vertical = 2
[node name="ResourceSetterNew" type="Node" parent="TextureRect" node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("8_vfnya")
node_to_affect = NodePath("..")
property_name = "texture"
mode = 1
resource_json = ExtResource("9_d0564")
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
[node name="LabelFontChanger" type="Node" parent="." node_paths=PackedStringArray("labels")]
script = ExtResource("10_x7igx")
labels = [NodePath("../MarginContainer/HBoxContainer/HSplitContainer/LeftHalf/LevelInfo/ScrollContainer/LevelName"), NodePath("../MarginContainer/HBoxContainer/HSplitContainer/LeftHalf/LevelInfo/ScrollContainer2/LevelAuthor")]
metadata/_custom_type_script = "uid://co6tjg3w6qpd8"
[node name="ThumbnailDownloader" type="HTTPRequest" parent="."]
[connection signal="focus_entered" from="." to="TextureRect" method="show"]
[connection signal="focus_entered" from="." to="." method="set_process" binds= [true]]
[connection signal="focus_exited" from="." to="TextureRect" method="hide"]
[connection signal="focus_exited" from="." to="." method="set_process" binds= [false]]
[connection signal="request_completed" from="ThumbnailDownloader" to="." method="on_request_completed"]
[connection signal="tree_exiting" from="ThumbnailDownloader" to="ThumbnailDownloader" method="cancel_request"]

View File

@@ -0,0 +1,130 @@
[gd_scene load_steps=7 format=3 uid="uid://bpx20uohhikd7"]
[ext_resource type="Script" uid="uid://dwiic1tdol4wh" path="res://Scripts/UI/QuestSelect.gd" id="1_6lbpd"]
[ext_resource type="StyleBox" uid="uid://comkghpj0djcl" path="res://Resources/UI/Panel.tres" id="2_6lbpd"]
[ext_resource type="Texture2D" uid="uid://d2wwuqt4udpvm" path="res://Assets/Sprites/UI/QuestSelect.png" id="3_ikyap"]
[ext_resource type="Script" uid="uid://xem6lai3ufyj" path="res://Scripts/Classes/UI/PackNinePatch.gd" id="4_35576"]
[ext_resource type="Script" uid="uid://co6tjg3w6qpd8" path="res://Scripts/Parts/LabelFontChanger.gd" id="5_6lbpd"]
[sub_resource type="StyleBoxLine" id="StyleBoxLine_6lbpd"]
color = Color(1, 1, 1, 1)
[node name="CampaignSelect" type="Control"]
layout_mode = 3
anchors_preset = 0
offset_right = 136.0
offset_bottom = 104.0
script = ExtResource("1_6lbpd")
[node name="PanelContainer" type="PanelContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = ExtResource("2_6lbpd")
[node name="MarginContainer" type="MarginContainer" parent="PanelContainer"]
layout_mode = 2
theme_override_constants/margin_left = -4
theme_override_constants/margin_top = -4
theme_override_constants/margin_right = -4
theme_override_constants/margin_bottom = -4
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer/MarginContainer"]
layout_mode = 2
[node name="SelectWorld" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer"]
visible = false
layout_mode = 2
size_flags_horizontal = 4
text = "MENU_QUEST_SELECT"
horizontal_alignment = 1
uppercase = true
[node name="HSeparator" type="HSeparator" parent="PanelContainer/MarginContainer/VBoxContainer/SelectWorld"]
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -4.0
grow_horizontal = 2
grow_vertical = 0
theme_override_styles/separator = SubResource("StyleBoxLine_6lbpd")
[node name="FirstQuest" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer"]
layout_mode = 2
text = "QUEST_FIRST"
horizontal_alignment = 1
uppercase = true
[node name="SecondQuest" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer"]
visible = false
layout_mode = 2
text = "QUEST_SECOND"
horizontal_alignment = 1
uppercase = true
[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer"]
layout_mode = 2
alignment = 1
[node name="FirstQuest" type="VBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 6
focus_mode = 2
[node name="FirstQuest" type="NinePatchRect" parent="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/FirstQuest"]
custom_minimum_size = Vector2(48, 48)
layout_mode = 2
size_flags_vertical = 9
texture = ExtResource("3_ikyap")
region_rect = Rect2(0, 0, 48, 48)
script = ExtResource("4_35576")
metadata/_custom_type_script = "uid://xem6lai3ufyj"
[node name="Cursor" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/FirstQuest"]
visible = false
layout_mode = 2
text = "^"
horizontal_alignment = 1
[node name="SecondQuest" type="VBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 6
focus_mode = 2
[node name="SecondQuest" type="NinePatchRect" parent="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/SecondQuest"]
custom_minimum_size = Vector2(48, 48)
layout_mode = 2
size_flags_vertical = 9
texture = ExtResource("3_ikyap")
region_rect = Rect2(48, 0, 48, 48)
script = ExtResource("4_35576")
metadata/_custom_type_script = "uid://xem6lai3ufyj"
[node name="Cursor" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/SecondQuest"]
visible = false
layout_mode = 2
text = "^"
horizontal_alignment = 1
[node name="LabelFontChanger" type="Node" parent="." node_paths=PackedStringArray("labels")]
script = ExtResource("5_6lbpd")
labels = [NodePath("../PanelContainer/MarginContainer/VBoxContainer/SelectWorld"), NodePath("../PanelContainer/MarginContainer/VBoxContainer/FirstQuest"), NodePath("../PanelContainer/MarginContainer/VBoxContainer/SecondQuest"), NodePath("../PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/FirstQuest/Cursor"), NodePath("../PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/SecondQuest/Cursor")]
metadata/_custom_type_script = "uid://co6tjg3w6qpd8"
[connection signal="focus_entered" from="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/FirstQuest" to="PanelContainer/MarginContainer/VBoxContainer/FirstQuest" method="show"]
[connection signal="focus_entered" from="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/FirstQuest" to="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/FirstQuest/Cursor" method="show"]
[connection signal="focus_entered" from="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/FirstQuest" to="." method="set_index" binds= [false]]
[connection signal="focus_exited" from="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/FirstQuest" to="PanelContainer/MarginContainer/VBoxContainer/FirstQuest" method="hide"]
[connection signal="focus_exited" from="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/FirstQuest" to="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/FirstQuest/Cursor" method="hide"]
[connection signal="focus_entered" from="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/SecondQuest" to="PanelContainer/MarginContainer/VBoxContainer/SecondQuest" method="show"]
[connection signal="focus_entered" from="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/SecondQuest" to="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/SecondQuest/Cursor" method="show"]
[connection signal="focus_entered" from="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/SecondQuest" to="." method="set_index" binds= [true]]
[connection signal="focus_exited" from="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/SecondQuest" to="PanelContainer/MarginContainer/VBoxContainer/SecondQuest" method="hide"]
[connection signal="focus_exited" from="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/SecondQuest" to="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/SecondQuest/Cursor" method="hide"]

View File

@@ -0,0 +1,107 @@
[gd_scene load_steps=6 format=3 uid="uid://b75f3fd7xjeya"]
[ext_resource type="Script" uid="uid://fwgm5xy4jvwf" path="res://Scripts/UI/QuitDialog.gd" id="1_w3irg"]
[ext_resource type="AudioStream" uid="uid://drs3md0tuek2w" path="res://Assets/Audio/SFX/Beep.wav" id="2_yapnp"]
[sub_resource type="Animation" id="Animation_yapnp"]
resource_name = "Animation"
length = 2.0
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Label:text")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.5, 1, 1.5),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"update": 1,
"values": ["QUITTING GAME", "QUITTING GAME.", "QUITTING GAME..", "QUITTING GAME..."]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("AudioStreamPlayer:playing")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0.5, 1, 1.5000001),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 1,
"values": [true, true, true]
}
[sub_resource type="Animation" id="Animation_kfsue"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Label:text")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": ["QUITTING GAME..."]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("AudioStreamPlayer:playing")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [false]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_fbj8r"]
_data = {
&"Animation": SubResource("Animation_yapnp"),
&"RESET": SubResource("Animation_kfsue")
}
[node name="QuitDialog" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_w3irg")
[node name="ColorRect" type="ColorRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0, 0, 0, 0.5)
[node name="Label" type="Label" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -68.0
offset_top = -8.0
offset_right = 68.0
offset_bottom = 8.0
grow_horizontal = 2
grow_vertical = 2
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
text = "QUITTING GAME..."
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
&"": SubResource("AnimationLibrary_fbj8r")
}
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("2_yapnp")

View File

@@ -0,0 +1,60 @@
[gd_scene load_steps=5 format=3 uid="uid://bom2rstlk8fws"]
[ext_resource type="StyleBox" uid="uid://comkghpj0djcl" path="res://Resources/UI/Panel.tres" id="1_3eop1"]
[ext_resource type="Script" uid="uid://le6t1opa0sr0" path="res://Scripts/UI/ResourcePackConfigMenu.gd" id="1_n21uo"]
[ext_resource type="Script" uid="uid://dcmjifllvi3qd" path="res://Scripts/UI/SettingsCategory.gd" id="3_ji2kl"]
[sub_resource type="StyleBoxLine" id="StyleBoxLine_n21uo"]
color = Color(1, 1, 1, 1)
[node name="ResourcePackConfigMenu" type="Control"]
layout_mode = 3
anchor_left = 0.15
anchor_top = 0.15
anchor_right = 0.85
anchor_bottom = 0.85
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_n21uo")
[node name="Panel" type="PanelContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = ExtResource("1_3eop1")
[node name="ScrollContainer" type="ScrollContainer" parent="Panel"]
layout_mode = 2
horizontal_scroll_mode = 0
vertical_scroll_mode = 3
[node name="Options" type="VBoxContainer" parent="Panel/ScrollContainer" node_paths=PackedStringArray("scroll_container")]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
script = ExtResource("3_ji2kl")
minimum_idx = 0
active = false
scroll_container = NodePath("..")
[node name="Title" type="Label" parent="Panel/ScrollContainer/Options"]
layout_mode = 2
size_flags_horizontal = 4
text = "Configure Pack"
horizontal_alignment = 1
uppercase = true
[node name="HSeparator" type="HSeparator" parent="Panel/ScrollContainer/Options/Title"]
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -4.0
grow_horizontal = 2
grow_vertical = 0
theme_override_styles/separator = SubResource("StyleBoxLine_n21uo")

View File

@@ -0,0 +1,134 @@
[gd_scene load_steps=11 format=3 uid="uid://lggi3b4310yl"]
[ext_resource type="Script" uid="uid://cbc02k2pmw13p" path="res://Scripts/UI/ResourcePackContainer.gd" id="1_dm3ff"]
[ext_resource type="Texture2D" uid="uid://3p2l7rec0gh5" path="res://Assets/Sprites/UI/Cursor.png" id="1_fcw43"]
[ext_resource type="Texture2D" uid="uid://uh7uhdkv3e6s" path="res://Assets/Sprites/Blocks/QuestionBlock.png" id="2_7ke7c"]
[ext_resource type="Script" uid="uid://cbal8ms2oe1ik" path="res://Scripts/Classes/Components/ResourceSetterNew.gd" id="3_fwtyy"]
[ext_resource type="JSON" path="res://Assets/Sprites/UI/Cursor.json" id="4_of2ay"]
[ext_resource type="StyleBox" uid="uid://comkghpj0djcl" path="res://Resources/UI/Panel.tres" id="5_fwtyy"]
[ext_resource type="Script" uid="uid://d63p6qr5a748" path="res://Scripts/UI/AutoScrollContainer.gd" id="7_khoix"]
[ext_resource type="Script" uid="uid://co6tjg3w6qpd8" path="res://Scripts/Parts/LabelFontChanger.gd" id="7_of2ay"]
[sub_resource type="AtlasTexture" id="AtlasTexture_fwtyy"]
atlas = ExtResource("1_fcw43")
region = Rect2(0, 0, 8, 8)
[sub_resource type="AtlasTexture" id="AtlasTexture_fcw43"]
atlas = ExtResource("2_7ke7c")
region = Rect2(0, 0, 16, 16)
[node name="ResourcePackContainer" type="HBoxContainer"]
custom_minimum_size = Vector2(0, 30)
offset_left = 2.0
offset_top = 2.0
offset_right = 254.0
offset_bottom = 34.0
focus_mode = 2
script = ExtResource("1_dm3ff")
[node name="Cursor" type="TextureRect" parent="."]
unique_name_in_owner = true
modulate = Color(1, 1, 1, 0)
layout_mode = 2
texture = SubResource("AtlasTexture_fwtyy")
stretch_mode = 3
[node name="ResourceSetter" type="Node" parent="Cursor" node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("3_fwtyy")
node_to_affect = NodePath("..")
property_name = "texture"
mode = 1
resource_json = ExtResource("4_of2ay")
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
[node name="ResourcePackContainer" type="PanelContainer" parent="."]
layout_mode = 2
size_flags_horizontal = 3
theme_override_styles/panel = ExtResource("5_fwtyy")
[node name="MarginContainer" type="MarginContainer" parent="ResourcePackContainer"]
layout_mode = 2
theme_override_constants/margin_left = -4
theme_override_constants/margin_top = -4
theme_override_constants/margin_right = -4
theme_override_constants/margin_bottom = -4
[node name="HBoxContainer" type="HBoxContainer" parent="ResourcePackContainer/MarginContainer"]
layout_mode = 2
[node name="Icon" type="TextureRect" parent="ResourcePackContainer/MarginContainer/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 0
texture = SubResource("AtlasTexture_fcw43")
stretch_mode = 3
[node name="VBoxContainer" type="VBoxContainer" parent="ResourcePackContainer/MarginContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_constants/separation = 4
[node name="TitleScroll" type="ScrollContainer" parent="ResourcePackContainer/MarginContainer/HBoxContainer/VBoxContainer"]
unique_name_in_owner = true
custom_minimum_size = Vector2(0, 16)
layout_mode = 2
size_flags_vertical = 3
horizontal_scroll_mode = 3
vertical_scroll_mode = 3
script = ExtResource("7_khoix")
metadata/_custom_type_script = "uid://d63p6qr5a748"
[node name="Title" type="Label" parent="ResourcePackContainer/MarginContainer/HBoxContainer/VBoxContainer/TitleScroll"]
unique_name_in_owner = true
custom_minimum_size = Vector2(0, 8)
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
text = "TITLEAAAAAAAAAAAAAAAAAAAAAA"
[node name="DescScroll" type="ScrollContainer" parent="ResourcePackContainer/MarginContainer/HBoxContainer/VBoxContainer"]
unique_name_in_owner = true
custom_minimum_size = Vector2(0, 12)
layout_mode = 2
size_flags_vertical = 3
horizontal_scroll_mode = 3
vertical_scroll_mode = 3
script = ExtResource("7_khoix")
direction = 1
metadata/_custom_type_script = "uid://d63p6qr5a748"
[node name="Description" type="Label" parent="ResourcePackContainer/MarginContainer/HBoxContainer/VBoxContainer/DescScroll"]
unique_name_in_owner = true
modulate = Color(0.603653, 0.603653, 0.603653, 1)
custom_minimum_size = Vector2(0, 8)
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Replaces Blue Toad, with Yellow Toad"
autowrap_mode = 2
uppercase = true
[node name="LoadedOrder" type="Label" parent="ResourcePackContainer/MarginContainer/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
text = "1"
[node name="LabelFontChanger" type="Node" parent="." node_paths=PackedStringArray("labels")]
script = ExtResource("7_of2ay")
labels = [NodePath("../ResourcePackContainer/MarginContainer/HBoxContainer/VBoxContainer/TitleScroll/Title"), NodePath("../ResourcePackContainer/MarginContainer/HBoxContainer/VBoxContainer/DescScroll/Description"), NodePath("../ResourcePackContainer/MarginContainer/HBoxContainer/LoadedOrder")]
metadata/_custom_type_script = "uid://co6tjg3w6qpd8"
[node name="Edit" type="Control" parent="."]
custom_minimum_size = Vector2(10, 0)
layout_mode = 2
[node name="EditLabel" type="Label" parent="Edit"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
text = "►"
vertical_alignment = 1
uppercase = true

View File

@@ -0,0 +1,147 @@
[gd_scene load_steps=17 format=3 uid="uid://br018ivvrtsjd"]
[ext_resource type="Script" uid="uid://cqjtevrvgmcl0" path="res://Scripts/UI/SaveDeletionWarning.gd" id="1_13rbu"]
[ext_resource type="Texture2D" uid="uid://bnv2ocqgws3p7" path="res://Assets/Sprites/UI/Panel.png" id="2_xoheo"]
[ext_resource type="Texture2D" uid="uid://3p2l7rec0gh5" path="res://Assets/Sprites/UI/Cursor.png" id="4_3lqdd"]
[ext_resource type="Script" uid="uid://cq6f682453q6o" path="res://Scripts/Classes/Components/ResourceSetter.gd" id="5_dyhqq"]
[ext_resource type="Script" uid="uid://cmvlgsjmsk0v5" path="res://Scripts/Classes/Resources/ThemedResource.gd" id="6_livrr"]
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_u5q5e"]
texture = ExtResource("2_xoheo")
texture_margin_left = 2.0
texture_margin_top = 2.0
texture_margin_right = 2.0
texture_margin_bottom = 2.0
[sub_resource type="StyleBoxLine" id="StyleBoxLine_ojxyq"]
color = Color(1, 1, 1, 1)
grow_begin = -42.0
grow_end = -42.0
[sub_resource type="AtlasTexture" id="AtlasTexture_13rbu"]
atlas = ExtResource("4_3lqdd")
region = Rect2(0, 0, 8, 8)
[sub_resource type="AtlasTexture" id="AtlasTexture_1wxv0"]
atlas = ExtResource("4_3lqdd")
region = Rect2(0, 24, 8, 8)
[sub_resource type="AtlasTexture" id="AtlasTexture_l766q"]
atlas = ExtResource("4_3lqdd")
region = Rect2(8, 0, 8, 8)
[sub_resource type="AtlasTexture" id="AtlasTexture_n66kg"]
atlas = ExtResource("4_3lqdd")
region = Rect2(8, 8, 8, 8)
[sub_resource type="AtlasTexture" id="AtlasTexture_q8lhv"]
atlas = ExtResource("4_3lqdd")
region = Rect2(0, 0, 8, 8)
[sub_resource type="AtlasTexture" id="AtlasTexture_b745x"]
atlas = ExtResource("4_3lqdd")
region = Rect2(8, 16, 8, 8)
[sub_resource type="AtlasTexture" id="AtlasTexture_yusvk"]
atlas = ExtResource("4_3lqdd")
region = Rect2(0, 8, 8, 8)
[sub_resource type="AtlasTexture" id="AtlasTexture_d5ydw"]
atlas = ExtResource("4_3lqdd")
region = Rect2(0, 16, 8, 8)
[sub_resource type="Resource" id="Resource_5pmdp"]
script = ExtResource("6_livrr")
Overworld = SubResource("AtlasTexture_q8lhv")
Underground = SubResource("AtlasTexture_yusvk")
Desert = SubResource("AtlasTexture_l766q")
Snow = SubResource("AtlasTexture_b745x")
Jungle = SubResource("AtlasTexture_n66kg")
Underwater = SubResource("AtlasTexture_d5ydw")
Castle = SubResource("AtlasTexture_1wxv0")
metadata/_custom_type_script = ExtResource("6_livrr")
[node name="CampaignSelect" type="Control"]
layout_mode = 3
anchors_preset = 0
offset_right = 168.0
offset_bottom = 132.0
script = ExtResource("1_13rbu")
[node name="PanelContainer" type="PanelContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxTexture_u5q5e")
[node name="MarginContainer" type="MarginContainer" parent="PanelContainer"]
layout_mode = 2
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer/MarginContainer"]
layout_mode = 2
theme_override_constants/separation = 0
alignment = 1
[node name="SelectWorld" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer"]
layout_mode = 2
theme_override_colors/font_color = Color(0.968627, 0.223529, 0.0627451, 1)
text = "Warning!!"
horizontal_alignment = 1
autowrap_mode = 2
uppercase = true
[node name="HSeparator" type="HSeparator" parent="PanelContainer/MarginContainer/VBoxContainer"]
layout_mode = 2
theme_override_styles/separator = SubResource("StyleBoxLine_ojxyq")
[node name="Control" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 8)
layout_mode = 2
[node name="Label" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer"]
layout_mode = 2
text = "This will erase all of your data from this campaign.
Do you wish to proceed?"
horizontal_alignment = 1
autowrap_mode = 2
uppercase = true
[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 6
theme_override_constants/separation = 4
alignment = 1
[node name="Yes" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer"]
custom_minimum_size = Vector2(32, 0)
layout_mode = 2
text = "Yes"
autowrap_mode = 2
uppercase = true
[node name="No" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer"]
custom_minimum_size = Vector2(32, 0)
layout_mode = 2
text = "no"
autowrap_mode = 2
uppercase = true
[node name="Cursor" type="TextureRect" parent="."]
layout_mode = 0
offset_left = 44.0
offset_top = 113.0
offset_right = 52.0
offset_bottom = 121.0
texture = SubResource("AtlasTexture_13rbu")
stretch_mode = 2
[node name="ResourceSetter" type="Node" parent="Cursor" node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("5_dyhqq")
node_to_affect = NodePath("..")
property_name = "texture"
themed_resource = SubResource("Resource_5pmdp")
metadata/_custom_type_script = "uid://cq6f682453q6o"

View File

@@ -0,0 +1,914 @@
[gd_scene load_steps=27 format=3 uid="uid://dnksdgorle8su"]
[ext_resource type="Script" uid="uid://cj6858gmexp11" path="res://Scripts/UI/SettingsMenu.gd" id="1_hnwhb"]
[ext_resource type="StyleBox" uid="uid://comkghpj0djcl" path="res://Resources/UI/Panel.tres" id="2_t6b48"]
[ext_resource type="Texture2D" uid="uid://0ffyi283pret" path="res://Assets/Sprites/UI/SettingsIcon.png" id="3_7l5ko"]
[ext_resource type="PackedScene" uid="uid://dbvy0rhwpv4w4" path="res://Scenes/Parts/SelectableOptionNode.tscn" id="3_dl6kk"]
[ext_resource type="Script" uid="uid://dcmjifllvi3qd" path="res://Scripts/UI/SettingsCategory.gd" id="4_avtty"]
[ext_resource type="Script" uid="uid://26yissv8bnqw" path="res://Scripts/UI/WindowChanger.gd" id="5_hnwhb"]
[ext_resource type="Texture2D" uid="uid://deooy8040yx2u" path="res://Assets/Sprites/UI/LocaleFlags.png" id="5_q6iis"]
[ext_resource type="PackedScene" uid="uid://dtiqcfrw110kd" path="res://Scenes/Parts/SelectableSliderNode.tscn" id="7_om3lc"]
[ext_resource type="Script" uid="uid://bdgvsycico544" path="res://Scripts/UI/AudioAdjuster.gd" id="8_yclde"]
[ext_resource type="Script" uid="uid://idiqu54si1n4" path="res://Scripts/Parts/ResourcePackLoader.gd" id="9_2qqpf"]
[ext_resource type="Script" uid="uid://hb401vacltfw" path="res://Scripts/Parts/VisualsSetter.gd" id="9_kfq5n"]
[ext_resource type="PackedScene" uid="uid://bflpf2fdtbgkt" path="res://Scenes/Parts/SelectableInputOptionNode.tscn" id="9_ksnto"]
[ext_resource type="PackedScene" uid="uid://bhaekyi2jfwok" path="res://Scenes/Parts/SelectableOptionButton.tscn" id="9_t6b48"]
[ext_resource type="Script" uid="uid://cxkumlifwb0s6" path="res://Scripts/Parts/DifficultySetter.gd" id="10_2qqpf"]
[ext_resource type="Script" uid="uid://d63p6qr5a748" path="res://Scripts/UI/AutoScrollContainer.gd" id="12_oh4w7"]
[ext_resource type="Script" uid="uid://co6tjg3w6qpd8" path="res://Scripts/Parts/LabelFontChanger.gd" id="13_iwu7d"]
[ext_resource type="PackedScene" uid="uid://bqy0nm0h7f5sl" path="res://Scenes/Parts/DataDeletionNode.tscn" id="15_oh4w7"]
[ext_resource type="PackedScene" uid="uid://bom2rstlk8fws" path="res://Scenes/Prefabs/UI/ResourcePackConfigMenu.tscn" id="16_78q3k"]
[ext_resource type="Script" uid="uid://dcx77vdfvwq4y" path="res://Scripts/Parts/ResourcePackTemplateCreator.gd" id="19_k6yev"]
[sub_resource type="StyleBoxLine" id="StyleBoxLine_ksnto"]
color = Color(1, 1, 1, 1)
[sub_resource type="StyleBoxLine" id="StyleBoxLine_oh4w7"]
color = Color(1, 1, 1, 1)
[sub_resource type="StyleBoxLine" id="StyleBoxLine_2qqpf"]
content_margin_top = 0.0
color = Color(1, 1, 1, 1)
grow_begin = 3.0
grow_end = -2.0
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_ksnto"]
[sub_resource type="GDScript" id="GDScript_ksnto"]
script/source = "extends Node
var input_nodes := []
var actions := [\"jump\", \"run\", \"action\", \"move_left\", \"move_right\", \"move_up\", \"move_down\"]
@export_enum(\"Keyboard\", \"Controller\") var type := 0
func _ready() -> void:
get_input_nodes()
load_inputs()
func get_input_nodes() -> void:
input_nodes.clear()
for i in get_parent().get_children():
if i is SelectableInputOption:
input_nodes.append(i)
func load_inputs() -> void:
for i in input_nodes:
var action = i.action_name
var value = Settings.file[[\"keyboard\", \"controller\"][type]].get(action, null)
var event: InputEvent = null
if value == null:
continue
if type == 0:
event = InputEventKey.new()
event.keycode = OS.find_keycode_from_string(value)
elif type == 1:
if value is String:
var array = value.split(\",\")
event = InputEventJoypadMotion.new()
event.axis = int(array[0])
event.axis_value = int(array[1])
elif value is int:
event = InputEventJoypadButton.new()
event.button_index = value
i.map_event_to_action(event)
func update_starting_values() -> void:
load_inputs()
func save_inputs() -> void:
for i in actions:
var event = InputMap.action_get_events(i + \"_0\")[type]
var rep
if event is InputEventKey:
rep = OS.get_keycode_string(event.keycode)
elif event is InputEventJoypadButton:
rep = event.button_index
elif event is InputEventJoypadMotion:
rep = str(event.axis) + \",\" + str(event.axis_value)
Settings.file[[\"keyboard\", \"controller\"][type]][i] = rep
"
[sub_resource type="StyleBoxLine" id="StyleBoxLine_k6yev"]
color = Color(1, 1, 1, 1)
[sub_resource type="GDScript" id="GDScript_oh4w7"]
script/source = "extends Node
signal achievements_deleted
func delete_story(campaign := \"SMB1\") -> void:
var save_json = SaveManager.load_save(campaign)
for i in [\"World\", \"Level\", \"Coins\", \"Score\", \"GameWin\", \"PowerStates\", \"LevelsVisited\", \"HighScore\", \"ExtraWorldWin\"]:
save_json[i] = SaveManager.SAVE_TEMPLATE[i]
if save_json.has(\"Ranks\"):
save_json[\"Ranks\"] = \"ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ\"
SaveManager.write_save_to_file(save_json, \"user://saves/\" + campaign + \".sav\")
SaveManager.apply_save(save_json)
func delete_challenge(campaign := \"SMB1\") -> void:
var save_json = SaveManager.load_save(campaign)
for i in [\"ChallengeScores\", \"RedCoins\"]:
save_json[i] = SaveManager.SAVE_TEMPLATE[i]
SaveManager.write_save_to_file(save_json, \"user://saves/\" + campaign + \".sav\")
SaveManager.apply_save(save_json)
func delete_boo(campaign := \"SMB1\") -> void:
var save_json = SaveManager.load_save(campaign)
for i in [\"ClearedBooLevels\", \"BooBestTimes\"]:
save_json[i] = SaveManager.SAVE_TEMPLATE[i]
SaveManager.write_save_to_file(save_json, \"user://saves/\" + campaign + \".sav\")
SaveManager.apply_save(save_json)
func delete_marathon(campaign := \"SMB1\") -> void:
var save_json = SaveManager.load_save(campaign)
for i in [\"BestAnyTime\", \"BestWarplessTime\"]:
save_json[i] = SaveManager.SAVE_TEMPLATE[i]
SaveManager.write_save_to_file(save_json, \"user://saves/\" + campaign + \".sav\")
SaveManager.apply_save(save_json)
for i in DirAccess.get_files_at(\"user://marathon_recordings/\" + campaign + \"/\"):
DirAccess.remove_absolute(\"user://marathon_recordings/\" + campaign + \"/\" + i)
for world in 8:
for level in 4:
SpeedrunHandler.best_level_warpless_times[world][level] = -1
SpeedrunHandler.best_level_any_times.clear()
SpeedrunHandler.marathon_best_any_time = -1
SpeedrunHandler.marathon_best_warpless_time = -1
func delete_achievement(_campaign := \"SMB1\") -> void:
for i in Global.achievements.length():
Global.achievements[i] = \"0\"
SaveManager.write_achievements()
achievements_deleted.emit()
func delete_everything(campaign := \"SMB1\") -> void:
delete_story(campaign)
delete_marathon(campaign)
delete_challenge(campaign)
delete_achievement(campaign)
delete_boo(campaign)
"
[node name="SettingsMenu" type="Control" node_paths=PackedStringArray("containers")]
process_mode = 4
visible = false
custom_minimum_size = Vector2(250, 0)
layout_mode = 3
anchor_left = 0.1
anchor_top = 0.1
anchor_right = 0.9
anchor_bottom = 0.9
offset_left = -22.600006
offset_right = 22.600006
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_hnwhb")
containers = [NodePath("PanelContainer/MarginContainer/VBoxContainer/Video"), NodePath("PanelContainer/MarginContainer/VBoxContainer/Audio"), NodePath("PanelContainer/MarginContainer/VBoxContainer/Visuals"), NodePath("PanelContainer/MarginContainer/VBoxContainer/ResourcePacks"), NodePath("PanelContainer/MarginContainer/VBoxContainer/Difficulty"), NodePath("PanelContainer/MarginContainer/VBoxContainer/KeyboardControls"), NodePath("PanelContainer/MarginContainer/VBoxContainer/Controller"), NodePath("PanelContainer/MarginContainer/VBoxContainer/Data")]
[node name="PanelContainer" type="PanelContainer" parent="."]
custom_minimum_size = Vector2(222, 0)
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = ExtResource("2_t6b48")
[node name="MarginContainer" type="MarginContainer" parent="PanelContainer"]
layout_mode = 2
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer/MarginContainer"]
layout_mode = 2
theme_override_constants/separation = 0
[node name="Title" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 0
text = "MENU_SETTINGS"
horizontal_alignment = 1
uppercase = true
[node name="HSeparator" type="HSeparator" parent="PanelContainer/MarginContainer/VBoxContainer/Title"]
layout_mode = 1
anchors_preset = -1
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -4.0
grow_horizontal = 2
grow_vertical = 0
theme_override_styles/separator = SubResource("StyleBoxLine_ksnto")
[node name="Control" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 8)
layout_mode = 2
[node name="CategorySelect" type="VBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer"]
layout_mode = 2
theme_override_constants/separation = -4
alignment = 1
[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer/CategorySelect"]
layout_mode = 2
theme_override_constants/separation = -8
[node name="LeftArrow" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/CategorySelect/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
text = "◄"
[node name="Category" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/CategorySelect/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 0
text = "video"
horizontal_alignment = 1
uppercase = true
[node name="HSeparator" type="HSeparator" parent="PanelContainer/MarginContainer/VBoxContainer/CategorySelect/HBoxContainer/Category"]
layout_mode = 1
anchors_preset = -1
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -4.0
grow_horizontal = 2
grow_vertical = 0
theme_override_styles/separator = SubResource("StyleBoxLine_oh4w7")
[node name="RightArrow" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/CategorySelect/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
text = "►"
[node name="Video" type="VBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer" node_paths=PackedStringArray("options")]
visible = false
layout_mode = 2
size_flags_vertical = 3
theme_override_constants/separation = -4
script = ExtResource("4_avtty")
category_name = "SETTINGS_VIDEO"
options = [NodePath("Language"), NodePath("WindowMode"), NodePath("Size"), NodePath("Visuals"), NodePath("Scaling"), NodePath("VSync"), NodePath("DropShadows"), NodePath("HudStyle")]
[node name="Control" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/Video"]
custom_minimum_size = Vector2(0, 4)
layout_mode = 2
[node name="Language" parent="PanelContainer/MarginContainer/VBoxContainer/Video" groups=["Options"] instance=ExtResource("3_dl6kk")]
layout_mode = 2
option_key = "lang"
title = "SETTINGS_LANGUAGE"
values = ["LANGUAGE_NAME", "LANGUAGE_NAME", "LANGUAGE_NAME", "LANGUAGE_NAME", "LANGUAGE_NAME", "LANGUAGE_NAME", "LANGUAGE_NAME", "LANGUAGE_NAME", "LANGUAGE_NAME", "LANGUAGE_NAME", "LANGUAGE_NAME", "LANGUAGE_NAME", "LANGUAGE_NAME"]
settings_category = "game"
[node name="Flag" type="NinePatchRect" parent="PanelContainer/MarginContainer/VBoxContainer/Video/Language/HBoxContainer" index="0"]
unique_name_in_owner = true
custom_minimum_size = Vector2(16, 0)
layout_mode = 2
size_flags_horizontal = 8
texture = ExtResource("5_q6iis")
region_rect = Rect2(0, 0, 16, 16)
[node name="WindowMode" parent="PanelContainer/MarginContainer/VBoxContainer/Video" groups=["Options"] instance=ExtResource("3_dl6kk")]
layout_mode = 2
option_key = "mode"
title = "VIDEO_MODE"
values = ["VIDEO_MODE_WINDOWED", "VIDEO_MODE_BORDERLESS", "VIDEO_MODE_FULLSCREEN"]
[node name="Size" parent="PanelContainer/MarginContainer/VBoxContainer/Video" groups=["Options"] instance=ExtResource("3_dl6kk")]
layout_mode = 2
option_key = "size"
title = "VIDEO_SIZE"
values = ["VIDEO_ASPECT_OG", "VIDEO_ASPECT_WIDE"]
selected = true
[node name="Visuals" parent="PanelContainer/MarginContainer/VBoxContainer/Video" groups=["Options"] instance=ExtResource("3_dl6kk")]
layout_mode = 2
option_key = "visuals"
title = "VIDEO_RENDER"
values = ["VIDEO_VISUALS_PIXEL", "VIDEO_VISUALS_SMOOTH"]
[node name="Scaling" parent="PanelContainer/MarginContainer/VBoxContainer/Video" groups=["Options"] instance=ExtResource("3_dl6kk")]
layout_mode = 2
option_key = "scaling"
title = "VIDEO_SCALING"
values = ["VIDEO_SCALING_INT", "VIDEO_SCALING_FRACT"]
[node name="VSync" parent="PanelContainer/MarginContainer/VBoxContainer/Video" groups=["Options"] instance=ExtResource("3_dl6kk")]
layout_mode = 2
option_key = "vsync"
title = "VIDEO_VSYNC"
values = ["SETTING_OFF", "SETTING_ON"]
[node name="DropShadows" parent="PanelContainer/MarginContainer/VBoxContainer/Video" groups=["Options"] instance=ExtResource("3_dl6kk")]
layout_mode = 2
option_key = "drop_shadows"
title = "VIDEO_SHADOWS"
values = ["SETTING_OFF", "SETTING_ON"]
[node name="HudStyle" parent="PanelContainer/MarginContainer/VBoxContainer/Video" groups=["Options"] instance=ExtResource("3_dl6kk")]
layout_mode = 2
option_key = "hud_scaling"
title = "VIDEO_HUD_SCALING"
values = ["VIDEO_HUD_STRETCHED", "VIDEO_HUD_CENTER"]
[node name="WindowChanger" type="Node" parent="PanelContainer/MarginContainer/VBoxContainer/Video"]
script = ExtResource("5_hnwhb")
[node name="Audio" type="VBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer" node_paths=PackedStringArray("options")]
visible = false
layout_mode = 2
theme_override_constants/separation = -4
script = ExtResource("4_avtty")
category_name = "SETTINGS_AUDIO"
options = [NodePath("SelectableOptionNode"), NodePath("SelectableOptionNode2"), NodePath("SelectableOptionNode3"), NodePath("AthleticMusic"), NodePath("SkidSFX"), NodePath("ExtraSFX"), NodePath("MenuBGM")]
[node name="Control" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/Audio"]
custom_minimum_size = Vector2(0, 4)
layout_mode = 2
[node name="SelectableOptionNode" parent="PanelContainer/MarginContainer/VBoxContainer/Audio" groups=["Options"] instance=ExtResource("7_om3lc")]
layout_mode = 2
option_key = "master"
title = "AUDIO_MASTER"
[node name="SFX" parent="PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode" index="3"]
bus = &"Master"
[node name="SelectableOptionNode2" parent="PanelContainer/MarginContainer/VBoxContainer/Audio" groups=["Options"] instance=ExtResource("7_om3lc")]
layout_mode = 2
option_key = "music"
title = "AUDIO_MUSIC"
[node name="SFX" parent="PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode2" index="3"]
bus = &"Music"
[node name="SelectableOptionNode3" parent="PanelContainer/MarginContainer/VBoxContainer/Audio" groups=["Options"] instance=ExtResource("7_om3lc")]
layout_mode = 2
option_key = "sfx"
title = "AUDIO_SFX"
[node name="AthleticMusic" parent="PanelContainer/MarginContainer/VBoxContainer/Audio" groups=["Options"] instance=ExtResource("3_dl6kk")]
layout_mode = 2
option_key = "extra_bgm"
title = "AUDIO_EXTRA_BGM"
values = ["SETTING_OFF", "SETTING_ON"]
settings_category = "audio"
[node name="SkidSFX" parent="PanelContainer/MarginContainer/VBoxContainer/Audio" groups=["Options"] instance=ExtResource("3_dl6kk")]
layout_mode = 2
option_key = "skid_sfx"
title = "AUDIO_SKID_SFX"
values = ["SETTING_OFF", "SETTING_ON"]
settings_category = "audio"
[node name="ExtraSFX" parent="PanelContainer/MarginContainer/VBoxContainer/Audio" groups=["Options"] instance=ExtResource("3_dl6kk")]
layout_mode = 2
option_key = "extra_sfx"
title = "AUDIO_EXTRA_SFX"
values = ["SETTING_OFF", "SETTING_ON"]
settings_category = "audio"
[node name="MenuBGM" parent="PanelContainer/MarginContainer/VBoxContainer/Audio" groups=["Options"] instance=ExtResource("3_dl6kk")]
layout_mode = 2
option_key = "menu_bgm"
title = "AUDIO_MENU_BGM"
values = ["SETTING_OFF", "SETTING_ON"]
settings_category = "audio"
[node name="AudioAdjuster" type="Node" parent="PanelContainer/MarginContainer/VBoxContainer/Audio"]
script = ExtResource("8_yclde")
[node name="Visuals" type="VBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer" node_paths=PackedStringArray("options")]
visible = false
layout_mode = 2
size_flags_vertical = 3
theme_override_constants/separation = -4
script = ExtResource("4_avtty")
category_name = "SETTINGS_VISUALS"
options = [NodePath("ParallaxStyle"), NodePath("BGParticles"), NodePath("HUDStyle"), NodePath("RainbowEffect"), NodePath("TransformationEffect"), NodePath("TextShadows"), NodePath("BridgeDestructionAnimation"), NodePath("VisibleTimers"), NodePath("TransitionAnimation"), NodePath("ColourfulPipes")]
[node name="Control" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/Visuals"]
custom_minimum_size = Vector2(0, 4)
layout_mode = 2
[node name="ParallaxStyle" parent="PanelContainer/MarginContainer/VBoxContainer/Visuals" groups=["Options"] instance=ExtResource("3_dl6kk")]
layout_mode = 2
option_key = "parallax_style"
title = "VISUALS_PARALLAX"
values = ["VISUAL_PARALLAX_NONE", "VISUAL_PARALLAX_BASIC", "VISUAL_PARALLAX_DETAIL"]
settings_category = "visuals"
[node name="BGParticles" parent="PanelContainer/MarginContainer/VBoxContainer/Visuals" groups=["Options"] instance=ExtResource("3_dl6kk")]
layout_mode = 2
option_key = "bg_particles"
title = "VISUAL_PARTICLES"
values = ["SETTING_OFF", "SETTING_ON"]
settings_category = "visuals"
[node name="HUDStyle" parent="PanelContainer/MarginContainer/VBoxContainer/Visuals" groups=["Options"] instance=ExtResource("3_dl6kk")]
layout_mode = 2
option_key = "modern_hud"
title = "VISUAL_HUD_STYLE"
values = ["SETTINGS_CLASSIC", "SETTINGS_MODERN"]
settings_category = "visuals"
[node name="RainbowEffect" parent="PanelContainer/MarginContainer/VBoxContainer/Visuals" groups=["Options"] instance=ExtResource("3_dl6kk")]
layout_mode = 2
option_key = "rainbow_style"
title = "VISUAL_RAINBOW"
values = ["SETTINGS_CLASSIC", "SETTINGS_MODERN"]
settings_category = "visuals"
[node name="TransformationEffect" parent="PanelContainer/MarginContainer/VBoxContainer/Visuals" groups=["Options"] instance=ExtResource("3_dl6kk")]
layout_mode = 2
option_key = "transform_style"
title = "VISUAL_TRANSFORM"
values = ["SETTINGS_CLASSIC", "SETTINGS_MODERN"]
settings_category = "visuals"
[node name="TextShadows" parent="PanelContainer/MarginContainer/VBoxContainer/Visuals" groups=["Options"] instance=ExtResource("3_dl6kk")]
layout_mode = 2
option_key = "text_shadows"
title = "VISUAL_TEXT_SHADOWS"
values = ["SETTING_OFF", "SETTING_ON"]
settings_category = "visuals"
[node name="BridgeDestructionAnimation" parent="PanelContainer/MarginContainer/VBoxContainer/Visuals" groups=["Options"] instance=ExtResource("3_dl6kk")]
layout_mode = 2
option_key = "bridge_animation"
title = "VISUAL_BRIDGE_ANIMATION"
values = ["SETTINGS_CLASSIC", "SETTINGS_MODERN"]
settings_category = "visuals"
[node name="VisibleTimers" parent="PanelContainer/MarginContainer/VBoxContainer/Visuals" groups=["Options"] instance=ExtResource("3_dl6kk")]
layout_mode = 2
option_key = "visible_timers"
title = "VISUAL_VISIBLE_TIMERS"
values = ["SETTING_OFF", "SETTING_ON"]
settings_category = "visuals"
[node name="TransitionAnimation" parent="PanelContainer/MarginContainer/VBoxContainer/Visuals" groups=["Options"] instance=ExtResource("3_dl6kk")]
layout_mode = 2
option_key = "transition_animation"
title = "VISUAL_TRANSITION_EFFECT"
values = ["VISUAL_TRANSITION_CLASSIC", "VISUAL_TRANSITION_SMOOTH"]
settings_category = "visuals"
[node name="ColourfulPipes" parent="PanelContainer/MarginContainer/VBoxContainer/Visuals" groups=["Options"] instance=ExtResource("3_dl6kk")]
layout_mode = 2
option_key = "colour_pipes"
title = "VISUAL_COLOURFUL_PIPES"
values = ["SETTING_OFF", "SETTING_ON"]
settings_category = "visuals"
[node name="VisualsSetter" type="Node" parent="PanelContainer/MarginContainer/VBoxContainer/Visuals"]
script = ExtResource("9_kfq5n")
[node name="ResourcePacks" type="VBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer" node_paths=PackedStringArray("options")]
visible = false
custom_minimum_size = Vector2(0, 171)
layout_mode = 2
size_flags_vertical = 3
theme_override_constants/separation = -4
script = ExtResource("4_avtty")
category_name = "SETTINGS_RESOURCE_PACK"
options = [NodePath("SelectableOptionNode"), NodePath("SelectableOptionNode2"), NodePath("SelectableOptionNode3")]
[node name="Label" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/ResourcePacks"]
visible = false
modulate = Color(1, 1, 0, 1)
layout_mode = 2
text = "RESOURCE_PACK_WARNING"
autowrap_mode = 2
[node name="SelectableOptionNode" parent="PanelContainer/MarginContainer/VBoxContainer/ResourcePacks" groups=["Options"] instance=ExtResource("9_t6b48")]
layout_mode = 2
title = "RESOURCE_OPEN_FOLDER"
[node name="SelectableOptionNode2" parent="PanelContainer/MarginContainer/VBoxContainer/ResourcePacks" groups=["Options"] instance=ExtResource("9_t6b48")]
custom_minimum_size = Vector2(0, 25)
layout_mode = 2
title = "RESOURCE_REFRESH"
[node name="SelectableOptionNode3" parent="PanelContainer/MarginContainer/VBoxContainer/ResourcePacks" instance=ExtResource("9_t6b48")]
layout_mode = 2
title = "RESOURCE_PACK_CREATE"
[node name="ResourcePackLoader" type="Node" parent="PanelContainer/MarginContainer/VBoxContainer/ResourcePacks"]
script = ExtResource("9_2qqpf")
[node name="ScrollContainer" type="ScrollContainer" parent="PanelContainer/MarginContainer/VBoxContainer/ResourcePacks"]
layout_mode = 2
size_flags_vertical = 3
follow_focus = true
vertical_scroll_mode = 3
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer/ResourcePacks/ScrollContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
theme_override_constants/separation = 1
[node name="Control" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/ResourcePacks"]
custom_minimum_size = Vector2(0, 8)
layout_mode = 2
[node name="Difficulty" type="VBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer" node_paths=PackedStringArray("options", "description_node")]
visible = false
custom_minimum_size = Vector2(0, 134)
layout_mode = 2
size_flags_vertical = 3
theme_override_constants/separation = -4
script = ExtResource("4_avtty")
category_name = "SETTINGS_DIFFICULTY"
options = [NodePath("DamageStyle"), NodePath("Checkpoints"), NodePath("ExtraCheckpoints"), NodePath("Lives"), NodePath("FlagpoleLives"), NodePath("GameOverStyle"), NodePath("LevelDesign"), NodePath("BackScroll"), NodePath("TimeLimit"), NodePath("LakituStyle")]
description_node = NodePath("Description/AutoScrollContainer/MarginContainer/Desc")
[node name="Control" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/Difficulty"]
custom_minimum_size = Vector2(0, 4)
layout_mode = 2
[node name="DamageStyle" parent="PanelContainer/MarginContainer/VBoxContainer/Difficulty" groups=["Options"] instance=ExtResource("3_dl6kk")]
layout_mode = 2
option_key = "damage_style"
title = "DIFFI_DAMAGE_STYLE"
value_descs = Array[String](["DESC_DMG_STYLE_0", "DESC_DMG_STYLE_1"])
values = ["SETTINGS_CLASSIC", "SETTINGS_MODERN"]
settings_category = "difficulty"
[node name="Checkpoints" parent="PanelContainer/MarginContainer/VBoxContainer/Difficulty" groups=["Options"] instance=ExtResource("3_dl6kk")]
layout_mode = 2
option_key = "checkpoint_style"
title = "DIFFI_CHECKPOINT"
value_descs = Array[String](["DESC_FLAG_0", "DESC_FLAG_1", "DESC_FLAG_2"])
values = ["DIFFI_CHECK_NO_FLAG", "DIFFI_CHECK_FLAG", "DIFFI_CHECK_FLAG+"]
settings_category = "difficulty"
[node name="ExtraCheckpoints" parent="PanelContainer/MarginContainer/VBoxContainer/Difficulty" groups=["Options"] instance=ExtResource("3_dl6kk")]
layout_mode = 2
option_key = "extra_checkpoints"
title = "DIFFI_EXTRA_CHECK"
value_descs = Array[String](["DESC_EXTRA_CHECK_0", "DESC_EXTRA_CHECK_1"])
values = ["SETTING_OFF", "SETTING_ON"]
settings_category = "difficulty"
[node name="Lives" parent="PanelContainer/MarginContainer/VBoxContainer/Difficulty" groups=["Options"] instance=ExtResource("3_dl6kk")]
layout_mode = 2
option_key = "inf_lives"
title = "DIFFI_INF_LIVES"
value_descs = Array[String](["DESC_INF_LIVES_0", "DESC_INF_LIVES_1"])
values = ["SETTING_OFF", "SETTING_ON"]
settings_category = "difficulty"
[node name="FlagpoleLives" parent="PanelContainer/MarginContainer/VBoxContainer/Difficulty" groups=["Options"] instance=ExtResource("3_dl6kk")]
layout_mode = 2
option_key = "flagpole_lives"
title = "DIFFI_FLAG_LIVES"
value_descs = Array[String](["DESC_FLAG_LIVES_0", "DESC_FLAG_LIVES_1"])
values = ["SETTING_OFF", "SETTING_ON"]
settings_category = "difficulty"
[node name="GameOverStyle" parent="PanelContainer/MarginContainer/VBoxContainer/Difficulty" groups=["Options"] instance=ExtResource("3_dl6kk")]
layout_mode = 2
option_key = "game_over"
title = "DIFFI_GAME_OVER"
value_descs = Array[String](["DESC_GAME_OVER_0", "DESC_GAME_OVER_1", "DESC_GAME_OVER_2"])
values = ["DIFFI_GAME_OVER_WLD", "DIFFI_GAME_OVER_LVL", "DIFFI_GAME_OVER_GME"]
settings_category = "difficulty"
[node name="LevelDesign" parent="PanelContainer/MarginContainer/VBoxContainer/Difficulty" groups=["Options"] instance=ExtResource("3_dl6kk")]
layout_mode = 2
option_key = "level_design"
title = "DIFFI_LEVEL_DESIGN"
value_descs = Array[String](["DESC_LEVEL_DESIGN_0", "DESC_LEVEL_DESIGN_1"])
values = ["SETTINGS_CLASSIC", "SETTINGS_MODERN"]
settings_category = "difficulty"
[node name="BackScroll" parent="PanelContainer/MarginContainer/VBoxContainer/Difficulty" groups=["Options"] instance=ExtResource("3_dl6kk")]
layout_mode = 2
option_key = "back_scroll"
title = "DIFFI_BACKSCROLL"
value_descs = Array[String](["DESC_BACKSCROLL_0", "DESC_BACKSCROLL_1"])
values = ["SETTING_OFF", "SETTING_ON"]
settings_category = "difficulty"
[node name="TimeLimit" parent="PanelContainer/MarginContainer/VBoxContainer/Difficulty" groups=["Options"] instance=ExtResource("3_dl6kk")]
layout_mode = 2
option_key = "time_limit"
title = "DIFFI_TIME"
value_descs = Array[String](["DESC_TIME_0", "DESC_TIME_1"])
values = ["SETTING_OFF", "SETTING_ON"]
settings_category = "difficulty"
[node name="LakituStyle" parent="PanelContainer/MarginContainer/VBoxContainer/Difficulty" groups=["Options"] instance=ExtResource("3_dl6kk")]
layout_mode = 2
option_key = "lakitu_style"
title = "DIFFI_LAKITU"
value_descs = Array[String](["DESC_LAKITU_0", "DESC_LAKITU_1"])
values = ["DIFFI_LAKITU_0", "DIFFI_LAKITU_1"]
settings_category = "difficulty"
[node name="HSeparator" type="HSeparator" parent="PanelContainer/MarginContainer/VBoxContainer/Difficulty"]
custom_minimum_size = Vector2(0, 11)
layout_mode = 2
theme_override_styles/separator = SubResource("StyleBoxLine_2qqpf")
[node name="Description" type="PanelContainer" parent="PanelContainer/MarginContainer/VBoxContainer/Difficulty"]
layout_mode = 2
size_flags_vertical = 3
theme_override_styles/panel = SubResource("StyleBoxEmpty_ksnto")
[node name="AutoScrollContainer" type="ScrollContainer" parent="PanelContainer/MarginContainer/VBoxContainer/Difficulty/Description"]
custom_minimum_size = Vector2(0, 48)
layout_mode = 2
horizontal_scroll_mode = 0
vertical_scroll_mode = 3
script = ExtResource("12_oh4w7")
direction = 1
is_active = true
auto_connect_focus = false
metadata/_custom_type_script = "uid://d63p6qr5a748"
[node name="MarginContainer" type="MarginContainer" parent="PanelContainer/MarginContainer/VBoxContainer/Difficulty/Description/AutoScrollContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
theme_override_constants/margin_bottom = -4
[node name="Desc" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/Difficulty/Description/AutoScrollContainer/MarginContainer"]
layout_mode = 2
size_flags_vertical = 0
autowrap_mode = 2
uppercase = true
[node name="DifficultySetter" type="Node" parent="PanelContainer/MarginContainer/VBoxContainer/Difficulty"]
script = ExtResource("10_2qqpf")
[node name="KeyboardControls" type="VBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer" node_paths=PackedStringArray("options")]
visible = false
layout_mode = 2
theme_override_constants/separation = -4
script = ExtResource("4_avtty")
category_name = "SETTINGS_KEYBOARD"
options = [NodePath("Jump"), NodePath("Run"), NodePath("Action"), NodePath("Left"), NodePath("Right"), NodePath("Up"), NodePath("Down")]
[node name="Control" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/KeyboardControls"]
custom_minimum_size = Vector2(0, 4)
layout_mode = 2
[node name="Jump" parent="PanelContainer/MarginContainer/VBoxContainer/KeyboardControls" groups=["Options"] instance=ExtResource("9_ksnto")]
layout_mode = 2
action_name = "jump"
title = "ACTION_JUMP"
[node name="Run" parent="PanelContainer/MarginContainer/VBoxContainer/KeyboardControls" groups=["Options"] instance=ExtResource("9_ksnto")]
layout_mode = 2
action_name = "run"
title = "ACTION_RUN"
[node name="Action" parent="PanelContainer/MarginContainer/VBoxContainer/KeyboardControls" groups=["Options"] instance=ExtResource("9_ksnto")]
layout_mode = 2
action_name = "action"
title = "ACTION_ACTION"
[node name="Left" parent="PanelContainer/MarginContainer/VBoxContainer/KeyboardControls" groups=["Options"] instance=ExtResource("9_ksnto")]
layout_mode = 2
action_name = "move_left"
title = "ACTION_LEFT"
[node name="Right" parent="PanelContainer/MarginContainer/VBoxContainer/KeyboardControls" groups=["Options"] instance=ExtResource("9_ksnto")]
layout_mode = 2
action_name = "move_right"
title = "ACTION_RIGHT"
[node name="Up" parent="PanelContainer/MarginContainer/VBoxContainer/KeyboardControls" groups=["Options"] instance=ExtResource("9_ksnto")]
layout_mode = 2
action_name = "move_up"
title = "ACTION_UP"
[node name="Down" parent="PanelContainer/MarginContainer/VBoxContainer/KeyboardControls" groups=["Options"] instance=ExtResource("9_ksnto")]
layout_mode = 2
action_name = "move_down"
title = "ACTION_DOWN"
[node name="InputMapSaving" type="Node" parent="PanelContainer/MarginContainer/VBoxContainer/KeyboardControls" groups=["Options"]]
script = SubResource("GDScript_ksnto")
[node name="Controller" type="VBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer" node_paths=PackedStringArray("options")]
visible = false
layout_mode = 2
theme_override_constants/separation = -4
script = ExtResource("4_avtty")
category_name = "SETTINGS_CONTROLLER"
options = [NodePath("Jump"), NodePath("Run"), NodePath("Action"), NodePath("Left"), NodePath("Right"), NodePath("Up"), NodePath("Down")]
[node name="Control" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/Controller"]
custom_minimum_size = Vector2(0, 4)
layout_mode = 2
[node name="Jump" parent="PanelContainer/MarginContainer/VBoxContainer/Controller" groups=["Options"] instance=ExtResource("9_ksnto")]
layout_mode = 2
settings_category = "controller"
action_name = "jump"
title = "ACTION_JUMP"
type = 1
[node name="Run" parent="PanelContainer/MarginContainer/VBoxContainer/Controller" groups=["Options"] instance=ExtResource("9_ksnto")]
layout_mode = 2
settings_category = "controller"
action_name = "run"
title = "ACTION_RUN"
type = 1
[node name="Action" parent="PanelContainer/MarginContainer/VBoxContainer/Controller" groups=["Options"] instance=ExtResource("9_ksnto")]
layout_mode = 2
settings_category = "controller"
action_name = "action"
title = "ACTION_ACTION"
type = 1
[node name="Left" parent="PanelContainer/MarginContainer/VBoxContainer/Controller" groups=["Options"] instance=ExtResource("9_ksnto")]
layout_mode = 2
settings_category = "controller"
action_name = "move_left"
title = "ACTION_LEFT"
type = 1
[node name="Right" parent="PanelContainer/MarginContainer/VBoxContainer/Controller" groups=["Options"] instance=ExtResource("9_ksnto")]
layout_mode = 2
settings_category = "controller"
action_name = "move_right"
title = "ACTION_RIGHT"
type = 1
[node name="Up" parent="PanelContainer/MarginContainer/VBoxContainer/Controller" groups=["Options"] instance=ExtResource("9_ksnto")]
layout_mode = 2
settings_category = "controller"
action_name = "move_up"
title = "ACTION_UP"
type = 1
[node name="Down" parent="PanelContainer/MarginContainer/VBoxContainer/Controller" groups=["Options"] instance=ExtResource("9_ksnto")]
layout_mode = 2
settings_category = "controller"
action_name = "move_down"
title = "ACTION_DOWN"
type = 1
[node name="InputMapSaving" type="Node" parent="PanelContainer/MarginContainer/VBoxContainer/Controller" groups=["Options"]]
script = SubResource("GDScript_ksnto")
type = 1
[node name="Data" type="VBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer" node_paths=PackedStringArray("options")]
visible = false
layout_mode = 2
theme_override_constants/separation = -4
script = ExtResource("4_avtty")
category_name = "SETTINGS_DATA"
options = [NodePath("CampaignData"), NodePath("ChallengeModeData"), NodePath("BooRaceData"), NodePath("MarathonData"), NodePath("AchievementData"), NodePath("Everything")]
[node name="MarginContainer" type="MarginContainer" parent="PanelContainer/MarginContainer/VBoxContainer/Data"]
layout_mode = 2
theme_override_constants/margin_left = 8
[node name="Label" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/Data/MarginContainer"]
modulate = Color(1, 0, 0, 1)
layout_mode = 2
text = "DELETION_WARNING"
autowrap_mode = 2
uppercase = true
[node name="HSeparator" type="HSeparator" parent="PanelContainer/MarginContainer/VBoxContainer/Data"]
layout_mode = 2
theme_override_styles/separator = SubResource("StyleBoxLine_k6yev")
[node name="Control" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/Data"]
custom_minimum_size = Vector2(0, 8)
layout_mode = 2
[node name="CampaignData" parent="PanelContainer/MarginContainer/VBoxContainer/Data" instance=ExtResource("15_oh4w7")]
layout_mode = 2
title = "DELETION_CAMPAIGN"
[node name="ChallengeModeData" parent="PanelContainer/MarginContainer/VBoxContainer/Data" instance=ExtResource("15_oh4w7")]
layout_mode = 2
title = "DELETION_CHALLENGE"
campaigns = Array[String](["SMB1", "SMBLL", "SMBS"])
[node name="BooRaceData" parent="PanelContainer/MarginContainer/VBoxContainer/Data" instance=ExtResource("15_oh4w7")]
layout_mode = 2
title = "DELETION_BOO"
campaigns = Array[String](["SMB1", "SMBLL", "SMBS"])
[node name="MarathonData" parent="PanelContainer/MarginContainer/VBoxContainer/Data" instance=ExtResource("15_oh4w7")]
layout_mode = 2
title = "DELETION_MARATHON"
campaigns = Array[String](["SMB1", "SMBLL", "SMBS"])
[node name="AchievementData" parent="PanelContainer/MarginContainer/VBoxContainer/Data" instance=ExtResource("15_oh4w7")]
layout_mode = 2
title = "DELETION_ACHIEVEMENT"
campaigns = Array[String](["EDITOR_MAIN_LEVEL_DELETE"])
[node name="Everything" parent="PanelContainer/MarginContainer/VBoxContainer/Data" instance=ExtResource("15_oh4w7")]
layout_mode = 2
title = "DELETION_ALL"
extra_confirm = true
[node name="DataDeletion" type="Node" parent="PanelContainer/MarginContainer/VBoxContainer/Data"]
script = SubResource("GDScript_oh4w7")
[node name="Control" type="Control" parent="PanelContainer"]
custom_minimum_size = Vector2(24, 0)
layout_mode = 2
size_flags_horizontal = 8
size_flags_vertical = 0
[node name="Icon" type="NinePatchRect" parent="PanelContainer/Control"]
unique_name_in_owner = true
custom_minimum_size = Vector2(24, 23)
layout_mode = 1
anchors_preset = -1
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -12.0
offset_right = 12.0
offset_bottom = 23.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("3_7l5ko")
region_rect = Rect2(0, 0, 24, 23)
[node name="LabelFontChanger" type="Node" parent="." node_paths=PackedStringArray("labels")]
script = ExtResource("13_iwu7d")
labels = [NodePath("../PanelContainer/MarginContainer/VBoxContainer/Title"), NodePath("../PanelContainer/MarginContainer/VBoxContainer/CategorySelect/HBoxContainer/Category"), null, null, null, null, null, null, null, NodePath("../PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode/Value"), null, NodePath("../PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode2/Value"), null, NodePath("../PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode3/Value"), NodePath("../PanelContainer/MarginContainer/VBoxContainer/Difficulty/Description/AutoScrollContainer/MarginContainer/Desc")]
metadata/_custom_type_script = "uid://co6tjg3w6qpd8"
[node name="ResourcePackConfigMenu" parent="." instance=ExtResource("16_78q3k")]
visible = false
layout_mode = 1
anchor_left = 0.05
anchor_top = 0.05
anchor_right = 0.95
anchor_bottom = 0.95
[node name="ResourcePackTemplateCreator" type="Node" parent="."]
script = ExtResource("19_k6yev")
[connection signal="closed" from="." to="PanelContainer/MarginContainer/VBoxContainer/KeyboardControls/InputMapSaving" method="save_inputs"]
[connection signal="closed" from="." to="PanelContainer/MarginContainer/VBoxContainer/Controller/InputMapSaving" method="save_inputs"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Video/Language" to="PanelContainer/MarginContainer/VBoxContainer/Video/WindowChanger" method="language_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Video/WindowMode" to="PanelContainer/MarginContainer/VBoxContainer/Video/WindowChanger" method="window_mode_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Video/Size" to="PanelContainer/MarginContainer/VBoxContainer/Video/WindowChanger" method="window_size_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Video/Visuals" to="PanelContainer/MarginContainer/VBoxContainer/Video/WindowChanger" method="visuals_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Video/Scaling" to="PanelContainer/MarginContainer/VBoxContainer/Video/WindowChanger" method="scaling_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Video/VSync" to="PanelContainer/MarginContainer/VBoxContainer/Video/WindowChanger" method="vsync_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Video/DropShadows" to="PanelContainer/MarginContainer/VBoxContainer/Video/WindowChanger" method="drop_shadows_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Video/HudStyle" to="PanelContainer/MarginContainer/VBoxContainer/Video/WindowChanger" method="hud_style_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode" to="PanelContainer/MarginContainer/VBoxContainer/Audio/AudioAdjuster" method="master_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode2" to="PanelContainer/MarginContainer/VBoxContainer/Audio/AudioAdjuster" method="music_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode3" to="PanelContainer/MarginContainer/VBoxContainer/Audio/AudioAdjuster" method="sfx_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Audio/AthleticMusic" to="PanelContainer/MarginContainer/VBoxContainer/Audio/AudioAdjuster" method="athletic_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Audio/SkidSFX" to="PanelContainer/MarginContainer/VBoxContainer/Audio/AudioAdjuster" method="skid_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Audio/ExtraSFX" to="PanelContainer/MarginContainer/VBoxContainer/Audio/AudioAdjuster" method="extra_sfx_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Audio/MenuBGM" to="PanelContainer/MarginContainer/VBoxContainer/Audio/AudioAdjuster" method="menu_bgm_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Visuals/ParallaxStyle" to="PanelContainer/MarginContainer/VBoxContainer/Visuals/VisualsSetter" method="parallax_style_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Visuals/BGParticles" to="PanelContainer/MarginContainer/VBoxContainer/Visuals/VisualsSetter" method="bg_particles_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Visuals/HUDStyle" to="PanelContainer/MarginContainer/VBoxContainer/Visuals/VisualsSetter" method="hud_style_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Visuals/RainbowEffect" to="PanelContainer/MarginContainer/VBoxContainer/Visuals/VisualsSetter" method="rainbow_style_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Visuals/TransformationEffect" to="PanelContainer/MarginContainer/VBoxContainer/Visuals/VisualsSetter" method="transform_style_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Visuals/TextShadows" to="PanelContainer/MarginContainer/VBoxContainer/Visuals/VisualsSetter" method="text_shadows_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Visuals/BridgeDestructionAnimation" to="PanelContainer/MarginContainer/VBoxContainer/Visuals/VisualsSetter" method="bridge_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Visuals/VisibleTimers" to="PanelContainer/MarginContainer/VBoxContainer/Visuals/VisualsSetter" method="visible_timers_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Visuals/TransitionAnimation" to="PanelContainer/MarginContainer/VBoxContainer/Visuals/VisualsSetter" method="transition_style_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Visuals/ColourfulPipes" to="PanelContainer/MarginContainer/VBoxContainer/Visuals/VisualsSetter" method="colourful_pipes_changed"]
[connection signal="button_pressed" from="PanelContainer/MarginContainer/VBoxContainer/ResourcePacks/SelectableOptionNode" to="PanelContainer/MarginContainer/VBoxContainer/ResourcePacks/ResourcePackLoader" method="open_folder"]
[connection signal="button_pressed" from="PanelContainer/MarginContainer/VBoxContainer/ResourcePacks/SelectableOptionNode2" to="PanelContainer/MarginContainer/VBoxContainer/ResourcePacks/ResourcePackLoader" method="get_resource_packs"]
[connection signal="button_pressed" from="PanelContainer/MarginContainer/VBoxContainer/ResourcePacks/SelectableOptionNode3" to="ResourcePackTemplateCreator" method="create_template"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Difficulty/DamageStyle" to="PanelContainer/MarginContainer/VBoxContainer/Difficulty/DifficultySetter" method="damage_style_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Difficulty/Checkpoints" to="PanelContainer/MarginContainer/VBoxContainer/Difficulty/DifficultySetter" method="checkpoint_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Difficulty/ExtraCheckpoints" to="PanelContainer/MarginContainer/VBoxContainer/Difficulty/DifficultySetter" method="extra_checkpoints_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Difficulty/Lives" to="PanelContainer/MarginContainer/VBoxContainer/Difficulty/DifficultySetter" method="inf_lives_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Difficulty/FlagpoleLives" to="PanelContainer/MarginContainer/VBoxContainer/Difficulty/DifficultySetter" method="flag_lives_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Difficulty/GameOverStyle" to="PanelContainer/MarginContainer/VBoxContainer/Difficulty/DifficultySetter" method="game_over_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Difficulty/LevelDesign" to="PanelContainer/MarginContainer/VBoxContainer/Difficulty/DifficultySetter" method="level_design_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Difficulty/BackScroll" to="PanelContainer/MarginContainer/VBoxContainer/Difficulty/DifficultySetter" method="backscroll_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Difficulty/TimeLimit" to="PanelContainer/MarginContainer/VBoxContainer/Difficulty/DifficultySetter" method="time_limit_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Difficulty/LakituStyle" to="PanelContainer/MarginContainer/VBoxContainer/Difficulty/DifficultySetter" method="lakitu_style_changed"]
[connection signal="deleted" from="PanelContainer/MarginContainer/VBoxContainer/Data/CampaignData" to="PanelContainer/MarginContainer/VBoxContainer/Data/DataDeletion" method="delete_story"]
[connection signal="deleted" from="PanelContainer/MarginContainer/VBoxContainer/Data/ChallengeModeData" to="PanelContainer/MarginContainer/VBoxContainer/Data/DataDeletion" method="delete_challenge"]
[connection signal="deleted" from="PanelContainer/MarginContainer/VBoxContainer/Data/BooRaceData" to="PanelContainer/MarginContainer/VBoxContainer/Data/DataDeletion" method="delete_boo"]
[connection signal="deleted" from="PanelContainer/MarginContainer/VBoxContainer/Data/MarathonData" to="PanelContainer/MarginContainer/VBoxContainer/Data/DataDeletion" method="delete_marathon"]
[connection signal="deleted" from="PanelContainer/MarginContainer/VBoxContainer/Data/AchievementData" to="PanelContainer/MarginContainer/VBoxContainer/Data/DataDeletion" method="delete_achievement"]
[connection signal="deleted" from="PanelContainer/MarginContainer/VBoxContainer/Data/Everything" to="PanelContainer/MarginContainer/VBoxContainer/Data/DataDeletion" method="delete_everything"]
[editable path="PanelContainer/MarginContainer/VBoxContainer/Video/Language"]
[editable path="PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode"]
[editable path="PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode2"]
[editable path="PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode3"]

View File

@@ -0,0 +1,133 @@
[gd_scene load_steps=12 format=3 uid="uid://bvgigoyn7lrc2"]
[ext_resource type="Script" uid="uid://b8nv6ojpgvo0r" path="res://Scripts/UI/SpeedrunTypeSelect.gd" id="1_15lhk"]
[ext_resource type="StyleBox" uid="uid://comkghpj0djcl" path="res://Resources/UI/Panel.tres" id="2_kdaqd"]
[ext_resource type="Texture2D" uid="uid://3p2l7rec0gh5" path="res://Assets/Sprites/UI/Cursor.png" id="3_dydhe"]
[ext_resource type="Script" uid="uid://cbal8ms2oe1ik" path="res://Scripts/Classes/Components/ResourceSetterNew.gd" id="4_dydhe"]
[ext_resource type="Texture2D" uid="uid://dhu46wvad72wp" path="res://Assets/Sprites/UI/MarathonIcons.png" id="4_sktgk"]
[ext_resource type="JSON" path="res://Assets/Sprites/UI/Cursor.json" id="5_sktgk"]
[ext_resource type="Script" uid="uid://ca3bew33g45eq" path="res://Scripts/Classes/UI/PackTextureRect.gd" id="7_sktgk"]
[sub_resource type="StyleBoxLine" id="StyleBoxLine_i1niq"]
color = Color(1, 1, 1, 1)
[sub_resource type="AtlasTexture" id="AtlasTexture_5qqv6"]
atlas = ExtResource("3_dydhe")
region = Rect2(0, 0, 8, 8)
[sub_resource type="AtlasTexture" id="AtlasTexture_p8vpt"]
atlas = ExtResource("4_sktgk")
region = Rect2(112, 32, 8, 8)
[sub_resource type="AtlasTexture" id="AtlasTexture_sat26"]
atlas = ExtResource("4_sktgk")
region = Rect2(104, 32, 8, 8)
[node name="SpeedrunTypeSelect" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_15lhk")
[node name="Panel" type="PanelContainer" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -72.0
offset_top = -32.0
offset_right = 72.0
offset_bottom = 32.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = ExtResource("2_kdaqd")
[node name="VBoxContainer" type="VBoxContainer" parent="Panel"]
layout_mode = 2
[node name="Label" type="Label" parent="Panel/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
text = "SELECT RUN TYPE"
[node name="HSeparator" type="HSeparator" parent="Panel/VBoxContainer/Label"]
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -4.0
grow_horizontal = 2
grow_vertical = 0
theme_override_styles/separator = SubResource("StyleBoxLine_i1niq")
[node name="Warpless" type="HBoxContainer" parent="Panel/VBoxContainer"]
layout_mode = 2
focus_mode = 2
theme_override_constants/separation = 0
[node name="Cursor" type="TextureRect" parent="Panel/VBoxContainer/Warpless"]
layout_mode = 2
texture = SubResource("AtlasTexture_5qqv6")
stretch_mode = 3
[node name="ResourceSetterNew" type="Node" parent="Panel/VBoxContainer/Warpless/Cursor" node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("4_dydhe")
node_to_affect = NodePath("..")
property_name = "texture"
mode = 1
resource_json = ExtResource("5_sktgk")
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
[node name="Buffer" type="Control" parent="Panel/VBoxContainer/Warpless"]
custom_minimum_size = Vector2(4, 0)
layout_mode = 2
[node name="TextureRect" type="TextureRect" parent="Panel/VBoxContainer/Warpless"]
layout_mode = 2
texture = SubResource("AtlasTexture_p8vpt")
stretch_mode = 3
script = ExtResource("7_sktgk")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Any" type="Label" parent="Panel/VBoxContainer/Warpless"]
layout_mode = 2
text = "WARPLESS"
[node name="Any" type="HBoxContainer" parent="Panel/VBoxContainer"]
layout_mode = 2
focus_mode = 2
theme_override_constants/separation = 0
[node name="Cursor" type="TextureRect" parent="Panel/VBoxContainer/Any"]
layout_mode = 2
texture = SubResource("AtlasTexture_5qqv6")
stretch_mode = 3
[node name="ResourceSetterNew" type="Node" parent="Panel/VBoxContainer/Any/Cursor" node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("4_dydhe")
node_to_affect = NodePath("..")
property_name = "texture"
mode = 1
resource_json = ExtResource("5_sktgk")
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
[node name="Buffer" type="Control" parent="Panel/VBoxContainer/Any"]
custom_minimum_size = Vector2(4, 0)
layout_mode = 2
[node name="TextureRect" type="TextureRect" parent="Panel/VBoxContainer/Any"]
layout_mode = 2
texture = SubResource("AtlasTexture_sat26")
stretch_mode = 3
script = ExtResource("7_sktgk")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Any" type="Label" parent="Panel/VBoxContainer/Any"]
layout_mode = 2
text = "ANY%"

View File

@@ -0,0 +1,59 @@
[gd_scene load_steps=5 format=3 uid="uid://do28cwi8t6ptt"]
[ext_resource type="PackedScene" uid="uid://dekuqrdjmnr1m" path="res://Scenes/Prefabs/UI/BasePauseMenu.tscn" id="1_ywuni"]
[ext_resource type="Texture2D" uid="uid://3p2l7rec0gh5" path="res://Assets/Sprites/UI/Cursor.png" id="2_r6hlk"]
[sub_resource type="AtlasTexture" id="AtlasTexture_eud56"]
atlas = ExtResource("2_r6hlk")
region = Rect2(0, 0, 8, 8)
[sub_resource type="GDScript" id="GDScript_r6hlk"]
script/source = "extends Node
func restart_level() -> void:
AudioManager.stop_all_music()
Global.player_power_states = \"0000\"
Global.reset_values()
DiscoLevel.reset_values()
if Global.current_game_mode == Global.GameMode.CHALLENGE:
Global.score = 0
ChallengeModeHandler.current_run_red_coins_collected = ChallengeModeHandler.red_coins_collected[Global.world_num - 1][Global.level_num - 1]
Global.current_level.reload_level()
await Global.current_level.tree_exited
$\"..\".close()
func quit_to_menu() -> void:
AudioManager.stop_all_music()
if Global.current_game_mode == Global.GameMode.CUSTOM_LEVEL:
Global.transition_to_scene(\"res://Scenes/Levels/CustomLevelMenu.tscn\")
else:
Global.transition_to_scene(\"res://Scenes/Levels/TitleScreen.tscn\")
get_tree().paused = true
await Global.current_level.tree_exited
$\"..\".close()
"
[node name="PauseMenu" instance=ExtResource("1_ywuni")]
[node name="Cursor" parent="Control" index="1"]
offset_left = 8.0
offset_top = 4.0
offset_right = 16.0
offset_bottom = 12.0
texture = SubResource("AtlasTexture_eud56")
[node name="Handler" type="Node" parent="." index="2"]
script = SubResource("GDScript_r6hlk")
[node name="LabelFontChanger" parent="SettingsMenu" index="1" node_paths=PackedStringArray("labels")]
labels = [NodePath("../PanelContainer/MarginContainer/VBoxContainer/Title"), NodePath("../PanelContainer/MarginContainer/VBoxContainer/CategorySelect/HBoxContainer/Category"), null, null, null, null, null, null, null, NodePath("../PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode/Value"), null, NodePath("../PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode2/Value"), null, NodePath("../PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode3/Value"), NodePath("../PanelContainer/MarginContainer/VBoxContainer/Difficulty/Description/AutoScrollContainer/MarginContainer/Desc")]
[connection signal="option_1_selected" from="." to="." method="close"]
[connection signal="option_2_selected" from="." to="Handler" method="restart_level"]
[connection signal="option_4_selected" from="." to="Handler" method="quit_to_menu"]
[editable path="SettingsMenu"]
[editable path="SettingsMenu/PanelContainer/MarginContainer/VBoxContainer/Video/Language"]
[editable path="SettingsMenu/PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode"]
[editable path="SettingsMenu/PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode2"]
[editable path="SettingsMenu/PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode3"]

View File

@@ -0,0 +1,658 @@
[gd_scene load_steps=7 format=3 uid="uid://bdctqn5p6wxna"]
[ext_resource type="Script" uid="uid://bnuobku66xd0n" path="res://Scripts/UI/ThemeSelect.gd" id="1_iabcx"]
[ext_resource type="StyleBox" uid="uid://comkghpj0djcl" path="res://Resources/UI/Panel.tres" id="1_x58ld"]
[ext_resource type="Texture2D" uid="uid://cw5c58yiaeh4j" path="res://Assets/Sprites/UI/ThemeIconsDay.png" id="2_1u8id"]
[ext_resource type="Texture2D" uid="uid://ddkw5v7l2n4s5" path="res://Assets/Sprites/UI/CheckboxbutSmall.png" id="3_1u8id"]
[sub_resource type="StyleBoxLine" id="StyleBoxLine_iabcx"]
color = Color(1, 1, 1, 1)
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_iabcx"]
[node name="ThemeSelect" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_iabcx")
[node name="ColorRect" type="ColorRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0, 0, 0, 0.5)
[node name="PanelContainer" type="PanelContainer" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -97.0
offset_top = -86.0
offset_right = 97.0
offset_bottom = 86.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = ExtResource("1_x58ld")
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="PanelContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
text = "SELECT THEME"
[node name="HSeparator" type="HSeparator" parent="PanelContainer/VBoxContainer/Label"]
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -4.0
grow_horizontal = 2
grow_vertical = 0
theme_override_styles/separator = SubResource("StyleBoxLine_iabcx")
[node name="ThemeContainer" type="HFlowContainer" parent="PanelContainer/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 3
[node name="Overworld" type="NinePatchRect" parent="PanelContainer/VBoxContainer/ThemeContainer"]
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
texture = ExtResource("2_1u8id")
region_rect = Rect2(0, 0, 32, 32)
[node name="Button" type="Button" parent="PanelContainer/VBoxContainer/ThemeContainer/Overworld"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/focus = SubResource("StyleBoxEmpty_iabcx")
toggle_mode = true
flat = true
[node name="Checkbox" type="TextureRect" parent="PanelContainer/VBoxContainer/ThemeContainer/Overworld"]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -12.0
offset_top = 1.0
offset_right = -1.0
offset_bottom = 12.0
grow_horizontal = 0
mouse_filter = 2
texture = ExtResource("3_1u8id")
stretch_mode = 2
[node name="Underground" type="NinePatchRect" parent="PanelContainer/VBoxContainer/ThemeContainer"]
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
texture = ExtResource("2_1u8id")
region_rect = Rect2(32, 0, 32, 32)
[node name="Button" type="Button" parent="PanelContainer/VBoxContainer/ThemeContainer/Underground"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/focus = SubResource("StyleBoxEmpty_iabcx")
toggle_mode = true
flat = true
[node name="Checkbox" type="TextureRect" parent="PanelContainer/VBoxContainer/ThemeContainer/Underground"]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -12.0
offset_top = 1.0
offset_right = -1.0
offset_bottom = 12.0
grow_horizontal = 0
mouse_filter = 2
texture = ExtResource("3_1u8id")
stretch_mode = 2
[node name="Desert" type="NinePatchRect" parent="PanelContainer/VBoxContainer/ThemeContainer"]
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
texture = ExtResource("2_1u8id")
region_rect = Rect2(64, 0, 32, 32)
[node name="Button" type="Button" parent="PanelContainer/VBoxContainer/ThemeContainer/Desert"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/focus = SubResource("StyleBoxEmpty_iabcx")
toggle_mode = true
flat = true
[node name="Checkbox" type="TextureRect" parent="PanelContainer/VBoxContainer/ThemeContainer/Desert"]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -12.0
offset_top = 1.0
offset_right = -1.0
offset_bottom = 12.0
grow_horizontal = 0
mouse_filter = 2
texture = ExtResource("3_1u8id")
stretch_mode = 2
[node name="Snow" type="NinePatchRect" parent="PanelContainer/VBoxContainer/ThemeContainer"]
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
texture = ExtResource("2_1u8id")
region_rect = Rect2(96, 0, 32, 32)
[node name="Button" type="Button" parent="PanelContainer/VBoxContainer/ThemeContainer/Snow"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/focus = SubResource("StyleBoxEmpty_iabcx")
toggle_mode = true
flat = true
[node name="Checkbox" type="TextureRect" parent="PanelContainer/VBoxContainer/ThemeContainer/Snow"]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -12.0
offset_top = 1.0
offset_right = -1.0
offset_bottom = 12.0
grow_horizontal = 0
mouse_filter = 2
texture = ExtResource("3_1u8id")
stretch_mode = 2
[node name="Jungle" type="NinePatchRect" parent="PanelContainer/VBoxContainer/ThemeContainer"]
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
texture = ExtResource("2_1u8id")
region_rect = Rect2(128, 0, 32, 32)
[node name="Button" type="Button" parent="PanelContainer/VBoxContainer/ThemeContainer/Jungle"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/focus = SubResource("StyleBoxEmpty_iabcx")
toggle_mode = true
flat = true
[node name="Checkbox" type="TextureRect" parent="PanelContainer/VBoxContainer/ThemeContainer/Jungle"]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -12.0
offset_top = 1.0
offset_right = -1.0
offset_bottom = 12.0
grow_horizontal = 0
mouse_filter = 2
texture = ExtResource("3_1u8id")
stretch_mode = 2
[node name="Beach" type="NinePatchRect" parent="PanelContainer/VBoxContainer/ThemeContainer"]
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
texture = ExtResource("2_1u8id")
region_rect = Rect2(0, 32, 32, 32)
[node name="Button" type="Button" parent="PanelContainer/VBoxContainer/ThemeContainer/Beach"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/focus = SubResource("StyleBoxEmpty_iabcx")
toggle_mode = true
flat = true
[node name="Checkbox" type="TextureRect" parent="PanelContainer/VBoxContainer/ThemeContainer/Beach"]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -12.0
offset_top = 1.0
offset_right = -1.0
offset_bottom = 12.0
grow_horizontal = 0
mouse_filter = 2
texture = ExtResource("3_1u8id")
stretch_mode = 2
[node name="Garden" type="NinePatchRect" parent="PanelContainer/VBoxContainer/ThemeContainer"]
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
texture = ExtResource("2_1u8id")
region_rect = Rect2(32, 32, 32, 32)
[node name="Button" type="Button" parent="PanelContainer/VBoxContainer/ThemeContainer/Garden"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/focus = SubResource("StyleBoxEmpty_iabcx")
toggle_mode = true
flat = true
[node name="Checkbox" type="TextureRect" parent="PanelContainer/VBoxContainer/ThemeContainer/Garden"]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -12.0
offset_top = 1.0
offset_right = -1.0
offset_bottom = 12.0
grow_horizontal = 0
mouse_filter = 2
texture = ExtResource("3_1u8id")
stretch_mode = 2
[node name="Mountain" type="NinePatchRect" parent="PanelContainer/VBoxContainer/ThemeContainer"]
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
texture = ExtResource("2_1u8id")
region_rect = Rect2(64, 32, 32, 32)
[node name="Button" type="Button" parent="PanelContainer/VBoxContainer/ThemeContainer/Mountain"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/focus = SubResource("StyleBoxEmpty_iabcx")
toggle_mode = true
flat = true
[node name="Checkbox" type="TextureRect" parent="PanelContainer/VBoxContainer/ThemeContainer/Mountain"]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -12.0
offset_top = 1.0
offset_right = -1.0
offset_bottom = 12.0
grow_horizontal = 0
mouse_filter = 2
texture = ExtResource("3_1u8id")
stretch_mode = 2
[node name="Skyland" type="NinePatchRect" parent="PanelContainer/VBoxContainer/ThemeContainer"]
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
texture = ExtResource("2_1u8id")
region_rect = Rect2(96, 32, 32, 32)
[node name="Button" type="Button" parent="PanelContainer/VBoxContainer/ThemeContainer/Skyland"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/focus = SubResource("StyleBoxEmpty_iabcx")
toggle_mode = true
flat = true
[node name="Checkbox" type="TextureRect" parent="PanelContainer/VBoxContainer/ThemeContainer/Skyland"]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -12.0
offset_top = 1.0
offset_right = -1.0
offset_bottom = 12.0
grow_horizontal = 0
mouse_filter = 2
texture = ExtResource("3_1u8id")
stretch_mode = 2
[node name="Autumn" type="NinePatchRect" parent="PanelContainer/VBoxContainer/ThemeContainer"]
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
texture = ExtResource("2_1u8id")
region_rect = Rect2(128, 32, 32, 32)
[node name="Button" type="Button" parent="PanelContainer/VBoxContainer/ThemeContainer/Autumn"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/focus = SubResource("StyleBoxEmpty_iabcx")
toggle_mode = true
flat = true
[node name="Checkbox" type="TextureRect" parent="PanelContainer/VBoxContainer/ThemeContainer/Autumn"]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -12.0
offset_top = 1.0
offset_right = -1.0
offset_bottom = 12.0
grow_horizontal = 0
mouse_filter = 2
texture = ExtResource("3_1u8id")
stretch_mode = 2
[node name="Pipeland" type="NinePatchRect" parent="PanelContainer/VBoxContainer/ThemeContainer"]
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
texture = ExtResource("2_1u8id")
region_rect = Rect2(0, 64, 32, 32)
[node name="Button" type="Button" parent="PanelContainer/VBoxContainer/ThemeContainer/Pipeland"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/focus = SubResource("StyleBoxEmpty_iabcx")
toggle_mode = true
flat = true
[node name="Checkbox" type="TextureRect" parent="PanelContainer/VBoxContainer/ThemeContainer/Pipeland"]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -12.0
offset_top = 1.0
offset_right = -1.0
offset_bottom = 12.0
grow_horizontal = 0
mouse_filter = 2
texture = ExtResource("3_1u8id")
stretch_mode = 2
[node name="Space" type="NinePatchRect" parent="PanelContainer/VBoxContainer/ThemeContainer"]
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
texture = ExtResource("2_1u8id")
region_rect = Rect2(32, 64, 32, 32)
[node name="Button" type="Button" parent="PanelContainer/VBoxContainer/ThemeContainer/Space"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/focus = SubResource("StyleBoxEmpty_iabcx")
toggle_mode = true
flat = true
[node name="Checkbox" type="TextureRect" parent="PanelContainer/VBoxContainer/ThemeContainer/Space"]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -12.0
offset_top = 1.0
offset_right = -1.0
offset_bottom = 12.0
grow_horizontal = 0
mouse_filter = 2
texture = ExtResource("3_1u8id")
stretch_mode = 2
[node name="Underwater" type="NinePatchRect" parent="PanelContainer/VBoxContainer/ThemeContainer"]
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
texture = ExtResource("2_1u8id")
region_rect = Rect2(64, 64, 32, 32)
[node name="Button" type="Button" parent="PanelContainer/VBoxContainer/ThemeContainer/Underwater"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/focus = SubResource("StyleBoxEmpty_iabcx")
toggle_mode = true
flat = true
[node name="Checkbox" type="TextureRect" parent="PanelContainer/VBoxContainer/ThemeContainer/Underwater"]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -12.0
offset_top = 1.0
offset_right = -1.0
offset_bottom = 12.0
grow_horizontal = 0
mouse_filter = 2
texture = ExtResource("3_1u8id")
stretch_mode = 2
[node name="Volcano" type="NinePatchRect" parent="PanelContainer/VBoxContainer/ThemeContainer"]
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
texture = ExtResource("2_1u8id")
region_rect = Rect2(96, 64, 32, 32)
[node name="Button" type="Button" parent="PanelContainer/VBoxContainer/ThemeContainer/Volcano"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/focus = SubResource("StyleBoxEmpty_iabcx")
toggle_mode = true
flat = true
[node name="Checkbox" type="TextureRect" parent="PanelContainer/VBoxContainer/ThemeContainer/Volcano"]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -12.0
offset_top = 1.0
offset_right = -1.0
offset_bottom = 12.0
grow_horizontal = 0
mouse_filter = 2
texture = ExtResource("3_1u8id")
stretch_mode = 2
[node name="GhostHouse" type="NinePatchRect" parent="PanelContainer/VBoxContainer/ThemeContainer"]
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
texture = ExtResource("2_1u8id")
region_rect = Rect2(128, 64, 32, 32)
[node name="Button" type="Button" parent="PanelContainer/VBoxContainer/ThemeContainer/GhostHouse"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/focus = SubResource("StyleBoxEmpty_iabcx")
toggle_mode = true
flat = true
[node name="Checkbox" type="TextureRect" parent="PanelContainer/VBoxContainer/ThemeContainer/GhostHouse"]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -12.0
offset_top = 1.0
offset_right = -1.0
offset_bottom = 12.0
grow_horizontal = 0
mouse_filter = 2
texture = ExtResource("3_1u8id")
stretch_mode = 2
[node name="Castle" type="NinePatchRect" parent="PanelContainer/VBoxContainer/ThemeContainer"]
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
texture = ExtResource("2_1u8id")
region_rect = Rect2(0, 96, 32, 32)
[node name="Button" type="Button" parent="PanelContainer/VBoxContainer/ThemeContainer/Castle"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/focus = SubResource("StyleBoxEmpty_iabcx")
toggle_mode = true
flat = true
[node name="Checkbox" type="TextureRect" parent="PanelContainer/VBoxContainer/ThemeContainer/Castle"]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -12.0
offset_top = 1.0
offset_right = -1.0
offset_bottom = 12.0
grow_horizontal = 0
mouse_filter = 2
texture = ExtResource("3_1u8id")
stretch_mode = 2
[node name="CastleWater" type="NinePatchRect" parent="PanelContainer/VBoxContainer/ThemeContainer"]
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
texture = ExtResource("2_1u8id")
region_rect = Rect2(32, 96, 32, 32)
[node name="Button" type="Button" parent="PanelContainer/VBoxContainer/ThemeContainer/CastleWater"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/focus = SubResource("StyleBoxEmpty_iabcx")
toggle_mode = true
flat = true
[node name="Checkbox" type="TextureRect" parent="PanelContainer/VBoxContainer/ThemeContainer/CastleWater"]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -12.0
offset_top = 1.0
offset_right = -1.0
offset_bottom = 12.0
grow_horizontal = 0
mouse_filter = 2
texture = ExtResource("3_1u8id")
stretch_mode = 2
[node name="Airship" type="NinePatchRect" parent="PanelContainer/VBoxContainer/ThemeContainer"]
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
texture = ExtResource("2_1u8id")
region_rect = Rect2(64, 96, 32, 32)
[node name="Button" type="Button" parent="PanelContainer/VBoxContainer/ThemeContainer/Airship"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/focus = SubResource("StyleBoxEmpty_iabcx")
toggle_mode = true
flat = true
[node name="Checkbox" type="TextureRect" parent="PanelContainer/VBoxContainer/ThemeContainer/Airship"]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -12.0
offset_top = 1.0
offset_right = -1.0
offset_bottom = 12.0
grow_horizontal = 0
mouse_filter = 2
texture = ExtResource("3_1u8id")
stretch_mode = 2
[node name="Bonus" type="NinePatchRect" parent="PanelContainer/VBoxContainer/ThemeContainer"]
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
texture = ExtResource("2_1u8id")
region_rect = Rect2(96, 96, 32, 32)
patch_margin_bottom = 8
[node name="Button" type="Button" parent="PanelContainer/VBoxContainer/ThemeContainer/Bonus"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/focus = SubResource("StyleBoxEmpty_iabcx")
toggle_mode = true
flat = true
[node name="Checkbox" type="TextureRect" parent="PanelContainer/VBoxContainer/ThemeContainer/Bonus"]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -12.0
offset_top = 1.0
offset_right = -1.0
offset_bottom = 12.0
grow_horizontal = 0
mouse_filter = 2
texture = ExtResource("3_1u8id")
stretch_mode = 2

View File

@@ -0,0 +1,24 @@
[gd_scene load_steps=3 format=3 uid="uid://kag5i607liua"]
[ext_resource type="Script" uid="uid://dxjp3pfd77xxa" path="res://Scripts/UI/TileModifierMenu.gd" id="2_0slfq"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_wognt"]
bg_color = Color(0, 0, 0, 0.768627)
border_width_left = 1
border_width_top = 1
border_width_right = 1
border_width_bottom = 1
border_color = Color(1, 1, 1, 1)
[node name="TileModifierMenu" type="PanelContainer"]
self_modulate = Color(1, 1, 1, 0.497)
offset_right = 8.0
offset_bottom = 8.0
theme_override_styles/panel = SubResource("StyleBoxFlat_wognt")
script = ExtResource("2_0slfq")
[node name="Container" type="VBoxContainer" parent="."]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3

View File

@@ -0,0 +1,53 @@
[gd_scene load_steps=3 format=3 uid="uid://dh5w143a52d04"]
[ext_resource type="Script" uid="uid://c3c1o65wvi6tq" path="res://Scripts/UI/TitleScreenOptions.gd" id="1_dlelg"]
[ext_resource type="FontFile" uid="uid://b4hv3ito0uwa8" path="res://Assets/Sprites/UI/Font.png" id="1_hofsk"]
[node name="TitleScreenOptions" type="VBoxContainer" node_paths=PackedStringArray("options")]
custom_minimum_size = Vector2(9, 0)
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -36.0
offset_top = -64.0
offset_right = 36.0
grow_horizontal = 2
grow_vertical = 0
size_flags_horizontal = 4
size_flags_vertical = 10
theme_override_constants/separation = 8
alignment = 2
script = ExtResource("1_dlelg")
can_exit = false
options = [NodePath("Play"), NodePath("Options"), NodePath("Label")]
[node name="Play" type="Label" parent="."]
layout_mode = 2
size_flags_horizontal = 0
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
theme_override_fonts/font = ExtResource("1_hofsk")
text = "Play Game"
uppercase = true
[node name="Options" type="Label" parent="."]
layout_mode = 2
size_flags_horizontal = 0
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
theme_override_fonts/font = ExtResource("1_hofsk")
text = "settings"
uppercase = true
[node name="Label" type="Label" parent="."]
layout_mode = 2
size_flags_horizontal = 0
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
theme_override_fonts/font = ExtResource("1_hofsk")
text = "Quit Game"
uppercase = true
[node name="Buffer" type="Control" parent="."]
custom_minimum_size = Vector2(0, 16)
layout_mode = 2
size_flags_horizontal = 4

View File

@@ -0,0 +1,680 @@
[gd_scene load_steps=8 format=3 uid="uid://dntk2js0tu3y2"]
[ext_resource type="Script" uid="uid://col2kvunpua7l" path="res://Scripts/UI/WorldSelect.gd" id="1_isg11"]
[ext_resource type="StyleBox" uid="uid://comkghpj0djcl" path="res://Resources/UI/Panel.tres" id="2_otmop"]
[ext_resource type="Script" uid="uid://co6tjg3w6qpd8" path="res://Scripts/Parts/LabelFontChanger.gd" id="3_isg11"]
[ext_resource type="Texture2D" uid="uid://chtjq1vr0rpso" path="res://Assets/Sprites/UI/CustomLevelIconDay.png" id="3_ldq6u"]
[ext_resource type="Texture2D" uid="uid://dsi25p0odieg2" path="res://Assets/Sprites/UI/Numbers.png" id="4_bxh4e"]
[ext_resource type="Script" uid="uid://xem6lai3ufyj" path="res://Scripts/Classes/UI/PackNinePatch.gd" id="5_6gt41"]
[sub_resource type="StyleBoxLine" id="StyleBoxLine_d8v6d"]
color = Color(1, 1, 1, 1)
grow_begin = -4.0
grow_end = -4.0
[node name="WorldSelect" type="Control"]
layout_mode = 3
anchors_preset = 0
offset_right = 180.0
offset_bottom = 65.0
script = ExtResource("1_isg11")
num_of_worlds = 12
[node name="Panel" type="PanelContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = ExtResource("2_otmop")
[node name="MarginContainer" type="MarginContainer" parent="Panel"]
layout_mode = 2
theme_override_constants/margin_left = -8
theme_override_constants/margin_top = -4
theme_override_constants/margin_right = -8
theme_override_constants/margin_bottom = -4
[node name="VBoxContainer" type="VBoxContainer" parent="Panel/MarginContainer"]
layout_mode = 2
theme_override_constants/separation = 0
[node name="Title" type="Label" parent="Panel/MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
text = "MENU_WORLD_SELECT"
horizontal_alignment = 1
uppercase = true
[node name="HSeparator" type="HSeparator" parent="Panel/MarginContainer/VBoxContainer/Title"]
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -4.0
grow_horizontal = 2
grow_vertical = 0
theme_override_styles/separator = SubResource("StyleBoxLine_d8v6d")
[node name="HBoxContainer" type="HBoxContainer" parent="Panel/MarginContainer/VBoxContainer"]
layout_mode = 2
theme_override_constants/separation = 4
[node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
text = "◄"
[node name="ScrollContainer" type="ScrollContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
follow_focus = true
horizontal_scroll_mode = 3
vertical_scroll_mode = 0
[node name="SlotContainer" type="HBoxContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer"]
unique_name_in_owner = true
layout_mode = 2
[node name="Slot1" type="VBoxContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer"]
unique_name_in_owner = true
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
focus_mode = 2
mouse_filter = 2
[node name="Icon" type="NinePatchRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot1"]
custom_minimum_size = Vector2(0, 32)
layout_mode = 2
size_flags_vertical = 10
texture = ExtResource("3_ldq6u")
region_rect = Rect2(0, 0, 32, 32)
script = ExtResource("5_6gt41")
metadata/_custom_type_script = "uid://xem6lai3ufyj"
[node name="Number" type="NinePatchRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot1/Icon"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.5
anchor_top = 0.9
anchor_right = 0.5
anchor_bottom = 0.9
offset_left = -6.0
offset_top = -12.0
offset_right = 6.0
grow_horizontal = 2
grow_vertical = 0
texture = ExtResource("4_bxh4e")
region_rect = Rect2(0, 0, 12, 12)
script = ExtResource("5_6gt41")
metadata/_custom_type_script = "uid://xem6lai3ufyj"
[node name="Cursor" type="MarginContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot1"]
visible = false
layout_mode = 2
theme_override_constants/margin_top = -5
theme_override_constants/margin_bottom = -4
[node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot1/Cursor"]
layout_mode = 2
text = "^"
horizontal_alignment = 1
[node name="Slot2" type="VBoxContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer"]
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
focus_mode = 2
mouse_filter = 2
[node name="Icon" type="NinePatchRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot2"]
custom_minimum_size = Vector2(0, 32)
layout_mode = 2
size_flags_vertical = 10
texture = ExtResource("3_ldq6u")
region_rect = Rect2(96, 96, 32, 32)
script = ExtResource("5_6gt41")
metadata/_custom_type_script = "uid://xem6lai3ufyj"
[node name="Number" type="NinePatchRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot2/Icon"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.5
anchor_top = 0.9
anchor_right = 0.5
anchor_bottom = 0.9
offset_left = -6.0
offset_top = -12.0
offset_right = 6.0
grow_horizontal = 2
grow_vertical = 0
texture = ExtResource("4_bxh4e")
region_rect = Rect2(0, 0, 12, 12)
script = ExtResource("5_6gt41")
metadata/_custom_type_script = "uid://xem6lai3ufyj"
[node name="Cursor" type="MarginContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot2"]
visible = false
layout_mode = 2
theme_override_constants/margin_top = -5
theme_override_constants/margin_bottom = -4
[node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot2/Cursor"]
layout_mode = 2
text = "^"
horizontal_alignment = 1
[node name="Slot3" type="VBoxContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer"]
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
focus_mode = 2
mouse_filter = 2
[node name="Icon" type="NinePatchRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot3"]
custom_minimum_size = Vector2(0, 32)
layout_mode = 2
size_flags_vertical = 10
texture = ExtResource("3_ldq6u")
region_rect = Rect2(0, 0, 32, 32)
script = ExtResource("5_6gt41")
metadata/_custom_type_script = "uid://xem6lai3ufyj"
[node name="Number" type="NinePatchRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot3/Icon"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.5
anchor_top = 0.9
anchor_right = 0.5
anchor_bottom = 0.9
offset_left = -6.0
offset_top = -12.0
offset_right = 6.0
grow_horizontal = 2
grow_vertical = 0
texture = ExtResource("4_bxh4e")
region_rect = Rect2(0, 0, 12, 12)
script = ExtResource("5_6gt41")
metadata/_custom_type_script = "uid://xem6lai3ufyj"
[node name="Cursor" type="MarginContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot3"]
visible = false
layout_mode = 2
theme_override_constants/margin_top = -5
theme_override_constants/margin_bottom = -4
[node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot3/Cursor"]
layout_mode = 2
text = "^"
horizontal_alignment = 1
[node name="Slot4" type="VBoxContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer"]
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
focus_mode = 2
mouse_filter = 2
[node name="Icon" type="NinePatchRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot4"]
custom_minimum_size = Vector2(0, 32)
layout_mode = 2
size_flags_vertical = 10
texture = ExtResource("3_ldq6u")
region_rect = Rect2(0, 0, 32, 32)
script = ExtResource("5_6gt41")
metadata/_custom_type_script = "uid://xem6lai3ufyj"
[node name="Number" type="NinePatchRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot4/Icon"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.5
anchor_top = 0.9
anchor_right = 0.5
anchor_bottom = 0.9
offset_left = -6.0
offset_top = -12.0
offset_right = 6.0
grow_horizontal = 2
grow_vertical = 0
texture = ExtResource("4_bxh4e")
region_rect = Rect2(0, 0, 12, 12)
script = ExtResource("5_6gt41")
metadata/_custom_type_script = "uid://xem6lai3ufyj"
[node name="Cursor" type="MarginContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot4"]
visible = false
layout_mode = 2
theme_override_constants/margin_top = -5
theme_override_constants/margin_bottom = -4
[node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot4/Cursor"]
layout_mode = 2
text = "^"
horizontal_alignment = 1
[node name="Slot5" type="VBoxContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer"]
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
focus_mode = 2
mouse_filter = 2
[node name="Icon" type="NinePatchRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot5"]
custom_minimum_size = Vector2(0, 32)
layout_mode = 2
size_flags_vertical = 10
texture = ExtResource("3_ldq6u")
region_rect = Rect2(0, 0, 32, 32)
script = ExtResource("5_6gt41")
metadata/_custom_type_script = "uid://xem6lai3ufyj"
[node name="Number" type="NinePatchRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot5/Icon"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.5
anchor_top = 0.9
anchor_right = 0.5
anchor_bottom = 0.9
offset_left = -6.0
offset_top = -12.0
offset_right = 6.0
grow_horizontal = 2
grow_vertical = 0
texture = ExtResource("4_bxh4e")
region_rect = Rect2(0, 0, 12, 12)
script = ExtResource("5_6gt41")
metadata/_custom_type_script = "uid://xem6lai3ufyj"
[node name="Cursor" type="MarginContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot5"]
visible = false
layout_mode = 2
theme_override_constants/margin_top = -5
theme_override_constants/margin_bottom = -4
[node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot5/Cursor"]
layout_mode = 2
text = "^"
horizontal_alignment = 1
[node name="Slot6" type="VBoxContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer"]
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
focus_mode = 2
mouse_filter = 2
[node name="Icon" type="NinePatchRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot6"]
custom_minimum_size = Vector2(0, 32)
layout_mode = 2
size_flags_vertical = 10
texture = ExtResource("3_ldq6u")
region_rect = Rect2(0, 0, 32, 32)
script = ExtResource("5_6gt41")
metadata/_custom_type_script = "uid://xem6lai3ufyj"
[node name="Number" type="NinePatchRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot6/Icon"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.5
anchor_top = 0.9
anchor_right = 0.5
anchor_bottom = 0.9
offset_left = -6.0
offset_top = -12.0
offset_right = 6.0
grow_horizontal = 2
grow_vertical = 0
texture = ExtResource("4_bxh4e")
region_rect = Rect2(0, 0, 12, 12)
script = ExtResource("5_6gt41")
metadata/_custom_type_script = "uid://xem6lai3ufyj"
[node name="Cursor" type="MarginContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot6"]
visible = false
layout_mode = 2
theme_override_constants/margin_top = -5
theme_override_constants/margin_bottom = -4
[node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot6/Cursor"]
layout_mode = 2
text = "^"
horizontal_alignment = 1
[node name="Slot7" type="VBoxContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer"]
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
focus_mode = 2
mouse_filter = 2
[node name="Icon" type="NinePatchRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot7"]
custom_minimum_size = Vector2(0, 32)
layout_mode = 2
size_flags_vertical = 10
texture = ExtResource("3_ldq6u")
region_rect = Rect2(0, 0, 32, 32)
script = ExtResource("5_6gt41")
metadata/_custom_type_script = "uid://xem6lai3ufyj"
[node name="Number" type="NinePatchRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot7/Icon"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.5
anchor_top = 0.9
anchor_right = 0.5
anchor_bottom = 0.9
offset_left = -6.0
offset_top = -12.0
offset_right = 6.0
grow_horizontal = 2
grow_vertical = 0
texture = ExtResource("4_bxh4e")
region_rect = Rect2(0, 0, 12, 12)
script = ExtResource("5_6gt41")
metadata/_custom_type_script = "uid://xem6lai3ufyj"
[node name="Cursor" type="MarginContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot7"]
visible = false
layout_mode = 2
theme_override_constants/margin_top = -5
theme_override_constants/margin_bottom = -4
[node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot7/Cursor"]
layout_mode = 2
text = "^"
horizontal_alignment = 1
[node name="Slot8" type="VBoxContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer"]
unique_name_in_owner = true
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
focus_mode = 2
mouse_filter = 2
[node name="Icon" type="NinePatchRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot8"]
custom_minimum_size = Vector2(0, 32)
layout_mode = 2
size_flags_vertical = 10
texture = ExtResource("3_ldq6u")
region_rect = Rect2(0, 0, 32, 32)
script = ExtResource("5_6gt41")
metadata/_custom_type_script = "uid://xem6lai3ufyj"
[node name="Number" type="NinePatchRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot8/Icon"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.5
anchor_top = 0.9
anchor_right = 0.5
anchor_bottom = 0.9
offset_left = -6.0
offset_top = -12.0
offset_right = 6.0
grow_horizontal = 2
grow_vertical = 0
texture = ExtResource("4_bxh4e")
region_rect = Rect2(0, 0, 12, 12)
script = ExtResource("5_6gt41")
metadata/_custom_type_script = "uid://xem6lai3ufyj"
[node name="Cursor" type="MarginContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot8"]
visible = false
layout_mode = 2
theme_override_constants/margin_top = -5
theme_override_constants/margin_bottom = -4
[node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot8/Cursor"]
layout_mode = 2
text = "^"
horizontal_alignment = 1
[node name="Slot9" type="VBoxContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer"]
unique_name_in_owner = true
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
focus_mode = 2
mouse_filter = 2
[node name="Icon" type="NinePatchRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot9"]
custom_minimum_size = Vector2(0, 32)
layout_mode = 2
size_flags_vertical = 10
texture = ExtResource("3_ldq6u")
region_rect = Rect2(0, 0, 32, 32)
script = ExtResource("5_6gt41")
metadata/_custom_type_script = "uid://xem6lai3ufyj"
[node name="Number" type="NinePatchRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot9/Icon"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.5
anchor_top = 0.9
anchor_right = 0.5
anchor_bottom = 0.9
offset_left = -6.0
offset_top = -12.0
offset_right = 6.0
grow_horizontal = 2
grow_vertical = 0
texture = ExtResource("4_bxh4e")
region_rect = Rect2(0, 0, 12, 12)
script = ExtResource("5_6gt41")
metadata/_custom_type_script = "uid://xem6lai3ufyj"
[node name="Cursor" type="MarginContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot9"]
visible = false
layout_mode = 2
theme_override_constants/margin_top = -5
theme_override_constants/margin_bottom = -4
[node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot9/Cursor"]
layout_mode = 2
text = "^"
horizontal_alignment = 1
[node name="Slot10" type="VBoxContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer"]
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
focus_mode = 2
mouse_filter = 2
[node name="Icon" type="NinePatchRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot10"]
custom_minimum_size = Vector2(0, 32)
layout_mode = 2
size_flags_vertical = 10
texture = ExtResource("3_ldq6u")
region_rect = Rect2(0, 0, 32, 32)
script = ExtResource("5_6gt41")
metadata/_custom_type_script = "uid://xem6lai3ufyj"
[node name="Number" type="NinePatchRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot10/Icon"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.5
anchor_top = 0.9
anchor_right = 0.5
anchor_bottom = 0.9
offset_left = -6.0
offset_top = -12.0
offset_right = 6.0
grow_horizontal = 2
grow_vertical = 0
texture = ExtResource("4_bxh4e")
region_rect = Rect2(0, 0, 12, 12)
script = ExtResource("5_6gt41")
metadata/_custom_type_script = "uid://xem6lai3ufyj"
[node name="Cursor" type="MarginContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot10"]
visible = false
layout_mode = 2
theme_override_constants/margin_top = -5
theme_override_constants/margin_bottom = -4
[node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot10/Cursor"]
layout_mode = 2
text = "^"
horizontal_alignment = 1
[node name="Slot11" type="VBoxContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer"]
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
focus_mode = 2
mouse_filter = 2
[node name="Icon" type="NinePatchRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot11"]
custom_minimum_size = Vector2(0, 32)
layout_mode = 2
size_flags_vertical = 10
texture = ExtResource("3_ldq6u")
region_rect = Rect2(0, 0, 32, 32)
script = ExtResource("5_6gt41")
metadata/_custom_type_script = "uid://xem6lai3ufyj"
[node name="Number" type="NinePatchRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot11/Icon"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.5
anchor_top = 0.9
anchor_right = 0.5
anchor_bottom = 0.9
offset_left = -6.0
offset_top = -12.0
offset_right = 6.0
grow_horizontal = 2
grow_vertical = 0
texture = ExtResource("4_bxh4e")
region_rect = Rect2(0, 0, 12, 12)
script = ExtResource("5_6gt41")
metadata/_custom_type_script = "uid://xem6lai3ufyj"
[node name="Cursor" type="MarginContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot11"]
visible = false
layout_mode = 2
theme_override_constants/margin_top = -5
theme_override_constants/margin_bottom = -4
[node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot11/Cursor"]
layout_mode = 2
text = "^"
horizontal_alignment = 1
[node name="Slot12" type="VBoxContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer"]
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
focus_mode = 2
mouse_filter = 2
[node name="Icon" type="NinePatchRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot12"]
custom_minimum_size = Vector2(0, 32)
layout_mode = 2
size_flags_vertical = 10
texture = ExtResource("3_ldq6u")
region_rect = Rect2(0, 0, 32, 32)
script = ExtResource("5_6gt41")
metadata/_custom_type_script = "uid://xem6lai3ufyj"
[node name="Number" type="NinePatchRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot12/Icon"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.5
anchor_top = 0.9
anchor_right = 0.5
anchor_bottom = 0.9
offset_left = -6.0
offset_top = -12.0
offset_right = 6.0
grow_horizontal = 2
grow_vertical = 0
texture = ExtResource("4_bxh4e")
region_rect = Rect2(0, 0, 12, 12)
script = ExtResource("5_6gt41")
metadata/_custom_type_script = "uid://xem6lai3ufyj"
[node name="Cursor" type="MarginContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot12"]
visible = false
layout_mode = 2
theme_override_constants/margin_top = -5
theme_override_constants/margin_bottom = -4
[node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot12/Cursor"]
layout_mode = 2
text = "^"
horizontal_alignment = 1
[node name="Slot13" type="VBoxContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer"]
unique_name_in_owner = true
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
focus_neighbor_right = NodePath("../Slot1")
focus_mode = 2
mouse_filter = 2
[node name="Icon" type="NinePatchRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot13"]
custom_minimum_size = Vector2(0, 32)
layout_mode = 2
size_flags_vertical = 10
texture = ExtResource("3_ldq6u")
region_rect = Rect2(0, 0, 32, 32)
script = ExtResource("5_6gt41")
metadata/_custom_type_script = "uid://xem6lai3ufyj"
[node name="Number" type="NinePatchRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot13/Icon"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.5
anchor_top = 0.9
anchor_right = 0.5
anchor_bottom = 0.9
offset_left = -6.0
offset_top = -12.0
offset_right = 6.0
grow_horizontal = 2
grow_vertical = 0
texture = ExtResource("4_bxh4e")
region_rect = Rect2(0, 0, 12, 12)
script = ExtResource("5_6gt41")
metadata/_custom_type_script = "uid://xem6lai3ufyj"
[node name="Cursor" type="MarginContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot13"]
visible = false
layout_mode = 2
theme_override_constants/margin_top = -5
theme_override_constants/margin_bottom = -4
[node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot13/Cursor"]
layout_mode = 2
text = "^"
horizontal_alignment = 1
[node name="Label2" type="Label" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
text = "►"
[node name="LabelFontChanger" type="Node" parent="." node_paths=PackedStringArray("labels")]
script = ExtResource("3_isg11")
labels = [NodePath("../Panel/MarginContainer/VBoxContainer/Title")]
metadata/_custom_type_script = "uid://co6tjg3w6qpd8"
[connection signal="focus_entered" from="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot1" to="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot1/Cursor" method="show"]
[connection signal="focus_exited" from="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot1" to="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot1/Cursor" method="hide"]
[connection signal="ready" from="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot1" to="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot1" method="grab_focus"]
[connection signal="focus_entered" from="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot2" to="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot2/Cursor" method="show"]
[connection signal="focus_exited" from="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot2" to="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot2/Cursor" method="hide"]
[connection signal="focus_entered" from="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot3" to="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot3/Cursor" method="show"]
[connection signal="focus_exited" from="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot3" to="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot3/Cursor" method="hide"]
[connection signal="focus_entered" from="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot4" to="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot4/Cursor" method="show"]
[connection signal="focus_exited" from="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot4" to="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot4/Cursor" method="hide"]
[connection signal="focus_entered" from="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot5" to="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot5/Cursor" method="show"]
[connection signal="focus_exited" from="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot5" to="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot5/Cursor" method="hide"]
[connection signal="focus_entered" from="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot6" to="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot6/Cursor" method="show"]
[connection signal="focus_exited" from="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot6" to="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot6/Cursor" method="hide"]
[connection signal="focus_entered" from="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot7" to="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot7/Cursor" method="show"]
[connection signal="focus_exited" from="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot7" to="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot7/Cursor" method="hide"]
[connection signal="focus_entered" from="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot8" to="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot8/Cursor" method="show"]
[connection signal="focus_exited" from="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot8" to="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot8/Cursor" method="hide"]
[connection signal="focus_entered" from="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot9" to="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot9/Cursor" method="show"]
[connection signal="focus_exited" from="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot9" to="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot9/Cursor" method="hide"]
[connection signal="focus_entered" from="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot10" to="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot10/Cursor" method="show"]
[connection signal="focus_exited" from="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot10" to="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot10/Cursor" method="hide"]
[connection signal="focus_entered" from="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot11" to="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot11/Cursor" method="show"]
[connection signal="focus_exited" from="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot11" to="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot11/Cursor" method="hide"]
[connection signal="focus_entered" from="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot12" to="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot12/Cursor" method="show"]
[connection signal="focus_exited" from="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot12" to="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot12/Cursor" method="hide"]
[connection signal="focus_entered" from="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot13" to="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot13/Cursor" method="show"]
[connection signal="focus_exited" from="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot13" to="Panel/MarginContainer/VBoxContainer/HBoxContainer/ScrollContainer/SlotContainer/Slot13/Cursor" method="hide"]