From 339af812c31c9b53b84a8ebad4eaad018f47ecdc Mon Sep 17 00:00:00 2001 From: Marth-52 Date: Thu, 14 May 2026 16:54:51 +0300 Subject: [PATCH 1/4] Scale 5 --- Assets/Scripts/EnterPoint.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/EnterPoint.cs b/Assets/Scripts/EnterPoint.cs index 6f474a574..1f0eca643 100644 --- a/Assets/Scripts/EnterPoint.cs +++ b/Assets/Scripts/EnterPoint.cs @@ -10,7 +10,7 @@ public class EnterPoint : MonoBehaviour { [SerializeField] private Settings _settings; [SerializeField] private Canvas _targetCanvas; - private float _timeScale = 1; + private float _timeScale = 5; void Start() { From 507c899bd0dd844c74b3863332f06200ec1c0dee Mon Sep 17 00:00:00 2001 From: Marth-52 Date: Thu, 14 May 2026 16:57:32 +0300 Subject: [PATCH 2/4] Prog --- Assets/Scripts/EnterPoint.cs | 2 +- .../Model/Runtime/Projectiles/ArchToTileProjectile.cs | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Assets/Scripts/EnterPoint.cs b/Assets/Scripts/EnterPoint.cs index 1f0eca643..6f474a574 100644 --- a/Assets/Scripts/EnterPoint.cs +++ b/Assets/Scripts/EnterPoint.cs @@ -10,7 +10,7 @@ public class EnterPoint : MonoBehaviour { [SerializeField] private Settings _settings; [SerializeField] private Canvas _targetCanvas; - private float _timeScale = 5; + private float _timeScale = 1; void Start() { diff --git a/Assets/Scripts/Model/Runtime/Projectiles/ArchToTileProjectile.cs b/Assets/Scripts/Model/Runtime/Projectiles/ArchToTileProjectile.cs index c37ed0218..7783c51dd 100644 --- a/Assets/Scripts/Model/Runtime/Projectiles/ArchToTileProjectile.cs +++ b/Assets/Scripts/Model/Runtime/Projectiles/ArchToTileProjectile.cs @@ -29,8 +29,10 @@ protected override void UpdateImpl(float deltaTime, float time) /////////////////////////////////////// // Insert you code here /////////////////////////////////////// - - + float maxHeight = totalDistance * 0.6f; + Debug.Log(maxHeight); + localHeight = maxHeight * (-(t * 2 - 1) * (t * 2 - 1) + 1); + Debug.Log(localHeight); /////////////////////////////////////// // End of the code to insert /////////////////////////////////////// From 3c86111e1c9237eb3eebe47828e6fb4f7513816f Mon Sep 17 00:00:00 2001 From: Marth-52 Date: Thu, 14 May 2026 16:58:24 +0300 Subject: [PATCH 3/4] Scale 5 --- .../Model/Runtime/Projectiles/ArchToTileProjectile.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Assets/Scripts/Model/Runtime/Projectiles/ArchToTileProjectile.cs b/Assets/Scripts/Model/Runtime/Projectiles/ArchToTileProjectile.cs index 7783c51dd..513310718 100644 --- a/Assets/Scripts/Model/Runtime/Projectiles/ArchToTileProjectile.cs +++ b/Assets/Scripts/Model/Runtime/Projectiles/ArchToTileProjectile.cs @@ -29,10 +29,7 @@ protected override void UpdateImpl(float deltaTime, float time) /////////////////////////////////////// // Insert you code here /////////////////////////////////////// - float maxHeight = totalDistance * 0.6f; - Debug.Log(maxHeight); - localHeight = maxHeight * (-(t * 2 - 1) * (t * 2 - 1) + 1); - Debug.Log(localHeight); + /////////////////////////////////////// // End of the code to insert /////////////////////////////////////// From ab2c1c0f456e4092a5d4c434524aae8ac894afc9 Mon Sep 17 00:00:00 2001 From: Marth-52 Date: Thu, 14 May 2026 17:02:50 +0300 Subject: [PATCH 4/4] Prog --- .../Model/Runtime/Projectiles/ArchToTileProjectile.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Assets/Scripts/Model/Runtime/Projectiles/ArchToTileProjectile.cs b/Assets/Scripts/Model/Runtime/Projectiles/ArchToTileProjectile.cs index 513310718..36fb82b21 100644 --- a/Assets/Scripts/Model/Runtime/Projectiles/ArchToTileProjectile.cs +++ b/Assets/Scripts/Model/Runtime/Projectiles/ArchToTileProjectile.cs @@ -29,11 +29,14 @@ protected override void UpdateImpl(float deltaTime, float time) /////////////////////////////////////// // Insert you code here /////////////////////////////////////// - + float maxHeight = totalDistance * 0.6f; + Debug.Log(maxHeight); + localHeight = maxHeight * (-(t * 2 - 1) * (t * 2 - 1) + 1); + Debug.Log(localHeight); /////////////////////////////////////// // End of the code to insert /////////////////////////////////////// - + Height = localHeight; if (time > StartTime + _timeToTarget) Hit(_target);