更新时间:2021-07-09 21:10:13
coverpage
Building an FPS Game with Unity
Credits
Foreword
About the Author
Acknowledgment
About the Reviewers
www.PacktPub.com
Support files eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Chapter 1. Getting Started on an FPS
Prerequisites
Project creation
Getting started with the Asset Store
Installing Prototype
File organization
Customizing Unity's layout
Summary
Chapter 2. Building Custom Weapons
Setting up a testbed
Getting models/sounds for weapons
Building our weapon – the mesh
Creating a UnitBank
Creating the weapon
Customizing our weapon's properties
Chapter 3. Prototyping Levels with Prototype
Creating geometry
Building a doorway
Duplicating rooms / creating a hallway
Preventing falls - collision
Adding stairways
Coloring your world
Chapter 4. Creating Exterior Environments
Introduction to Terrain
Creating the Terrain
Adding color to our Terrain – textures
Adding water
Adding trees
Adding details – grass
Building the atmosphere – Skyboxes and Fog
Chapter 5. Building Encounters
Adding a simple turret enemy
Integrating an AI system – RAIN
Integrating an AI system – Shooter AI
Spawning enemies with the help of a trigger
Spawning multiple enemies at once
Cleaning up dead AI
Placing healthpacks/ammo
Chapter 6. Breathing Life into Levels
Building an explosive barrel
Using triggers for doors
Creating an elevator
Chapter 7. Adding Polish with ProBuilder
Upgrading from Prototype to ProBuilder
Creating material
Working with ProBuilder – placing materials
Meshing your levels
Chapter 8. Creating a Custom GUI
Creating a main menu: part 1 – adding text
Creating a main menu: part 2 – adding buttons
Creating a main menu: part 3 – button functionality
Replacing the default UFPS HUD
Chapter 9. Finalizing Our Project
Building the game in Unity
Building an installer for Windows
Index