From 36874a535a3d5f7f2955f33e34aa1a4768b6fec1 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Sat, 4 Jun 2022 03:17:22 -0600 Subject: added hud for snake size and grow progress --- src/ui/hud/progress_bars/scenes/GrowthProgress.tscn | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/ui/hud/progress_bars/scenes/GrowthProgress.tscn (limited to 'src/ui/hud/progress_bars/scenes') diff --git a/src/ui/hud/progress_bars/scenes/GrowthProgress.tscn b/src/ui/hud/progress_bars/scenes/GrowthProgress.tscn new file mode 100644 index 0000000..0a0d9a8 --- /dev/null +++ b/src/ui/hud/progress_bars/scenes/GrowthProgress.tscn @@ -0,0 +1,12 @@ +[gd_scene load_steps=5 format=2] + +[ext_resource path="res://ui/hud/progress_bars/sprites/progress.png" type="Texture" id=1] +[ext_resource path="res://ui/hud/progress_bars/sprites/over.png" type="Texture" id=2] +[ext_resource path="res://ui/hud/progress_bars/sprites/under.png" type="Texture" id=3] +[ext_resource path="res://ui/hud/progress_bars/scripts/growth_progress.gd" type="Script" id=4] + +[node name="GrowthProgress" type="TextureProgress"] +texture_under = ExtResource( 3 ) +texture_over = ExtResource( 2 ) +texture_progress = ExtResource( 1 ) +script = ExtResource( 4 ) -- cgit v1.2.3-70-g09d2