Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Building an FPS Game with Unity

You're reading from  Building an FPS Game with Unity

Product type Book
Published in Oct 2015
Publisher
ISBN-13 9781782174806
Pages 326 pages
Edition 1st Edition
Languages

Table of Contents (18) Chapters

Building an FPS Game with Unity
Credits
Foreword
About the Author
Acknowledgment
About the Reviewers
www.PacktPub.com
Preface
1. Getting Started on an FPS 2. Building Custom Weapons 3. Prototyping Levels with Prototype 4. Creating Exterior Environments 5. Building Encounters 6. Breathing Life into Levels 7. Adding Polish with ProBuilder 8. Creating a Custom GUI 9. Finalizing Our Project Index

Adding water


We created the lower section of our gameplay area to be at the water level or where the water would be. This can be a useful tool as a level designer to designate places where players can't go to if they can't swim. Thankfully, it's also quite easy to add to our level and, due to it being included in Unity, we won't need to go to the Asset Store to get it.

  1. Go to Assets | Import Package | Environment and wait for it to load all of the objects it has. Once the entire package loads, we only want the basic water materials. First click on the None button at the bottom, shrink all of the folders, expand Standard Assets folder, and then check the Water folder. After you've done all of this, click on the Import button.

    During the import process, keep in mind that sometimes it may seem like Unity is frozen if the game is still running.

  2. Next go to the Standard Assets/Environment/Water/Water/Prefabs folder to drag and drop the WaterProDaytime prefab into the scene.

  3. Once in the scene, change...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}