168 lines
6 KiB
Text
168 lines
6 KiB
Text
[gd_scene format=3 uid="uid://df4wh83ypl085"]
|
|
|
|
[ext_resource type="Script" uid="uid://dblnpuq85tsmq" path="res://main.gd" id="1_h2yge"]
|
|
[ext_resource type="Script" uid="uid://njpp5gvmxi7f" path="res://TitleBar.gd" id="1_ig7tw"]
|
|
[ext_resource type="Texture2D" uid="uid://b502wtiwv20em" path="res://Sprites/statusIcon.png" id="3_h2yge"]
|
|
|
|
[node name="Control" type="Control" unique_id=577067945 node_paths=PackedStringArray("player_name", "player_rank", "player_score", "cell_rank", "cell_score", "player_request", "cell_request", "cell_name")]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_h2yge")
|
|
player_name = NodePath("VBoxContainer/MainContent/OnTask/playerName")
|
|
player_rank = NodePath("VBoxContainer/MainContent/OnTask/GridContainer/playerRank")
|
|
player_score = NodePath("VBoxContainer/MainContent/OnTask/GridContainer/playerScore")
|
|
cell_rank = NodePath("VBoxContainer/MainContent/OnTask/GridContainer2/cellRank")
|
|
cell_score = NodePath("VBoxContainer/MainContent/OnTask/GridContainer2/cellScore")
|
|
player_request = NodePath("playerRequest")
|
|
cell_request = NodePath("cellRequest")
|
|
cell_name = NodePath("VBoxContainer/MainContent/OnTask/cellName")
|
|
|
|
[node name="Background" type="ColorRect" parent="." unique_id=641703216]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
color = Color(0.31691015, 0.00042817116, 0.42128003, 1)
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=670454016]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="TitleBar" type="PanelContainer" parent="VBoxContainer" unique_id=1245189107 node_paths=PackedStringArray("options_menu")]
|
|
layout_mode = 2
|
|
script = ExtResource("1_ig7tw")
|
|
options_menu = NodePath("../../StatusIndicator/PopupMenu")
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/TitleBar" unique_id=1199806333]
|
|
layout_mode = 2
|
|
alignment = 1
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer/TitleBar/HBoxContainer" unique_id=804273888]
|
|
layout_mode = 2
|
|
text = "Payphone Watcher"
|
|
|
|
[node name="MainContent" type="Control" parent="VBoxContainer" unique_id=1523584708]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
|
|
[node name="OnTask" type="VBoxContainer" parent="VBoxContainer/MainContent" unique_id=1800861120]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
size_flags_vertical = 3
|
|
theme_override_constants/separation = 0
|
|
alignment = 1
|
|
|
|
[node name="playerName" type="Label" parent="VBoxContainer/MainContent/OnTask" unique_id=1091176720]
|
|
modulate = Color(1, 0.58431375, 1, 1)
|
|
layout_mode = 2
|
|
text = "LunarLynx 😜"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="GridContainer" type="GridContainer" parent="VBoxContainer/MainContent/OnTask" unique_id=938839243]
|
|
layout_mode = 2
|
|
columns = 2
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer/MainContent/OnTask/GridContainer" unique_id=1388196608]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Rank:"
|
|
horizontal_alignment = 2
|
|
|
|
[node name="playerRank" type="Label" parent="VBoxContainer/MainContent/OnTask/GridContainer" unique_id=482359721]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "..."
|
|
|
|
[node name="Label2" type="Label" parent="VBoxContainer/MainContent/OnTask/GridContainer" unique_id=1618465185]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Score:"
|
|
horizontal_alignment = 2
|
|
|
|
[node name="playerScore" type="Label" parent="VBoxContainer/MainContent/OnTask/GridContainer" unique_id=994771734]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "..."
|
|
|
|
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/MainContent/OnTask" unique_id=1485557779]
|
|
layout_mode = 2
|
|
|
|
[node name="cellName" type="Label" parent="VBoxContainer/MainContent/OnTask" unique_id=157893317]
|
|
modulate = Color(1, 0.58431375, 1, 1)
|
|
layout_mode = 2
|
|
text = "The Catgirl Mafia [MIAW]"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="GridContainer2" type="GridContainer" parent="VBoxContainer/MainContent/OnTask" unique_id=959168299]
|
|
layout_mode = 2
|
|
columns = 2
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer/MainContent/OnTask/GridContainer2" unique_id=521074097]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Rank:"
|
|
horizontal_alignment = 2
|
|
|
|
[node name="cellRank" type="Label" parent="VBoxContainer/MainContent/OnTask/GridContainer2" unique_id=1333088748]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "..."
|
|
|
|
[node name="Label2" type="Label" parent="VBoxContainer/MainContent/OnTask/GridContainer2" unique_id=639603789]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Score:"
|
|
horizontal_alignment = 2
|
|
|
|
[node name="cellScore" type="Label" parent="VBoxContainer/MainContent/OnTask/GridContainer2" unique_id=329730910]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "..."
|
|
|
|
[node name="StatusIndicator" type="StatusIndicator" parent="." unique_id=1039426600]
|
|
icon = ExtResource("3_h2yge")
|
|
menu = NodePath("PopupMenu")
|
|
|
|
[node name="PopupMenu" type="PopupMenu" parent="StatusIndicator" unique_id=1255435033]
|
|
item_count = 6
|
|
item_0/text = "Exit"
|
|
item_0/id = 0
|
|
item_1/id = 1
|
|
item_1/separator = true
|
|
item_2/text = "Smaller"
|
|
item_2/checkable = 2
|
|
item_2/id = 5
|
|
item_3/text = "Small"
|
|
item_3/checkable = 2
|
|
item_3/checked = true
|
|
item_3/id = 2
|
|
item_4/text = "Medium"
|
|
item_4/checkable = 2
|
|
item_4/id = 3
|
|
item_5/text = "Large"
|
|
item_5/checkable = 2
|
|
item_5/id = 4
|
|
|
|
[node name="playerRequest" type="HTTPRequest" parent="." unique_id=692196380]
|
|
|
|
[node name="cellRequest" type="HTTPRequest" parent="." unique_id=1748890035]
|
|
|
|
[connection signal="gui_input" from="VBoxContainer/TitleBar" to="VBoxContainer/TitleBar" method="_on_TitleBar_gui_input"]
|
|
[connection signal="id_pressed" from="StatusIndicator/PopupMenu" to="." method="_on_popup_menu_id_pressed"]
|
|
[connection signal="id_pressed" from="StatusIndicator/PopupMenu" to="VBoxContainer/TitleBar" method="_on_popup_menu_id_pressed"]
|
|
[connection signal="request_completed" from="playerRequest" to="." method="player_request_completed"]
|
|
[connection signal="request_completed" from="cellRequest" to="." method="cell_request_completed"]
|