Game Development Reference
In-Depth Information
So, you've seen how easy it is to build a labyrinth. In this example, we have proposed one
way of doing it. Why not create two possible routes in your game to be at the same place?
This will make it much more interesing! As not all players choose the same way to make the
character move, if you create muliple possible soluions, the game wins in visual richness
and alternaives.
Find a suitable site in your game and create two or three possibiliies to trap the character
and make it retrace its steps. In a maze, everyone knows what might happen if you take a
chance. At this level of your game, make a maze full of possibiliies.
Creating a player view
You may not realize it, but you created a map level recently when you finished the previous
exercise. The only way to create a new map is to modify what we have done before. But first,
we suggest you get a name to our scene. How do we do that? Let's see this and more. From
here on, we will start creaing new cameras, new scenes, and of course, new layers that
overlay it.
Time for action - renaming the scene
The first thing to make clear is that the 3D Viewport Right view leaves us with a complete
vision of our labyrinth, right? This view must be the map view, and we need to add a closer
look to follow our player.
We will create a new camera, which will only show a part of our labyrinth, and move the
whale. The camera too should move at the same ime.
1. Split in two views, the 3D view would look similar to the following screenshot.
Drag it from the upper-right corner of the window to the left, and you will have
two areas. The left area is for 3D Viewport , called the Right view, and we modify
the right area for a view of the camera (key 0 ):
 
Search Nedrilad ::




Custom Search