THE ROAD RUNNER TUTORIAL 1: SETTING UP THE WORLD

Check out the gameplay of the finished game below:


In this post we will see how to set up our game world.

Step 1:
Open Unity3d, click on Create New Project tab of the Project Wizard window. Select the path where you want to save this project and give it a name, I've named mine as RoadRunner. Keep the rest of the options as they are. Once done, click on Create.


Step 2:
You'll be greeted by a dialog box, close it once you accept the greeting and feel blessed. Well, you have no option other than to close it even if you don't feel anything, unless you love to be disturbed by the dialog box.
Go to File-> Save Scene and save your scene. Name it anything, I named mine as game.

Step 3:
Add a Directional Light to you scene by navigating to GameObject-> Create Other.

Step 4:
Add a Cube to your scene by navigating to GameObject-> Create Other. Rename it as Ground in the inspector panel. Position the Ground at (0, 0, 15). Change the scale to (10, 0.5, 50).


Step 5:
Add another cube in the same manner. Rename it as Wall. Position it at (5.5, 0.7, 15.5). Change the Rotation field of the Wall to (0, 0, 90). Scale it to (5, 1, 50).


Step 6:
Duplicate the Wall by right clicking on the Wall gameobject in the Hierarchy panel. Position it at  (-5.5, 0.7, 15.5). Change the Rotation field of the this Wall to (0, 0, 270).

Step 7:
Your scene might already have a Main Camera. Position this camera at (0, 3, -10). Change the Rotation of the camera to (25, 0, 0).

This is it for this post. In the further posts we will see how we can build up on this start.   

Download the completed version of this game from the Resources page.

The Road Runner Tutorial 2: Setting Up The World Continued
The Road Runner Tutorial 3: Adding A Character To Our Game
The Road Runner Tutorial 4: Set The Ground Moving
The Road Runner Tutorial 5: Adding Snags and Powerups to Our Game
The Road Runner Tutorial 6: Collecting The Snags and Powerups
The Road Runner Tutorial 7: Adding Gameplay Logic
The Road Runner Tutorial 8: Creating a Custom GUI Skin
The Road Runner Tutorial 9: Creating a Pause Menu
The Road Runner Tutorial 10: Adding Countdown and Main Menu
The Road Runner Tutorial 11: Adding Sound Effects To Our Game
The Road Runner Tutorial 12: Porting The Game To Android
Share on Google+

About Sujit Horakeri

Sujit Horakeri is a game freak just like any other next door guy you would come across. He is a Web Developer by Profession, Game Developer by Choice.
Connect with him on:
    Blogger
    Facebook

0 comments:

Post a Comment