From c2d39e5bfa1dbf8f522aeb8918e9f3e611ccfe21 Mon Sep 17 00:00:00 2001 From: marcinzelent Date: Sun, 28 Apr 2019 05:01:33 +0200 Subject: Fixed problems related to meta files --- nGJ2019/Assets/Scripts/TitleScreen.cs.meta | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 nGJ2019/Assets/Scripts/TitleScreen.cs.meta (limited to 'nGJ2019/Assets/Scripts') diff --git a/nGJ2019/Assets/Scripts/TitleScreen.cs.meta b/nGJ2019/Assets/Scripts/TitleScreen.cs.meta new file mode 100644 index 0000000..8b15597 --- /dev/null +++ b/nGJ2019/Assets/Scripts/TitleScreen.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: a33c115845f094d1ea23a02866431be0 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: -- cgit v1.2.3 From 4e3a0fc7dc6e32d90168705f7ce4355fcf40cee7 Mon Sep 17 00:00:00 2001 From: marcinzelent Date: Sun, 28 Apr 2019 05:01:50 +0200 Subject: Populated level 1 traps --- nGJ2019/Assets/Scripts/ObstacleSpawner.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'nGJ2019/Assets/Scripts') diff --git a/nGJ2019/Assets/Scripts/ObstacleSpawner.cs b/nGJ2019/Assets/Scripts/ObstacleSpawner.cs index 3c09e6f..931a96b 100644 --- a/nGJ2019/Assets/Scripts/ObstacleSpawner.cs +++ b/nGJ2019/Assets/Scripts/ObstacleSpawner.cs @@ -56,6 +56,18 @@ public class ObstacleSpawner : MonoBehaviour timeline.Add(i * 12.5f + 15f, new Vector3(0, 0.5f, 3), ObstacleType.net); } } + else if (scene.name == "Level1") + { + for (int i = 0; i < 1000; i++) + { + 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 + 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); + } + } timeline.OnSpawnEvent += spawnOnEvent; } -- cgit v1.2.3