-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathHUD.tscn
72 lines (62 loc) · 1.68 KB
/
HUD.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[gd_scene load_steps=4 format=3 uid="uid://bn1egxa8bk0mx"]
[ext_resource type="Script" path="res://HUD.gd" id="1_tidst"]
[ext_resource type="Texture2D" uid="uid://cc3gutq2qcc4" path="res://hud_img/crosshair046.png" id="2_k6tgo"]
[sub_resource type="LabelSettings" id="LabelSettings_38kwl"]
font_size = 40
[node name="HUD" type="CanvasLayer"]
script = ExtResource("1_tidst")
[node name="Info" type="Label" parent="."]
offset_left = 21.0
offset_top = 598.0
offset_right = 61.0
offset_bottom = 621.0
[node name="Crosshair" type="MarginContainer" parent="."]
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -20.0
offset_top = -20.0
offset_right = 20.0
offset_bottom = 20.0
grow_horizontal = 2
grow_vertical = 2
[node name="Crosshair046" type="Sprite2D" parent="Crosshair"]
position = Vector2(21, 21)
texture = ExtResource("2_k6tgo")
[node name="FPS" type="Label" parent="."]
offset_left = 977.0
offset_top = 15.0
offset_right = 1133.0
offset_bottom = 38.0
[node name="Health" type="Label" parent="."]
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -62.0
offset_top = -51.0
offset_right = -34.0
offset_bottom = -26.0
grow_horizontal = 0
grow_vertical = 0
text = "100"
[node name="GameOver" type="MarginContainer" parent="."]
visible = false
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -20.0
offset_top = -20.0
offset_right = 20.0
offset_bottom = 20.0
grow_horizontal = 2
grow_vertical = 2
[node name="Label" type="Label" parent="GameOver"]
layout_mode = 2
text = "ПОТРАЧЕНО"
label_settings = SubResource("LabelSettings_38kwl")