-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhud.tscn
32 lines (27 loc) · 877 Bytes
/
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
[gd_scene load_steps=4 format=3 uid="uid://0unmoiod6faj"]
[ext_resource type="Script" path="res://scripts/hud.gd" id="1_i23ga"]
[ext_resource type="FontFile" uid="uid://rs4gonci5xi6" path="res://assets/font/Kenney Blocks.ttf" id="2_lwquc"]
[sub_resource type="LabelSettings" id="LabelSettings_whc2y"]
font = ExtResource("2_lwquc")
font_size = 32
[node name="HUD" type="Control"]
layout_mode = 3
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
script = ExtResource("1_i23ga")
[node name="Score" type="Label" parent="."]
layout_mode = 0
offset_left = 24.0
offset_top = 24.0
offset_right = 384.0
offset_bottom = 99.0
text = "SCORE: 9999"
label_settings = SubResource("LabelSettings_whc2y")
[node name="Lives" type="HBoxContainer" parent="."]
layout_mode = 0
offset_left = 24.0
offset_top = 80.0
offset_right = 57.0
offset_bottom = 106.0
scale = Vector2(1.5, 1.5)