How to add a tutorial to the game?

Hello everyone,

I am making a game where the player moves around and saves drowning people. Now, I want to make a tutorial in my game so that the user understands what he has to achieve in the game.

For eg. In Temple Run, when we play for the first time, it tells us to swipe up to jump when we go near the obstacle and swipe left or right to turn.

So, basically, I want to do that so the player understands how to play the game. May I get a few suggestions on how to do this? I have no idea on how to do this.

Thank you very much.

Your question is too abstract to provide a concrete answer. But in general, I’ve used two kinds of approaches in the past. First is to have a tutorial scene, that you load additive over your main game’s scene. The tutorial scene will have the necessary direction arrows and text and whatever you need.

The second method is to create all the turorial objects in your main scene itself, but disable them when not needed. I personally like the first method.

Well, depending on your game and its complexity but also on the structure of your game you have to decide between two basic solutions:

You could add a seperate scene to teach people how to play. This is easy to do (since you just add a scene that behaves differently) and if you want your tutorial to be different from the rest of the game then this is what you need.

OR

You could add some UI/Scripts that get triggered when you start playing. They can either work on every run in the game or only be triggered once ever.

In the end it really depends on the game (yours seem to be better off if you use the second method). You should really come up with it on your own since things like that define your game and give it character. Some games just tell you what to do, others just throw you in, don’t tell you anything but don’t have time restrictions or other limitations in the first level.