From 3c5d537524d90993f54600bf78d043110d708b35 Mon Sep 17 00:00:00 2001 From: marcinzelent Date: Sun, 28 Apr 2019 07:25:26 +0200 Subject: Added tutorial --- nGJ2019/Assets/Scripts/Messenger.cs | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'nGJ2019/Assets/Scripts/Messenger.cs') diff --git a/nGJ2019/Assets/Scripts/Messenger.cs b/nGJ2019/Assets/Scripts/Messenger.cs index c86bcce..a1935fd 100644 --- a/nGJ2019/Assets/Scripts/Messenger.cs +++ b/nGJ2019/Assets/Scripts/Messenger.cs @@ -15,8 +15,17 @@ public class Messenger : MonoBehaviour { timeline = Spawner.GetEventTimeline(); - //timeline.Add(1, "Test"); - //timeline.Add(3, ""); + var scene = UnityEngine.SceneManagement.SceneManager.GetActiveScene(); + if (scene.name == "Tutorial") + { + timeline.Add(2, "USE WSAD KEYS OR GAMEPAD THUMB TO CONTROL THE DRAGON"); + timeline.Add(8, "AVOID OBSTACLES, YOU WILL LOSE HEALTH IF YOU HIT THEM"); + timeline.Add(31, "USE I, J, AND K KEYS TO CHANGE THE DRAGON FORM"); + timeline.Add(39, "PRESS J TO SHRINK AND FIT IN THE NARROW PASSAGE AHEAD"); + timeline.Add(43, ""); + timeline.Add(55, "PRESS K TO SPLIT INTO PARTICLES AND GO THROUGH THE NET"); + timeline.Add(59, ""); + } timeline.OnMessageEvent += MessageOnEvent; } -- cgit v1.2.3