Game Development Reference
In-Depth Information
Mission Checklist
First, we need the chapter 5 project package, which will include the character model with
a gun from the Unity FPS tutorial website, and all the necessary assets for this chapter.
So, let's browse to http://www.packtpub.com/support?nid=8267 and download
Chapter5.zip package. Unzip it and we will see Chapter5.unitypackage , and we are ready.
Setting up the character with the
first-person controller prefab
In the irst secion of this chapter, we will make all the necessary seings before we create
our character on the scene. We will set up the imported assets and make sure that all the
assets are imported in the proper way and are ready to use by using the Import Package
in the Project view inside Unity. Then, we will set the light, level, camera, and put our
character in the scene with the first-person controller prefab.
We will import the Chapter5.unitypackage package to Unity, which contains the
Chapter5 folder. Inside this folder, we will see five subfolders, which are Fonts , Level ,
Robot Artwork , Rocket , and UI . The Fonts folder will contain the Font file, which will
be used by the GUI. The Level folder will contain the simple level prefab, its textures, and
materials that we used in Chapter 3 , The Hero/Heroine Part I - Models and Shaders , and
Chapter 4 , The Hero/Heroine Part II - Animaion and Controls . Robot Artwork is the folder
that includes the character FBX model, materials, and textures, which can be taken from the
Unity FPS tutorial. The Rocket folder contains the rocket and rocket launcher FBX models,
materials, and textures, which can be taken from the Unity FPS tutorial. Finally, the UI folder
includes all the images, which we will use to create the GUI .
Prepare for Lift Off
In this secion, we will begin by imporing the chapter 5 Unity package, checking all
the assets, seing up the level, and adding the character to the scene with the FPS
controller script.
 
Search WWH ::




Custom Search