2023-10-02 15:11:09 +00:00
|
|
|
[gd_scene load_steps=10 format=3 uid="uid://qk2gw74anwlq"]
|
2023-09-23 16:24:55 +00:00
|
|
|
|
2023-10-02 13:56:26 +00:00
|
|
|
[ext_resource type="Theme" uid="uid://yqkvsb5q7pab" path="res://res/pixel_ui_theme/PixelTheme.tres" id="1_36ht7"]
|
2023-09-23 16:24:55 +00:00
|
|
|
[ext_resource type="Texture2D" uid="uid://bv6vh33cnfaw4" path="res://icon.svg" id="1_axfei"]
|
|
|
|
[ext_resource type="Script" path="res://main.gd" id="1_obpq7"]
|
|
|
|
[ext_resource type="Script" path="res://Button.gd" id="3_aenvv"]
|
|
|
|
[ext_resource type="Script" path="res://Button2.gd" id="4_u2f14"]
|
2023-09-25 08:10:38 +00:00
|
|
|
[ext_resource type="Script" path="res://ProgressButton.gd" id="5_slq0p"]
|
|
|
|
[ext_resource type="Script" path="res://ProgressBar.gd" id="6_cx658"]
|
2023-09-23 16:24:55 +00:00
|
|
|
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_b77hh"]
|
|
|
|
font_size = 24
|
|
|
|
|
2023-09-25 08:10:38 +00:00
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_xyjyy"]
|
|
|
|
corner_radius_top_left = 5
|
|
|
|
corner_radius_top_right = 5
|
|
|
|
corner_radius_bottom_right = 5
|
|
|
|
corner_radius_bottom_left = 5
|
|
|
|
|
2023-09-23 16:24:55 +00:00
|
|
|
[node name="Control" type="Control"]
|
|
|
|
layout_mode = 3
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2023-10-02 15:11:09 +00:00
|
|
|
offset_bottom = 15.0
|
2023-09-23 16:24:55 +00:00
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
2023-10-02 13:56:26 +00:00
|
|
|
theme = ExtResource("1_36ht7")
|
2023-09-23 16:24:55 +00:00
|
|
|
script = ExtResource("1_obpq7")
|
|
|
|
|
|
|
|
[node name="Background" type="ColorRect" parent="."]
|
2023-10-02 13:56:26 +00:00
|
|
|
layout_mode = 2
|
2023-09-23 16:24:55 +00:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
2023-10-02 13:56:26 +00:00
|
|
|
color = Color(0.0117647, 0.0117647, 0.0666667, 1)
|
2023-09-23 16:24:55 +00:00
|
|
|
|
|
|
|
[node name="Icon" type="Sprite2D" parent="."]
|
2023-10-02 13:56:26 +00:00
|
|
|
visible = false
|
2023-09-23 16:24:55 +00:00
|
|
|
position = Vector2(76, 66)
|
|
|
|
scale = Vector2(0.25, 0.25)
|
|
|
|
texture = ExtResource("1_axfei")
|
|
|
|
|
|
|
|
[node name="TitleText" type="Label" parent="."]
|
2023-10-02 13:56:26 +00:00
|
|
|
visible = false
|
2023-09-23 16:24:55 +00:00
|
|
|
layout_mode = 1
|
|
|
|
anchors_preset = 5
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_right = 0.5
|
|
|
|
offset_left = -208.5
|
|
|
|
offset_top = 50.0
|
|
|
|
offset_right = 208.5
|
|
|
|
offset_bottom = 87.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
text = "Welcome to RetroDECK configurator"
|
|
|
|
label_settings = SubResource("LabelSettings_b77hh")
|
|
|
|
horizontal_alignment = 1
|
|
|
|
|
|
|
|
[node name="VBoxContainerButtons" type="VBoxContainer" parent="."]
|
2023-10-02 13:56:26 +00:00
|
|
|
visible = false
|
2023-09-23 16:24:55 +00:00
|
|
|
layout_mode = 1
|
2023-10-02 15:11:09 +00:00
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2023-09-23 16:24:55 +00:00
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
|
|
|
|
[node name="Button" type="Button" parent="VBoxContainerButtons"]
|
2023-09-25 08:10:38 +00:00
|
|
|
custom_minimum_size = Vector2(150, 0)
|
2023-09-23 16:24:55 +00:00
|
|
|
layout_mode = 2
|
2023-09-25 08:10:38 +00:00
|
|
|
size_flags_horizontal = 0
|
|
|
|
focus_neighbor_top = NodePath("../HBoxContainerProgress/ProgressButton")
|
2023-09-23 16:24:55 +00:00
|
|
|
focus_neighbor_bottom = NodePath("../Button2")
|
|
|
|
text = "Hardcoded script"
|
|
|
|
script = ExtResource("3_aenvv")
|
|
|
|
|
|
|
|
[node name="Button2" type="Button" parent="VBoxContainerButtons"]
|
2023-09-25 08:10:38 +00:00
|
|
|
custom_minimum_size = Vector2(150, 0)
|
2023-09-23 16:24:55 +00:00
|
|
|
layout_mode = 2
|
2023-09-25 08:10:38 +00:00
|
|
|
size_flags_horizontal = 0
|
2023-09-23 16:24:55 +00:00
|
|
|
focus_neighbor_top = NodePath("../Button")
|
2023-09-25 08:10:38 +00:00
|
|
|
focus_neighbor_bottom = NodePath("../HBoxContainerProgress/ProgressButton")
|
2023-09-23 16:24:55 +00:00
|
|
|
text = "External script"
|
|
|
|
script = ExtResource("4_u2f14")
|
2023-09-23 17:26:41 +00:00
|
|
|
|
2023-09-25 08:10:38 +00:00
|
|
|
[node name="HBoxContainerProgress" type="HBoxContainer" parent="VBoxContainerButtons"]
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
[node name="ProgressButton" type="Button" parent="VBoxContainerButtons/HBoxContainerProgress"]
|
|
|
|
custom_minimum_size = Vector2(150, 0)
|
|
|
|
layout_mode = 2
|
|
|
|
focus_neighbor_top = NodePath("../../Button2")
|
|
|
|
focus_neighbor_bottom = NodePath("../../Button")
|
|
|
|
text = "Start progress"
|
|
|
|
script = ExtResource("5_slq0p")
|
|
|
|
|
|
|
|
[node name="CheckButton" type="CheckButton" parent="VBoxContainerButtons/HBoxContainerProgress"]
|
|
|
|
layout_mode = 2
|
|
|
|
text = "Make progress red"
|
|
|
|
|
|
|
|
[node name="ProgressBar" type="ProgressBar" parent="VBoxContainerButtons"]
|
|
|
|
custom_minimum_size = Vector2(150, 0)
|
2023-09-23 17:26:41 +00:00
|
|
|
layout_mode = 2
|
2023-09-25 08:10:38 +00:00
|
|
|
size_flags_horizontal = 0
|
|
|
|
size_flags_vertical = 1
|
|
|
|
size_flags_stretch_ratio = 8.13
|
|
|
|
theme_override_styles/fill = SubResource("StyleBoxFlat_xyjyy")
|
|
|
|
step = 1.0
|
|
|
|
value = 25.0
|
|
|
|
script = ExtResource("6_cx658")
|
|
|
|
|
2023-10-02 13:56:26 +00:00
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="."]
|
2023-10-02 15:11:09 +00:00
|
|
|
layout_mode = 1
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
2023-10-02 13:56:26 +00:00
|
|
|
|
|
|
|
[node name="TabContainer" type="TabContainer" parent="MarginContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
theme = ExtResource("1_36ht7")
|
|
|
|
|
|
|
|
[node name="General" type="TabBar" parent="MarginContainer/TabContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
theme = ExtResource("1_36ht7")
|
|
|
|
|
2023-10-02 15:11:09 +00:00
|
|
|
[node name="game_control_container" type="VBoxContainer" parent="MarginContainer/TabContainer/General"]
|
2023-10-02 13:56:26 +00:00
|
|
|
layout_mode = 0
|
|
|
|
offset_left = 16.0
|
|
|
|
offset_top = 19.0
|
|
|
|
offset_right = 336.0
|
|
|
|
offset_bottom = 178.0
|
|
|
|
|
2023-10-02 15:11:09 +00:00
|
|
|
[node name="game_control_label" type="Label" parent="MarginContainer/TabContainer/General/game_control_container"]
|
|
|
|
layout_mode = 2
|
|
|
|
text = "Game Control"
|
|
|
|
|
|
|
|
[node name="game_control_label2" type="HSeparator" parent="MarginContainer/TabContainer/General/game_control_container"]
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
[node name="resume" type="CheckButton" parent="MarginContainer/TabContainer/General/game_control_container"]
|
2023-10-02 13:56:26 +00:00
|
|
|
layout_mode = 2
|
|
|
|
button_pressed = true
|
|
|
|
text = "Quick Resume"
|
|
|
|
|
2023-10-02 15:11:09 +00:00
|
|
|
[node name="Button" type="Button" parent="MarginContainer/TabContainer/General/game_control_container/resume"]
|
2023-10-02 13:56:26 +00:00
|
|
|
layout_mode = 0
|
|
|
|
offset_left = 328.0
|
|
|
|
offset_right = 404.0
|
|
|
|
offset_bottom = 29.0
|
|
|
|
disabled = true
|
|
|
|
text = "Advanced"
|
|
|
|
|
2023-10-02 15:11:09 +00:00
|
|
|
[node name="rewind" type="CheckButton" parent="MarginContainer/TabContainer/General/game_control_container"]
|
2023-10-02 13:56:26 +00:00
|
|
|
layout_mode = 2
|
|
|
|
text = "Rewind"
|
|
|
|
|
2023-10-02 15:11:09 +00:00
|
|
|
[node name="Button" type="Button" parent="MarginContainer/TabContainer/General/game_control_container/rewind"]
|
2023-10-02 13:56:26 +00:00
|
|
|
layout_mode = 0
|
|
|
|
offset_left = 328.0
|
|
|
|
offset_right = 404.0
|
|
|
|
offset_bottom = 29.0
|
|
|
|
disabled = true
|
|
|
|
text = "Advanced"
|
|
|
|
|
2023-10-02 15:11:09 +00:00
|
|
|
[node name="quitconfirm" type="CheckButton" parent="MarginContainer/TabContainer/General/game_control_container"]
|
2023-10-02 13:56:26 +00:00
|
|
|
layout_mode = 2
|
|
|
|
button_pressed = true
|
|
|
|
text = "Quit Confirmation
|
|
|
|
"
|
|
|
|
|
2023-10-02 15:11:09 +00:00
|
|
|
[node name="Button" type="Button" parent="MarginContainer/TabContainer/General/game_control_container/quitconfirm"]
|
2023-10-02 13:56:26 +00:00
|
|
|
layout_mode = 0
|
|
|
|
offset_left = 328.0
|
|
|
|
offset_right = 404.0
|
|
|
|
offset_bottom = 29.0
|
|
|
|
disabled = true
|
|
|
|
text = "Advanced"
|
|
|
|
|
2023-10-02 15:11:09 +00:00
|
|
|
[node name="cheats" type="CheckButton" parent="MarginContainer/TabContainer/General/game_control_container"]
|
2023-10-02 13:56:26 +00:00
|
|
|
layout_mode = 2
|
|
|
|
disabled = true
|
|
|
|
text = "Cheats (coming soon)"
|
|
|
|
|
2023-10-02 15:11:09 +00:00
|
|
|
[node name="Button" type="Button" parent="MarginContainer/TabContainer/General/game_control_container/cheats"]
|
2023-10-02 13:56:26 +00:00
|
|
|
layout_mode = 0
|
|
|
|
offset_left = 328.0
|
|
|
|
offset_right = 404.0
|
|
|
|
offset_bottom = 29.0
|
|
|
|
disabled = true
|
|
|
|
text = "Advanced"
|
|
|
|
|
2023-10-02 15:11:09 +00:00
|
|
|
[node name="cheevos_container" type="VBoxContainer" parent="MarginContainer/TabContainer/General"]
|
2023-10-02 13:56:26 +00:00
|
|
|
layout_mode = 0
|
2023-10-02 15:11:09 +00:00
|
|
|
offset_left = 18.0
|
|
|
|
offset_top = 239.0
|
|
|
|
offset_right = 337.0
|
|
|
|
offset_bottom = 536.0
|
2023-10-02 13:56:26 +00:00
|
|
|
|
2023-10-02 15:11:09 +00:00
|
|
|
[node name="cheevos" type="CheckButton" parent="MarginContainer/TabContainer/General/cheevos_container"]
|
2023-10-02 13:56:26 +00:00
|
|
|
layout_mode = 2
|
|
|
|
text = "Retro Achievements"
|
|
|
|
|
2023-10-02 15:11:09 +00:00
|
|
|
[node name="cheevos_separator" type="HSeparator" parent="MarginContainer/TabContainer/General/cheevos_container"]
|
2023-10-02 13:56:26 +00:00
|
|
|
layout_mode = 2
|
|
|
|
|
2023-10-02 15:11:09 +00:00
|
|
|
[node name="cheevos_username_lab" type="Label" parent="MarginContainer/TabContainer/General/cheevos_container"]
|
2023-10-02 13:56:26 +00:00
|
|
|
layout_mode = 2
|
|
|
|
text = "Username:"
|
|
|
|
|
2023-10-02 15:11:09 +00:00
|
|
|
[node name="cheevos_username" type="LineEdit" parent="MarginContainer/TabContainer/General/cheevos_container/cheevos_username_lab"]
|
2023-10-02 13:56:26 +00:00
|
|
|
layout_mode = 2
|
|
|
|
offset_left = 116.0
|
|
|
|
offset_top = 1.0
|
2023-10-02 15:11:09 +00:00
|
|
|
offset_right = 318.0
|
2023-10-02 13:56:26 +00:00
|
|
|
offset_bottom = 35.0
|
|
|
|
text = "username"
|
|
|
|
placeholder_text = "username"
|
|
|
|
|
2023-10-02 15:11:09 +00:00
|
|
|
[node name="cheevos_pass_lab" type="Label" parent="MarginContainer/TabContainer/General/cheevos_container"]
|
2023-10-02 13:56:26 +00:00
|
|
|
layout_mode = 2
|
|
|
|
text = "Password:"
|
|
|
|
|
2023-10-02 15:11:09 +00:00
|
|
|
[node name="cheevos_pass" type="LineEdit" parent="MarginContainer/TabContainer/General/cheevos_container/cheevos_pass_lab"]
|
2023-10-02 13:56:26 +00:00
|
|
|
layout_mode = 2
|
|
|
|
offset_left = 116.0
|
|
|
|
offset_top = 1.0
|
2023-10-02 15:11:09 +00:00
|
|
|
offset_right = 318.0
|
2023-10-02 13:56:26 +00:00
|
|
|
offset_bottom = 35.0
|
|
|
|
text = "password"
|
|
|
|
placeholder_text = "password"
|
|
|
|
secret = true
|
|
|
|
secret_character = "*"
|
|
|
|
|
2023-10-02 15:11:09 +00:00
|
|
|
[node name="cheevos_advanced" type="Button" parent="MarginContainer/TabContainer/General/cheevos_container"]
|
|
|
|
layout_mode = 2
|
|
|
|
disabled = true
|
|
|
|
text = "Advanced"
|
|
|
|
|
|
|
|
[node name="cheevos_hardcore" type="CheckButton" parent="MarginContainer/TabContainer/General/cheevos_container"]
|
|
|
|
layout_mode = 2
|
|
|
|
disabled = true
|
|
|
|
text = "Hardcore Mode (soon)"
|
|
|
|
|
|
|
|
[node name="cheevos_loginout_container" type="HBoxContainer" parent="MarginContainer/TabContainer/General/cheevos_container"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 8
|
|
|
|
size_flags_vertical = 8
|
|
|
|
|
|
|
|
[node name="cheevos_login" type="Button" parent="MarginContainer/TabContainer/General/cheevos_container/cheevos_loginout_container"]
|
|
|
|
layout_mode = 2
|
|
|
|
text = "Login"
|
|
|
|
|
|
|
|
[node name="cheevos_logout" type="Button" parent="MarginContainer/TabContainer/General/cheevos_container/cheevos_loginout_container"]
|
|
|
|
layout_mode = 2
|
|
|
|
disabled = true
|
|
|
|
text = "Logout"
|
|
|
|
|
|
|
|
[node name="cheevos_show" type="Button" parent="MarginContainer/TabContainer/General/cheevos_container"]
|
2023-10-02 13:56:26 +00:00
|
|
|
layout_mode = 2
|
|
|
|
disabled = true
|
2023-10-02 15:11:09 +00:00
|
|
|
text = "Show Throphies"
|
2023-10-02 13:56:26 +00:00
|
|
|
|
|
|
|
[node name="Graphics" type="TabBar" parent="MarginContainer/TabContainer"]
|
|
|
|
visible = false
|
|
|
|
layout_mode = 2
|
|
|
|
theme = ExtResource("1_36ht7")
|
|
|
|
|
|
|
|
[node name="Controls" type="TabBar" parent="MarginContainer/TabContainer"]
|
|
|
|
visible = false
|
|
|
|
layout_mode = 2
|
|
|
|
theme = ExtResource("1_36ht7")
|
|
|
|
|
|
|
|
[node name="Troubleshooting" type="TabBar" parent="MarginContainer/TabContainer"]
|
|
|
|
visible = false
|
|
|
|
layout_mode = 2
|
|
|
|
theme = ExtResource("1_36ht7")
|
|
|
|
|
|
|
|
[node name="About" type="TabBar" parent="MarginContainer/TabContainer"]
|
|
|
|
visible = false
|
|
|
|
layout_mode = 2
|
|
|
|
theme = ExtResource("1_36ht7")
|
|
|
|
|
|
|
|
[node name="CanvasModulate" type="CanvasModulate" parent="MarginContainer/TabContainer"]
|
|
|
|
visible = false
|
|
|
|
color = Color(0.713726, 0.776471, 1, 1)
|
|
|
|
|
2023-09-25 08:10:38 +00:00
|
|
|
[connection signal="toggled" from="VBoxContainerButtons/HBoxContainerProgress/CheckButton" to="VBoxContainerButtons/ProgressBar" method="_on_check_button_toggled"]
|