Game Development Reference
In-Depth Information
Chapter 2
Getting Started
In this chapter, we'll start developing the FPS game, Crazy Mad Office Dude (CMOD), from the very
beginning. This involves a wide breadth of steps; specifically, creating a new Unity project, importing
and configuring assets, building Prefabs and levels from modular environment pieces, building
lighting and lightmapping, and configuring a NavMesh for pathfinding. By the end of this chapter,
we'll end up with a complete Unity project that's entirely prepared and ready for C# scripting. This
project is also included in the topic companion files, in case you want to skip this chapter and
concentrate just on C# coding, which begins in the next chapter. But I recommend working through
this chapter, too—because it features plenty of helpful tips and advice for Unity projects in general.
This chapter makes use of assets included in the topic companion files, in Chapter2/AssetsToImport .
So let's fire up Unity, get the project files ready, and get started!
Step 1: Create Folders
Once you've created a new and empty Unity project, start thinking about project organization. Make
organization a priority—it can save you time. Create your project folders first so you can quickly
arrange and categorize the assets you import right from the outset. For this project, the following
folders will be required: Animation , Audio , Editor , Materials , Meshes , Prefab , Scenes , Scripts , and
Textures (see Figure 2-1 ). Once created, be sure to save the autogenerated default scene ( Level_01 )
inside the Scenes folder of the project, and from that point forward, save your work regularly using
the keyboard shortcut Ctrl+S on Windows or Cmd+S on a Mac.
37
 
Search WWH ::




Custom Search