Time for action – Building a game world

There are a number of sites that we can reach out to to get assets for the game, but as of Unity 3.1 there has been an integrated store through which you can acquire assets for your project. This interface is so easy to use that it's worth examining for building our level. While we won't find everything here, this is a good start.

One word of advice is that sometimes assets within the Asset Store can be purchased cheaper through other means so be sure to shop around.

Unity Asset Store

The Unity Asset Store is a tool built right into the Unity environment through which you can purchase prefab and integrate them right into your project without ever having to leave the tool. The prefabs in the asset store cover models, scripts, and even functionality that will plug into the Unity IDE itself.

  1. Open the store by selecting Asset Store in the Window menu:
    Unity Asset Store
  2. Authenticate with the Asset Store by creating an account if you have not already done so:
    Unity Asset Store
  3. Next, you will be greeted by the main menu of the store where you can shop for various types of Unity compatible assets, sounds, prefabs, scripts, and so on:
    Unity Asset Store
  4. Create the ground plane for our scene with Game Object | Create Other | Plane.
  5. Insert a light into the scene with Game Object | Create Other | Point Light.
  6. In the Unity Asset Store window enter Allegorithmic and select the 18 FREE Substances package:
    Unity Asset Store
  7. Download the package and import the assets into the project:
    Unity Asset Store
  8. Expand the Substances_Free directory in your project.
  9. Expand the Desert_Sand_01 package.
  10. Drag the Desert_Sand_01 material onto the plane:
    Unity Asset Store
  11. Enter Soldiers Pack into the search area:
    Unity Asset Store
  12. Import the Soldiers Pack by TheAvatarStudioi into the project:
    Unity Asset Store
  13. Expand the SoldiersPack folder in the Project view.
  14. Expand the ArmyOne folder located beneath SoldiersPack.
  15. Drag the Army 01 prefab object to the scene:
    Unity Asset Store
  16. Enter Stone into the search field:
    Unity Asset Store
  17. Import the Stone assets from the Universal Image into the project.
  18. Expand the Stone folder in the project.
  19. Drag the stone prefab into the scene.
  20. Scale the Stone prefab by 10 units along each axis:
    Unity Asset Store
  21. Position the enlarged stones in the scene to make some basic scenery:
    Unity Asset Store
  22. Save the scene.

What just happened?

We have laid out the stage where all the action will take place in our game by importing assets from the Asset Store. While we have some basic animation ready for actors in the scene, we don't have a player character that can be controlled by the player. What we are missing are actors to participate in the game. We need to build a controller for our player character that will work with our game design.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.188.80.123