summaryrefslogtreecommitdiff
path: root/src/ui/UI.tscn
blob: 14701f0db993622f6145ac81408503215a4d17d3 (plain)
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
[gd_scene load_steps=4 format=2]

[ext_resource path="res://ui/ui.gd" type="Script" id=1]
[ext_resource path="res://ui/hud/snake/scenes/SnakeHUD.tscn" type="PackedScene" id=3]
[ext_resource path="res://ui/hud/progress_bars/scenes/GrowthProgress.tscn" type="PackedScene" id=4]

[node name="UI" type="CanvasLayer"]
script = ExtResource( 1 )

[node name="Root" type="Control" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0

[node name="StatsHUD" type="MarginContainer" parent="Root"]
margin_left = 4.0
margin_top = 4.0
margin_right = 124.0
margin_bottom = 44.0

[node name="VBox" type="VBoxContainer" parent="Root/StatsHUD"]
margin_right = 120.0
margin_bottom = 40.0

[node name="SnakeHUD" parent="Root/StatsHUD/VBox" instance=ExtResource( 3 )]
margin_right = 120.0
margin_bottom = 8.0

[node name="HBoxProgressBars" type="HBoxContainer" parent="Root/StatsHUD/VBox"]
margin_top = 12.0
margin_right = 120.0
margin_bottom = 20.0

[node name="GrowthProgress" parent="Root/StatsHUD/VBox/HBoxProgressBars" instance=ExtResource( 4 )]
margin_right = 40.0
margin_bottom = 8.0

[node name="MarginContainer" type="MarginContainer" parent="Root"]
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = -20.0

[node name="CenterContainer" type="CenterContainer" parent="Root/MarginContainer"]
margin_right = 320.0
margin_bottom = 20.0

[node name="Start" type="Button" parent="Root/MarginContainer/CenterContainer"]
margin_left = 139.0
margin_right = 180.0
margin_bottom = 20.0
text = "Start"