From 14538d486de312af41ce012836861468b8fb7897 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Sun, 5 Jun 2022 14:09:41 -0600 Subject: finish all necessary for playability --- .../hud/progress_bars/scenes/GrowthProgress.tscn | 24 ++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) (limited to 'src/ui/hud/progress_bars/scenes/GrowthProgress.tscn') diff --git a/src/ui/hud/progress_bars/scenes/GrowthProgress.tscn b/src/ui/hud/progress_bars/scenes/GrowthProgress.tscn index a2478f1..624d05e 100644 --- a/src/ui/hud/progress_bars/scenes/GrowthProgress.tscn +++ b/src/ui/hud/progress_bars/scenes/GrowthProgress.tscn @@ -1,12 +1,24 @@ -[gd_scene load_steps=5 format=2] +[gd_scene load_steps=6 format=2] -[ext_resource path="res://ui/hud/progress_bars/sprites/grow_progress_over.png" type="Texture" id=1] -[ext_resource path="res://ui/hud/progress_bars/sprites/grow_progress_under.png" type="Texture" id=2] -[ext_resource path="res://ui/hud/progress_bars/sprites/grow_progress_progress.png" type="Texture" id=3] +[ext_resource path="res://ui/hud/progress_bars/sprites/grow/grow_progress_over.png" type="Texture" id=1] +[ext_resource path="res://ui/hud/progress_bars/sprites/grow/grow_progress_under.png" type="Texture" id=2] +[ext_resource path="res://ui/hud/progress_bars/sprites/grow/grow_progress_progress.png" type="Texture" id=3] [ext_resource path="res://ui/hud/progress_bars/scripts/growth_progress.gd" type="Script" id=4] +[ext_resource path="res://ui/hud/progress_bars/sprites/grow/grow_progress_icon.png" type="Texture" id=5] -[node name="GrowthProgress" type="TextureProgress"] +[node name="GrowthProgress" type="HBoxContainer"] +custom_constants/separation = 2 +script = ExtResource( 4 ) + +[node name="Icon" type="TextureRect" parent="."] +margin_right = 8.0 +margin_bottom = 8.0 +texture = ExtResource( 5 ) + +[node name="Progress" type="TextureProgress" parent="."] +margin_left = 10.0 +margin_right = 30.0 +margin_bottom = 8.0 texture_under = ExtResource( 2 ) texture_over = ExtResource( 1 ) texture_progress = ExtResource( 3 ) -script = ExtResource( 4 ) -- cgit v1.2.3