231 lines
6.3 KiB
Plaintext
231 lines
6.3 KiB
Plaintext
[gd_scene load_steps=7 format=3 uid="uid://8kv00jc35dma"]
|
|
|
|
[ext_resource type="Script" uid="uid://c4ekvurl6q7jn" path="res://Gameplay/ActorPanel.cs" id="1_dg1wx"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_e1ofl"]
|
|
bg_color = Color(1, 1, 1, 1)
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_mmnuv"]
|
|
bg_color = Color(0.133196, 0.133196, 0.133196, 1)
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_dg1wx"]
|
|
bg_color = Color(0.376575, 0.904155, 0.434351, 1)
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_j2own"]
|
|
bg_color = Color(0.501407, 0.501406, 0.501406, 1)
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_058dj"]
|
|
bg_color = Color(1, 1, 1, 1)
|
|
|
|
[node name="ActorPanel" type="Panel"]
|
|
offset_right = 450.0
|
|
offset_bottom = 130.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_e1ofl")
|
|
script = ExtResource("1_dg1wx")
|
|
|
|
[node name="Name" type="RichTextLabel" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 20.0
|
|
offset_top = 8.0
|
|
offset_right = 170.0
|
|
offset_bottom = 48.0
|
|
theme_override_colors/default_color = Color(0, 0, 0, 1)
|
|
theme_override_font_sizes/normal_font_size = 24
|
|
text = "Actor Name"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="Image" type="Sprite2D" parent="."]
|
|
position = Vector2(100, 75)
|
|
|
|
[node name="Health" type="Control" parent="."]
|
|
anchors_preset = 0
|
|
offset_left = 203.0
|
|
offset_top = 6.0
|
|
offset_right = 429.0
|
|
offset_bottom = 51.0
|
|
|
|
[node name="Label" type="RichTextLabel" parent="Health"]
|
|
layout_mode = 2
|
|
offset_left = 15.0
|
|
offset_top = 2.0
|
|
offset_right = 115.0
|
|
offset_bottom = 42.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme_override_colors/default_color = Color(0, 0, 0, 1)
|
|
theme_override_font_sizes/normal_font_size = 24
|
|
text = "Health"
|
|
vertical_alignment = 1
|
|
|
|
[node name="Max" type="RichTextLabel" parent="Health"]
|
|
layout_mode = 2
|
|
offset_left = 83.0
|
|
offset_top = 2.0
|
|
offset_right = 148.0
|
|
offset_bottom = 42.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme_override_colors/default_color = Color(0, 0, 0, 1)
|
|
theme_override_font_sizes/normal_font_size = 24
|
|
text = "000"
|
|
horizontal_alignment = 2
|
|
vertical_alignment = 1
|
|
|
|
[node name="Separator" type="RichTextLabel" parent="Health"]
|
|
layout_mode = 2
|
|
offset_left = 112.0
|
|
offset_top = 2.0
|
|
offset_right = 161.0
|
|
offset_bottom = 42.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme_override_colors/default_color = Color(0, 0, 0, 1)
|
|
theme_override_font_sizes/normal_font_size = 24
|
|
text = "/
|
|
"
|
|
horizontal_alignment = 2
|
|
vertical_alignment = 1
|
|
|
|
[node name="Value" type="RichTextLabel" parent="Health"]
|
|
layout_mode = 2
|
|
offset_left = 156.0
|
|
offset_top = 2.0
|
|
offset_right = 205.0
|
|
offset_bottom = 42.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme_override_colors/default_color = Color(0, 0, 0, 1)
|
|
theme_override_font_sizes/normal_font_size = 24
|
|
text = "000"
|
|
horizontal_alignment = 2
|
|
vertical_alignment = 1
|
|
|
|
[node name="Bar" type="ProgressBar" parent="Health"]
|
|
layout_mode = 2
|
|
offset_left = 17.0
|
|
offset_top = 36.0
|
|
offset_right = 204.0
|
|
offset_bottom = 44.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme_override_styles/background = SubResource("StyleBoxFlat_mmnuv")
|
|
theme_override_styles/fill = SubResource("StyleBoxFlat_dg1wx")
|
|
step = 1.0
|
|
show_percentage = false
|
|
|
|
[node name="BallReturn" type="Panel" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 475.0
|
|
offset_right = 550.0
|
|
offset_bottom = 800.0
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_j2own")
|
|
|
|
[node name="Desk" type="Panel" parent="."]
|
|
layout_mode = 0
|
|
offset_top = 150.0
|
|
offset_right = 450.0
|
|
offset_bottom = 800.0
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_j2own")
|
|
|
|
[node name="DeskOrnament1" type="Panel" parent="Desk"]
|
|
layout_mode = 0
|
|
offset_left = 50.0
|
|
offset_top = 50.0
|
|
offset_right = 150.0
|
|
offset_bottom = 150.0
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_058dj")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="Desk/DeskOrnament1"]
|
|
position = Vector2(50, 50)
|
|
scale = Vector2(1.5, 1.5)
|
|
|
|
[node name="DeskOrnament2" type="Panel" parent="Desk"]
|
|
layout_mode = 0
|
|
offset_left = 50.0
|
|
offset_top = 200.0
|
|
offset_right = 150.0
|
|
offset_bottom = 300.0
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_058dj")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="Desk/DeskOrnament2"]
|
|
position = Vector2(50, 50)
|
|
scale = Vector2(1.5, 1.5)
|
|
|
|
[node name="DeskOrnament3" type="Panel" parent="Desk"]
|
|
layout_mode = 0
|
|
offset_left = 50.0
|
|
offset_top = 350.0
|
|
offset_right = 150.0
|
|
offset_bottom = 450.0
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_058dj")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="Desk/DeskOrnament3"]
|
|
position = Vector2(50, 50)
|
|
scale = Vector2(1.5, 1.5)
|
|
|
|
[node name="DeskOrnament4" type="Panel" parent="Desk"]
|
|
layout_mode = 0
|
|
offset_left = 50.0
|
|
offset_top = 500.0
|
|
offset_right = 150.0
|
|
offset_bottom = 600.0
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_058dj")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="Desk/DeskOrnament4"]
|
|
position = Vector2(50, 50)
|
|
scale = Vector2(1.5, 1.5)
|
|
|
|
[node name="DeskOrnament5" type="Panel" parent="Desk"]
|
|
layout_mode = 0
|
|
offset_left = 300.0
|
|
offset_top = 50.0
|
|
offset_right = 400.0
|
|
offset_bottom = 150.0
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_058dj")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="Desk/DeskOrnament5"]
|
|
position = Vector2(50, 50)
|
|
scale = Vector2(1.5, 1.5)
|
|
|
|
[node name="DeskOrnament6" type="Panel" parent="Desk"]
|
|
layout_mode = 0
|
|
offset_left = 300.0
|
|
offset_top = 200.0
|
|
offset_right = 400.0
|
|
offset_bottom = 300.0
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_058dj")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="Desk/DeskOrnament6"]
|
|
position = Vector2(50, 50)
|
|
scale = Vector2(1.5, 1.5)
|
|
|
|
[node name="DeskOrnament7" type="Panel" parent="Desk"]
|
|
layout_mode = 0
|
|
offset_left = 300.0
|
|
offset_top = 350.0
|
|
offset_right = 400.0
|
|
offset_bottom = 450.0
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_058dj")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="Desk/DeskOrnament7"]
|
|
position = Vector2(50, 50)
|
|
scale = Vector2(1.5, 1.5)
|
|
|
|
[node name="DeskOrnament8" type="Panel" parent="Desk"]
|
|
layout_mode = 0
|
|
offset_left = 300.0
|
|
offset_top = 500.0
|
|
offset_right = 400.0
|
|
offset_bottom = 600.0
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_058dj")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="Desk/DeskOrnament8"]
|
|
position = Vector2(50, 50)
|
|
scale = Vector2(1.5, 1.5)
|
|
|
|
[connection signal="mouse_entered" from="." to="." method="OnMouseEntered"]
|
|
[connection signal="mouse_exited" from="." to="." method="OnMouseExited"]
|