I’m building an interactive tutorial for my RTS game at the moment. The first foundation of a Tutorial is done, shown below:
using UnityEngine;
using System.Collections;
namespace Tutorial {
public class TutorialManager : MonoBehaviour {
public TutorialInputManager inputManager;
public TutorialSelection selectionManager;
public int stateCounter;
// Use this for initialization
void Start() {
this.stateCounter = 0;
selectionManager.selectionTutorialFlag = false;
inputManager.selectionTutorialFlag = false;
inputManager.moveOrderTutorialFlag = false;
inputManager.attackOrderTutorialFlag = false;
inputManager.splitTutorialFlag = false;
inputManager.mergeTutorialFlag = false;
}
void OnGUI() {
switch (this.stateCounter) {
default:
case 0:
break;
case 1:
selectionManager.selectionTutorialFlag = true;
break;
case 2:
selectionManager.selectionTutorialFlag = true;
inputManager.selectionTutorialFlag = true;
break;
case 3:
selectionManager.selectionTutorialFlag = true;
inputManager.selectionTutorialFlag = true;
inputManager.moveOrderTutorialFlag = true;
break;
case 4:
selectionManager.selectionTutorialFlag = true;
inputManager.selectionTutorialFlag = true;
inputManager.moveOrderTutorialFlag = true;
inputManager.attackOrderTutorialFlag = true;
break;
case 5:
selectionManager.selectionTutorialFlag = true;
inputManager.selectionTutorialFlag = true;
inputManager.moveOrderTutorialFlag = true;
inputManager.attackOrderTutorialFlag = true;
inputManager.splitTutorialFlag = true;
break;
case 6:
selectionManager.selectionTutorialFlag = true;
inputManager.selectionTutorialFlag = true;
inputManager.moveOrderTutorialFlag = true;
inputManager.attackOrderTutorialFlag = true;
inputManager.splitTutorialFlag = true;
inputManager.mergeTutorialFlag = true;
break;
}
}
}
}
These are just Boolean flags that I placed everywhere where I need to introduce functionality to the players who are playing the tutorial. When the flag is set to true, the game will then allow the players to use the functions. (For example: If “moveOrderTutorialFlag” is set to true, game will allow the players to use the “Move” command on the units.)
But this is just a foundation I have in mind programmatically.
I don’t know how to do the tutorial in a visual way. The one hint I know of from gathering feedback from my professor is that “Games that tells the players what to do, do not convey well to the players through text.” and that my game is full of short written texts that the player is very much inclined to ignore.
Any tips on how to go about on this? Thanks in advance.