-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathui.tscn
50 lines (41 loc) · 1.4 KB
/
ui.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
[gd_scene load_steps=3 format=3 uid="uid://bxj0a37myekah"]
[ext_resource type="Script" path="res://ui.gd" id="1_ohjv0"]
[sub_resource type="LabelSettings" id="LabelSettings_10vpg"]
font_size = 24
outline_size = 2
outline_color = Color(0, 0, 0, 1)
[node name="UI" type="CanvasLayer"]
script = ExtResource("1_ohjv0")
[node name="MarginContainer" type="MarginContainer" parent="."]
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -40.0
offset_bottom = 40.0
grow_horizontal = 0
theme_override_constants/margin_top = 10
theme_override_constants/margin_right = 10
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
layout_mode = 2
[node name="Label FPS" type="Label" parent="MarginContainer/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
[node name="Label Enemies" type="Label" parent="MarginContainer/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
[node name="MarginContainer2" type="MarginContainer" parent="."]
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -20.0
offset_top = -40.0
offset_right = 20.0
grow_horizontal = 2
grow_vertical = 0
theme_override_constants/margin_bottom = 10
[node name="Label Help" type="Label" parent="MarginContainer2"]
layout_mode = 2
text = "Hold left mouse button to move player, press 'P' to toggle spawners"
label_settings = SubResource("LabelSettings_10vpg")