diff options
Diffstat (limited to 'src/ui/hud')
-rw-r--r-- | src/ui/hud/HUD.tscn | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/ui/hud/HUD.tscn b/src/ui/hud/HUD.tscn new file mode 100644 index 0000000..d30f7f5 --- /dev/null +++ b/src/ui/hud/HUD.tscn @@ -0,0 +1,42 @@ +[gd_scene load_steps=4 format=2] + +[ext_resource path="res://ui/hud/progress_bars/sprites/grow_progress_icon.png" type="Texture" id=2] +[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="HUD" type="MarginContainer"] +anchor_right = 1.0 +anchor_bottom = 1.0 +margin_left = 4.0 +margin_top = 4.0 +margin_right = -4.0 +margin_bottom = -4.0 + +[node name="StatsHUD" type="MarginContainer" parent="."] +margin_right = 312.0 +margin_bottom = 172.0 + +[node name="VBox" type="VBoxContainer" parent="StatsHUD"] +margin_right = 312.0 +margin_bottom = 172.0 +custom_constants/separation = 2 + +[node name="SnakeHUD" parent="StatsHUD/VBox" instance=ExtResource( 3 )] +margin_right = 312.0 +margin_bottom = 8.0 + +[node name="HBoxProgressBars" type="HBoxContainer" parent="StatsHUD/VBox"] +margin_top = 10.0 +margin_right = 312.0 +margin_bottom = 18.0 +custom_constants/separation = 2 + +[node name="GrowthProgressIcon" type="TextureRect" parent="StatsHUD/VBox/HBoxProgressBars"] +margin_right = 8.0 +margin_bottom = 8.0 +texture = ExtResource( 2 ) + +[node name="GrowthProgress" parent="StatsHUD/VBox/HBoxProgressBars" instance=ExtResource( 4 )] +margin_left = 10.0 +margin_right = 30.0 +margin_bottom = 8.0 |