diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2022-06-04 05:17:12 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2022-06-04 05:17:12 -0600 |
commit | e6beb7d4d3450c68ca5ebfae040f42dd82db1b31 (patch) | |
tree | ba8fae52c6f60c09f4aab2958231969ea571a7e3 /src/ui/UI.tscn | |
parent | fa98822a569c1efa2bebc705073c3921b9ae4217 (diff) |
add text for points when eating food
Diffstat (limited to 'src/ui/UI.tscn')
-rw-r--r-- | src/ui/UI.tscn | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/src/ui/UI.tscn b/src/ui/UI.tscn index 980faf4..79d8f93 100644 --- a/src/ui/UI.tscn +++ b/src/ui/UI.tscn @@ -1,6 +1,7 @@ -[gd_scene load_steps=4 format=2] +[gd_scene load_steps=5 format=2] [ext_resource path="res://ui/ui.gd" type="Script" id=1] +[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] @@ -18,21 +19,27 @@ margin_right = 124.0 margin_bottom = 44.0 [node name="VBox" type="VBoxContainer" parent="Root/StatsHUD"] -margin_right = 120.0 -margin_bottom = 40.0 +custom_constants/separation = 2 [node name="SnakeHUD" parent="Root/StatsHUD/VBox" instance=ExtResource( 3 )] -margin_right = 120.0 +margin_right = 30.0 margin_bottom = 8.0 [node name="HBoxProgressBars" type="HBoxContainer" parent="Root/StatsHUD/VBox"] -margin_top = 12.0 -margin_right = 120.0 -margin_bottom = 16.0 +margin_top = 10.0 +margin_right = 30.0 +margin_bottom = 18.0 +custom_constants/separation = 2 + +[node name="GrowthProgressIcon" type="TextureRect" parent="Root/StatsHUD/VBox/HBoxProgressBars"] +margin_right = 8.0 +margin_bottom = 8.0 +texture = ExtResource( 2 ) [node name="GrowthProgress" parent="Root/StatsHUD/VBox/HBoxProgressBars" instance=ExtResource( 4 )] -margin_right = 20.0 -margin_bottom = 4.0 +margin_left = 10.0 +margin_right = 30.0 +margin_bottom = 8.0 [node name="MarginContainer" type="MarginContainer" parent="Root"] anchor_top = 1.0 |