From 31f842e2806b3e449fc15cab36818a2de0f17ab4 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 9 Jan 2023 02:05:14 +0100 Subject: [PATCH] Add a small constant to the scale factor --- island/CropTile.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/island/CropTile.gd b/island/CropTile.gd index d8ab9d3..0297a04 100644 --- a/island/CropTile.gd +++ b/island/CropTile.gd @@ -39,7 +39,7 @@ func complete(): func _process(_delta): var scale_factor = 0 if not growth_timer.is_stopped(): - scale_factor = 1 - (growth_timer.time_left / growth_timer.wait_time) + scale_factor = 0.10 + 0.90 * (1 - growth_timer.time_left / growth_timer.wait_time) sprout_mesh.scale = Vector3(scale_factor, scale_factor, scale_factor)