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

139 lines
4.1 KiB
Text
Raw Normal View History

2023-10-29 08:26:02 +01:00
[gd_scene load_steps=6 format=3 uid="uid://cy88k4uxt1v37"]
[ext_resource type="Texture2D" uid="uid://d2d7ab8q2vik4" path="res://assets/icons/label_bg.png" id="1_1gxsd"]
2023-10-07 16:10:06 +02:00
[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"]
2023-10-29 08:26:02 +01:00
[ext_resource type="Texture2D" uid="uid://bn8pc3vkskcny" path="res://assets/icons/fast-forward.png" id="4_frnkw"]
[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
2023-10-07 16:10:06 +02:00
script = ExtResource("1_ui7x4")
[node name="Resources" type="NinePatchRect" parent="."]
layout_mode = 0
2023-10-07 16:10:06 +02:00
offset_left = 975.0
offset_top = 7.0
offset_right = 1125.0
2023-10-07 16:10:06 +02:00
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
2023-10-07 16:10:06 +02:00
[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
2023-10-07 16:10:06 +02:00
offset_left = -15.5
offset_top = -15.5
offset_right = 2032.5
offset_bottom = 2032.5
grow_horizontal = 2
grow_vertical = 2
2023-10-07 16:10:06 +02:00
scale = Vector2(0.015, 0.015)
texture_normal = ExtResource("2_imq5h")
2023-10-29 08:26:02 +01:00
[node name="FastForward" type="NinePatchRect" parent="."]
layout_mode = 0
offset_left = 918.0
offset_top = 9.0
offset_right = 955.0
offset_bottom = 44.0
texture = ExtResource("1_1gxsd")
[node name="FastForwardButton" type="TextureButton" parent="FastForward"]
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("4_frnkw")
stretch_mode = 5
[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
2023-10-07 17:13:27 +02:00
[node name="1" type="TextureRect" parent="Health/GridContainer"]
layout_mode = 2
texture = ExtResource("3_r1i66")
2023-10-07 17:13:27 +02:00
[node name="2" type="TextureRect" parent="Health/GridContainer"]
layout_mode = 2
texture = ExtResource("3_r1i66")
2023-10-07 17:13:27 +02:00
[node name="3" type="TextureRect" parent="Health/GridContainer"]
layout_mode = 2
texture = ExtResource("3_r1i66")
2023-10-07 17:13:27 +02:00
[node name="4" type="TextureRect" parent="Health/GridContainer"]
layout_mode = 2
texture = ExtResource("3_r1i66")
2023-10-07 17:13:27 +02:00
[node name="5" type="TextureRect" parent="Health/GridContainer"]
layout_mode = 2
texture = ExtResource("3_r1i66")
2023-10-07 17:13:27 +02:00
[node name="6" type="TextureRect" parent="Health/GridContainer"]
layout_mode = 2
texture = ExtResource("3_r1i66")
2023-10-08 12:45:25 +02:00
2023-10-25 12:19:35 +02:00
[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"]
2023-10-08 12:45:25 +02:00
[connection signal="pressed" from="Pause/PauseButton" to="." method="_on_pause_button_pressed"]
2023-10-29 08:26:02 +01:00
[connection signal="mouse_entered" from="FastForward/FastForwardButton" to="." method="_on_fast_forward_button_hold"]
[connection signal="mouse_exited" from="FastForward/FastForwardButton" to="." method="_on_fast_forward_button_release"]
[connection signal="pressed" from="FastForward/FastForwardButton" to="." method="_on_fast_forward_button_pressed"]