aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcinzelent <zelent.marcin@gmail.com>2019-04-28 10:56:35 +0200
committermarcinzelent <zelent.marcin@gmail.com>2019-04-28 10:56:35 +0200
commit5799920c430c0258d4a6d423ac9b6b8b6e79f3c6 (patch)
tree523811bfc6a4c053073c7bd2e63e45cc8d22d671 /nGJ2019/Assets/Scripts/ObstacleSpawner.cs
parent5b100607672e927b2543b1f54dc97897c8969fe1 (diff)
Updated rock bottom and top obstacles
Diffstat (limited to 'nGJ2019/Assets/Scripts/ObstacleSpawner.cs')
-rw-r--r--nGJ2019/Assets/Scripts/ObstacleSpawner.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/nGJ2019/Assets/Scripts/ObstacleSpawner.cs b/nGJ2019/Assets/Scripts/ObstacleSpawner.cs
index 84bc0d9..b1614b3 100644
--- a/nGJ2019/Assets/Scripts/ObstacleSpawner.cs
+++ b/nGJ2019/Assets/Scripts/ObstacleSpawner.cs
@@ -51,7 +51,7 @@ public class ObstacleSpawner : MonoBehaviour
{
timeline.Add(i * 2.5f, new Vector3(0, 0, 0), ObstacleType.caveWalls);
timeline.Add(i * 12.5f + 3, new Vector3(0, 2.75f, 0), ObstacleType.rockTop);
- timeline.Add(i * 12.5f + 6, new Vector3(0, -2, 0), ObstacleType.rockBottom);
+ timeline.Add(i * 12.5f + 6, new Vector3(0, 1, 0), ObstacleType.rockBottom);
timeline.Add(i * 12.5f + 9, new Vector3(0, 0, 0), ObstacleType.narrowPassage);
timeline.Add(i * 12.5f + 12.5f, new Vector3(0, -2.5f, 2), ObstacleType.rockJaws);
timeline.Add(i * 12.5f + 15f, new Vector3(0, 0.5f, 3), ObstacleType.net);
@@ -63,9 +63,9 @@ public class ObstacleSpawner : MonoBehaviour
timeline.Add(i * 2.5f, new Vector3(0, 0, 0), ObstacleType.caveWalls);
timeline.Add(10, new Vector3(0, 2.75f, 0), ObstacleType.rockTop);
- timeline.Add(15, new Vector3(0, -2, 0), ObstacleType.rockBottom);
+ timeline.Add(15, new Vector3(0, 1, 0), ObstacleType.rockBottom);
timeline.Add(20, new Vector3(0, 2.75f, 0), ObstacleType.rockTop);
- timeline.Add(23, new Vector3(0, -2, 0), ObstacleType.rockBottom);
+ timeline.Add(23, new Vector3(0, 1, 0), ObstacleType.rockBottom);
timeline.Add(26, new Vector3(0, 2.75f, 0), ObstacleType.rockTop);
timeline.Add(40, new Vector3(0, 0, 0), ObstacleType.narrowPassage);
@@ -89,7 +89,7 @@ public class ObstacleSpawner : MonoBehaviour
position = new Vector3(0, 2.75f, 0);
break;
case ObstacleType.rockBottom:
- position = new Vector3(0, -2, 0);
+ position = new Vector3(0, 1, 0);
break;
case ObstacleType.rockJaws:
position = new Vector3(0, -2.5f, 2);