From e6beb7d4d3450c68ca5ebfae040f42dd82db1b31 Mon Sep 17 00:00:00 2001
From: David Luevano Alvarado <david@luevano.xyz>
Date: Sat, 4 Jun 2022 05:17:12 -0600
Subject: add text for points when eating food

---
 src/ui/UI.tscn                                     |  25 +++++++++------
 .../hud/progress_bars/scenes/GrowthProgress.tscn   |  12 +++----
 .../progress_bars/sprites/grow_progress_icon.png   | Bin 0 -> 152 bytes
 .../sprites/grow_progress_icon.png.import          |  35 +++++++++++++++++++++
 .../progress_bars/sprites/grow_progress_over.png   | Bin 0 -> 114 bytes
 .../sprites/grow_progress_over.png.import          |  35 +++++++++++++++++++++
 .../sprites/grow_progress_progress.png             | Bin 0 -> 104 bytes
 .../sprites/grow_progress_progress.png.import      |  35 +++++++++++++++++++++
 .../progress_bars/sprites/grow_progress_under.png  | Bin 0 -> 104 bytes
 .../sprites/grow_progress_under.png.import         |  35 +++++++++++++++++++++
 src/ui/hud/progress_bars/sprites/over.png          | Bin 111 -> 0 bytes
 src/ui/hud/progress_bars/sprites/over.png.import   |  35 ---------------------
 src/ui/hud/progress_bars/sprites/progress.png      | Bin 113 -> 0 bytes
 .../hud/progress_bars/sprites/progress.png.import  |  35 ---------------------
 src/ui/hud/progress_bars/sprites/under.png         | Bin 103 -> 0 bytes
 src/ui/hud/progress_bars/sprites/under.png.import  |  35 ---------------------
 16 files changed, 162 insertions(+), 120 deletions(-)
 create mode 100644 src/ui/hud/progress_bars/sprites/grow_progress_icon.png
 create mode 100644 src/ui/hud/progress_bars/sprites/grow_progress_icon.png.import
 create mode 100644 src/ui/hud/progress_bars/sprites/grow_progress_over.png
 create mode 100644 src/ui/hud/progress_bars/sprites/grow_progress_over.png.import
 create mode 100644 src/ui/hud/progress_bars/sprites/grow_progress_progress.png
 create mode 100644 src/ui/hud/progress_bars/sprites/grow_progress_progress.png.import
 create mode 100644 src/ui/hud/progress_bars/sprites/grow_progress_under.png
 create mode 100644 src/ui/hud/progress_bars/sprites/grow_progress_under.png.import
 delete mode 100644 src/ui/hud/progress_bars/sprites/over.png
 delete mode 100644 src/ui/hud/progress_bars/sprites/over.png.import
 delete mode 100644 src/ui/hud/progress_bars/sprites/progress.png
 delete mode 100644 src/ui/hud/progress_bars/sprites/progress.png.import
 delete mode 100644 src/ui/hud/progress_bars/sprites/under.png
 delete mode 100644 src/ui/hud/progress_bars/sprites/under.png.import

(limited to 'src/ui')

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
diff --git a/src/ui/hud/progress_bars/scenes/GrowthProgress.tscn b/src/ui/hud/progress_bars/scenes/GrowthProgress.tscn
index 0a0d9a8..a2478f1 100644
--- a/src/ui/hud/progress_bars/scenes/GrowthProgress.tscn
+++ b/src/ui/hud/progress_bars/scenes/GrowthProgress.tscn
@@ -1,12 +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/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/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 )
+texture_under = ExtResource( 2 )
+texture_over = ExtResource( 1 )
+texture_progress = ExtResource( 3 )
 script = ExtResource( 4 )
diff --git a/src/ui/hud/progress_bars/sprites/grow_progress_icon.png b/src/ui/hud/progress_bars/sprites/grow_progress_icon.png
new file mode 100644
index 0000000..0d913c5
Binary files /dev/null and b/src/ui/hud/progress_bars/sprites/grow_progress_icon.png differ
diff --git a/src/ui/hud/progress_bars/sprites/grow_progress_icon.png.import b/src/ui/hud/progress_bars/sprites/grow_progress_icon.png.import
new file mode 100644
index 0000000..8d2488f
--- /dev/null
+++ b/src/ui/hud/progress_bars/sprites/grow_progress_icon.png.import
@@ -0,0 +1,35 @@
+[remap]
+
+importer="texture"
+type="StreamTexture"
+path="res://.import/grow_progress_icon.png-3e4c84862319cfedeea45e4e79c3d47f.stex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://ui/hud/progress_bars/sprites/grow_progress_icon.png"
+dest_files=[ "res://.import/grow_progress_icon.png-3e4c84862319cfedeea45e4e79c3d47f.stex" ]
+
+[params]
+
+compress/mode=0
+compress/lossy_quality=0.7
+compress/hdr_mode=0
+compress/bptc_ldr=0
+compress/normal_map=0
+flags/repeat=0
+flags/filter=false
+flags/mipmaps=false
+flags/anisotropic=false
+flags/srgb=2
+process/fix_alpha_border=false
+process/premult_alpha=false
+process/HDR_as_SRGB=false
+process/invert_color=false
+process/normal_map_invert_y=false
+stream=false
+size_limit=0
+detect_3d=false
+svg/scale=1.0
diff --git a/src/ui/hud/progress_bars/sprites/grow_progress_over.png b/src/ui/hud/progress_bars/sprites/grow_progress_over.png
new file mode 100644
index 0000000..ef2d175
Binary files /dev/null and b/src/ui/hud/progress_bars/sprites/grow_progress_over.png differ
diff --git a/src/ui/hud/progress_bars/sprites/grow_progress_over.png.import b/src/ui/hud/progress_bars/sprites/grow_progress_over.png.import
new file mode 100644
index 0000000..f0d7eb9
--- /dev/null
+++ b/src/ui/hud/progress_bars/sprites/grow_progress_over.png.import
@@ -0,0 +1,35 @@
+[remap]
+
+importer="texture"
+type="StreamTexture"
+path="res://.import/grow_progress_over.png-6d8306b6318e040ab2863f474941ffab.stex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://ui/hud/progress_bars/sprites/grow_progress_over.png"
+dest_files=[ "res://.import/grow_progress_over.png-6d8306b6318e040ab2863f474941ffab.stex" ]
+
+[params]
+
+compress/mode=0
+compress/lossy_quality=0.7
+compress/hdr_mode=0
+compress/bptc_ldr=0
+compress/normal_map=0
+flags/repeat=0
+flags/filter=false
+flags/mipmaps=false
+flags/anisotropic=false
+flags/srgb=2
+process/fix_alpha_border=false
+process/premult_alpha=false
+process/HDR_as_SRGB=false
+process/invert_color=false
+process/normal_map_invert_y=false
+stream=false
+size_limit=0
+detect_3d=false
+svg/scale=1.0
diff --git a/src/ui/hud/progress_bars/sprites/grow_progress_progress.png b/src/ui/hud/progress_bars/sprites/grow_progress_progress.png
new file mode 100644
index 0000000..24c1a2a
Binary files /dev/null and b/src/ui/hud/progress_bars/sprites/grow_progress_progress.png differ
diff --git a/src/ui/hud/progress_bars/sprites/grow_progress_progress.png.import b/src/ui/hud/progress_bars/sprites/grow_progress_progress.png.import
new file mode 100644
index 0000000..77593c5
--- /dev/null
+++ b/src/ui/hud/progress_bars/sprites/grow_progress_progress.png.import
@@ -0,0 +1,35 @@
+[remap]
+
+importer="texture"
+type="StreamTexture"
+path="res://.import/grow_progress_progress.png-30487fff60fbbf02be101653c4371a7b.stex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://ui/hud/progress_bars/sprites/grow_progress_progress.png"
+dest_files=[ "res://.import/grow_progress_progress.png-30487fff60fbbf02be101653c4371a7b.stex" ]
+
+[params]
+
+compress/mode=0
+compress/lossy_quality=0.7
+compress/hdr_mode=0
+compress/bptc_ldr=0
+compress/normal_map=0
+flags/repeat=0
+flags/filter=false
+flags/mipmaps=false
+flags/anisotropic=false
+flags/srgb=2
+process/fix_alpha_border=false
+process/premult_alpha=false
+process/HDR_as_SRGB=false
+process/invert_color=false
+process/normal_map_invert_y=false
+stream=false
+size_limit=0
+detect_3d=false
+svg/scale=1.0
diff --git a/src/ui/hud/progress_bars/sprites/grow_progress_under.png b/src/ui/hud/progress_bars/sprites/grow_progress_under.png
new file mode 100644
index 0000000..4597575
Binary files /dev/null and b/src/ui/hud/progress_bars/sprites/grow_progress_under.png differ
diff --git a/src/ui/hud/progress_bars/sprites/grow_progress_under.png.import b/src/ui/hud/progress_bars/sprites/grow_progress_under.png.import
new file mode 100644
index 0000000..462f187
--- /dev/null
+++ b/src/ui/hud/progress_bars/sprites/grow_progress_under.png.import
@@ -0,0 +1,35 @@
+[remap]
+
+importer="texture"
+type="StreamTexture"
+path="res://.import/grow_progress_under.png-c290c9f56bc4c33b22faafc5bd944210.stex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://ui/hud/progress_bars/sprites/grow_progress_under.png"
+dest_files=[ "res://.import/grow_progress_under.png-c290c9f56bc4c33b22faafc5bd944210.stex" ]
+
+[params]
+
+compress/mode=0
+compress/lossy_quality=0.7
+compress/hdr_mode=0
+compress/bptc_ldr=0
+compress/normal_map=0
+flags/repeat=0
+flags/filter=false
+flags/mipmaps=false
+flags/anisotropic=false
+flags/srgb=2
+process/fix_alpha_border=false
+process/premult_alpha=false
+process/HDR_as_SRGB=false
+process/invert_color=false
+process/normal_map_invert_y=false
+stream=false
+size_limit=0
+detect_3d=false
+svg/scale=1.0
diff --git a/src/ui/hud/progress_bars/sprites/over.png b/src/ui/hud/progress_bars/sprites/over.png
deleted file mode 100644
index c5e102d..0000000
Binary files a/src/ui/hud/progress_bars/sprites/over.png and /dev/null differ
diff --git a/src/ui/hud/progress_bars/sprites/over.png.import b/src/ui/hud/progress_bars/sprites/over.png.import
deleted file mode 100644
index 6dab18d..0000000
--- a/src/ui/hud/progress_bars/sprites/over.png.import
+++ /dev/null
@@ -1,35 +0,0 @@
-[remap]
-
-importer="texture"
-type="StreamTexture"
-path="res://.import/over.png-0642cc73272ad1f8af9be593e496f68d.stex"
-metadata={
-"vram_texture": false
-}
-
-[deps]
-
-source_file="res://ui/hud/progress_bars/sprites/over.png"
-dest_files=[ "res://.import/over.png-0642cc73272ad1f8af9be593e496f68d.stex" ]
-
-[params]
-
-compress/mode=0
-compress/lossy_quality=0.7
-compress/hdr_mode=0
-compress/bptc_ldr=0
-compress/normal_map=0
-flags/repeat=0
-flags/filter=false
-flags/mipmaps=false
-flags/anisotropic=false
-flags/srgb=2
-process/fix_alpha_border=false
-process/premult_alpha=false
-process/HDR_as_SRGB=false
-process/invert_color=false
-process/normal_map_invert_y=false
-stream=false
-size_limit=0
-detect_3d=false
-svg/scale=1.0
diff --git a/src/ui/hud/progress_bars/sprites/progress.png b/src/ui/hud/progress_bars/sprites/progress.png
deleted file mode 100644
index 1ddfd77..0000000
Binary files a/src/ui/hud/progress_bars/sprites/progress.png and /dev/null differ
diff --git a/src/ui/hud/progress_bars/sprites/progress.png.import b/src/ui/hud/progress_bars/sprites/progress.png.import
deleted file mode 100644
index 342daaf..0000000
--- a/src/ui/hud/progress_bars/sprites/progress.png.import
+++ /dev/null
@@ -1,35 +0,0 @@
-[remap]
-
-importer="texture"
-type="StreamTexture"
-path="res://.import/progress.png-30af99e69a9aa36165f02ed64d480a2f.stex"
-metadata={
-"vram_texture": false
-}
-
-[deps]
-
-source_file="res://ui/hud/progress_bars/sprites/progress.png"
-dest_files=[ "res://.import/progress.png-30af99e69a9aa36165f02ed64d480a2f.stex" ]
-
-[params]
-
-compress/mode=0
-compress/lossy_quality=0.7
-compress/hdr_mode=0
-compress/bptc_ldr=0
-compress/normal_map=0
-flags/repeat=0
-flags/filter=false
-flags/mipmaps=false
-flags/anisotropic=false
-flags/srgb=2
-process/fix_alpha_border=false
-process/premult_alpha=false
-process/HDR_as_SRGB=false
-process/invert_color=false
-process/normal_map_invert_y=false
-stream=false
-size_limit=0
-detect_3d=false
-svg/scale=1.0
diff --git a/src/ui/hud/progress_bars/sprites/under.png b/src/ui/hud/progress_bars/sprites/under.png
deleted file mode 100644
index f31d502..0000000
Binary files a/src/ui/hud/progress_bars/sprites/under.png and /dev/null differ
diff --git a/src/ui/hud/progress_bars/sprites/under.png.import b/src/ui/hud/progress_bars/sprites/under.png.import
deleted file mode 100644
index c6f0d16..0000000
--- a/src/ui/hud/progress_bars/sprites/under.png.import
+++ /dev/null
@@ -1,35 +0,0 @@
-[remap]
-
-importer="texture"
-type="StreamTexture"
-path="res://.import/under.png-2db90a564085e100d8ec82ea8500cf5d.stex"
-metadata={
-"vram_texture": false
-}
-
-[deps]
-
-source_file="res://ui/hud/progress_bars/sprites/under.png"
-dest_files=[ "res://.import/under.png-2db90a564085e100d8ec82ea8500cf5d.stex" ]
-
-[params]
-
-compress/mode=0
-compress/lossy_quality=0.7
-compress/hdr_mode=0
-compress/bptc_ldr=0
-compress/normal_map=0
-flags/repeat=0
-flags/filter=false
-flags/mipmaps=false
-flags/anisotropic=false
-flags/srgb=2
-process/fix_alpha_border=false
-process/premult_alpha=false
-process/HDR_as_SRGB=false
-process/invert_color=false
-process/normal_map_invert_y=false
-stream=false
-size_limit=0
-detect_3d=false
-svg/scale=1.0
-- 
cgit v1.2.3-70-g09d2