Frontier-of-Hell/scenes/ui/game_stats.tscn

109 lines
3 KiB
Text

[gd_scene load_steps=5 format=3 uid="uid://cy88k4uxt1v37"]
[ext_resource type="Texture2D" uid="uid://d2d7ab8q2vik4" path="res://assets/icons/label_bg.png" id="1_1gxsd"]
[ext_resource type="Script" path="res://scripts/ui/game_stats.gd" id="1_ui7x4"]
[ext_resource type="Texture2D" uid="uid://derifasksdfub" path="res://assets/icons/pause.png" id="2_imq5h"]
[ext_resource type="Texture2D" uid="uid://e8dmiy1xr5g3" path="res://assets/icons/health.png" id="3_r1i66"]
[node name="GameStats" type="Control"]
layout_mode = 3
anchors_preset = 10
anchor_right = 1.0
offset_right = -2.0
offset_bottom = 51.0
grow_horizontal = 2
script = ExtResource("1_ui7x4")
[node name="Resources" type="NinePatchRect" parent="."]
layout_mode = 0
offset_left = 975.0
offset_top = 7.0
offset_right = 1125.0
offset_bottom = 48.0
texture = ExtResource("1_1gxsd")
[node name="Label" type="Label" parent="Resources"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
text = "999999999"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Pause" type="NinePatchRect" parent="."]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -18.0
offset_top = 10.0
offset_right = 19.0
offset_bottom = 45.0
grow_horizontal = 2
texture = ExtResource("1_1gxsd")
[node name="PauseButton" type="TextureButton" parent="Pause"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -15.5
offset_top = -15.5
offset_right = 2032.5
offset_bottom = 2032.5
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(0.015, 0.015)
texture_normal = ExtResource("2_imq5h")
[node name="Health" type="NinePatchRect" parent="."]
layout_mode = 1
anchors_preset = 4
anchor_top = 0.5
anchor_bottom = 0.5
offset_left = 17.0
offset_top = -14.5
offset_right = 238.0
offset_bottom = 20.5
grow_vertical = 2
texture = ExtResource("1_1gxsd")
[node name="GridContainer" type="GridContainer" parent="Health"]
layout_mode = 0
offset_right = 3608.0
offset_bottom = 1200.0
scale = Vector2(0.03, 0.03)
columns = 6
[node name="1" type="TextureRect" parent="Health/GridContainer"]
layout_mode = 2
texture = ExtResource("3_r1i66")
[node name="2" type="TextureRect" parent="Health/GridContainer"]
layout_mode = 2
texture = ExtResource("3_r1i66")
[node name="3" type="TextureRect" parent="Health/GridContainer"]
layout_mode = 2
texture = ExtResource("3_r1i66")
[node name="4" type="TextureRect" parent="Health/GridContainer"]
layout_mode = 2
texture = ExtResource("3_r1i66")
[node name="5" type="TextureRect" parent="Health/GridContainer"]
layout_mode = 2
texture = ExtResource("3_r1i66")
[node name="6" type="TextureRect" parent="Health/GridContainer"]
layout_mode = 2
texture = ExtResource("3_r1i66")
[connection signal="mouse_entered" from="Pause/PauseButton" to="." method="_on_pause_button_hold"]
[connection signal="mouse_exited" from="Pause/PauseButton" to="." method="_on_pause_button_release"]
[connection signal="pressed" from="Pause/PauseButton" to="." method="_on_pause_button_pressed"]