aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nGJ2019/Assets/Scenes/Tutorial.unity43
-rw-r--r--nGJ2019/Assets/Scripts/Messenger.cs2
-rw-r--r--nGJ2019/Assets/Scripts/TutorialTimer.cs25
-rw-r--r--nGJ2019/Assets/Scripts/TutorialTimer.cs.meta11
4 files changed, 81 insertions, 0 deletions
diff --git a/nGJ2019/Assets/Scenes/Tutorial.unity b/nGJ2019/Assets/Scenes/Tutorial.unity
index 667f6ab..c108b88 100644
--- a/nGJ2019/Assets/Scenes/Tutorial.unity
+++ b/nGJ2019/Assets/Scenes/Tutorial.unity
@@ -368,6 +368,49 @@ Transform:
m_Father: {fileID: 0}
m_RootOrder: 8
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!1 &1196509649
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1196509651}
+ - component: {fileID: 1196509650}
+ m_Layer: 0
+ m_Name: Tutorial
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!114 &1196509650
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1196509649}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 36e56514c4a9b4d5bae9925bf2859b10, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+--- !u!4 &1196509651
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1196509649}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 1.9315743, y: -0.9794055, z: -39.02399}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children: []
+ m_Father: {fileID: 0}
+ m_RootOrder: 10
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1342555976
GameObject:
m_ObjectHideFlags: 0
diff --git a/nGJ2019/Assets/Scripts/Messenger.cs b/nGJ2019/Assets/Scripts/Messenger.cs
index a1935fd..b26fd74 100644
--- a/nGJ2019/Assets/Scripts/Messenger.cs
+++ b/nGJ2019/Assets/Scripts/Messenger.cs
@@ -25,6 +25,8 @@ public class Messenger : MonoBehaviour
timeline.Add(43, "");
timeline.Add(55, "PRESS K TO SPLIT INTO PARTICLES AND GO THROUGH THE NET");
timeline.Add(59, "");
+ timeline.Add(62, "CONGRATULATIONS, YOU FINISHED THE TUTORIAL");
+ timeline.Add(65, "YOU CAN NOW TEST YOUR SKILL IN A REAL LEVEL");
}
timeline.OnMessageEvent += MessageOnEvent;
diff --git a/nGJ2019/Assets/Scripts/TutorialTimer.cs b/nGJ2019/Assets/Scripts/TutorialTimer.cs
new file mode 100644
index 0000000..899d45e
--- /dev/null
+++ b/nGJ2019/Assets/Scripts/TutorialTimer.cs
@@ -0,0 +1,25 @@
+using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+using UnityEngine.SceneManagement;
+
+public class TutorialTimer : MonoBehaviour
+{
+ // Start is called before the first frame update
+ void Start()
+ {
+ StartCoroutine("Timer");
+ }
+
+ // Update is called once per frame
+ void Update()
+ {
+
+ }
+
+ IEnumerator Timer()
+ {
+ yield return new WaitForSeconds(70);
+ SceneManager.LoadScene("Level1");
+ }
+}
diff --git a/nGJ2019/Assets/Scripts/TutorialTimer.cs.meta b/nGJ2019/Assets/Scripts/TutorialTimer.cs.meta
new file mode 100644
index 0000000..5d3492c
--- /dev/null
+++ b/nGJ2019/Assets/Scripts/TutorialTimer.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 36e56514c4a9b4d5bae9925bf2859b10
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant: