THE ROAD RUNNER TUTORIAL 2: SETTING UP THE WORLD CONTINUED

Check out the gameplay of the finished game below:



In this post we will see continue setting up our game world.

Step 1:

In the Project panel, create a new folder by right clicking on Assets and navigating to Create->Folder. Name it as Materials.

Step 2:

Create a Material by right clicking on Materials folder and navigating to Create->Material. Name it as GroundMaterial. Click on this newly created material and you will see something like the image below in the Inspector panel.


Step 3:

Create a new folder called Images by procedure as in step 3. Download the image below and copy it to the newly created folder.


Step 4:

Select the material which was created in Step 2, and in the Inspector panel, click on Select, to give a Texture to the GroundMaterial, and select the image that you downloaded in Step 3.
(Note: You can choose any image of your choice)

Step 5:

Now, add this material to Ground in Hierarchy panel by simply dragging and dropping the GroundMaterial from the Materials folder.
Once done with this you will notice that your Ground has a nice Texture to it.

Step 6: 

In a similar manner create materials, for the walls that you have created in the last post, and add it to them.
You can add the below image as a texture to the walls.


When you are done with all these, you will notice that we have our game world set up something like the image below



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

The Road Runner Tutorial 1: Setting Up The World
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

8 comments:

  1. how to add image as texture thanks for advance

    ReplyDelete
  2. I cant see the image of the ground what should i do?

    ReplyDelete
  3. the option of dragging the material to a ground hirarchy isn't acceptable what should i do???

    ReplyDelete
  4. the option of dragging the material to a ground hirarchy isn't acceptable what should i do???

    ReplyDelete
  5. i didnt find the image for ground

    ReplyDelete
  6. shall i get the complete project file

    ReplyDelete
  7. the image of character corrupted. pls reupload. thanks u for good tut XD

    ReplyDelete