Game Development Reference
In-Depth Information
Adding a tutorial to our game
Let's face it. With the possible exception of
Air Hockey
, every game so far in this topic
could benefit from a tutorial, or a "how to play" section. With
Victorian Rush Hour
, I'm go-
ing to show you a quick way to implement one.
The unspoken rule of game tutorials is—make it playable. And that's what we'll attempt to
do here.
We'll create a game state for our tutorial, and we'll add a
Label
object to our stage and
make it invisible unless the tutorial state is on. We'll use the
Label
object to display our
tutorial text, as shown in the image here:
Let's go over the steps necessary to create our game tutorial.