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

Coloring your world


This is looking good. We've got a nice foundation to build upon, but it's pretty barren. We can't use textures yet, as it's a ProBuilder-only tool. But we can apply colors to our walls to help differentiate the areas. Let's see how we can do this now.

  1. Go back to our first room and select the top section of our doorway walls. Then, click on the Vertex Colors button from the Prototype tab.

    This will bring up an example number of colors, but we can customize them by clicking on the bottom section.

  2. Now, with the faces selected, click on the blue button.

  3. With this, we have some color. Let's add some color to the other room from the outside. Select the sides and top of the room and click on the red button.

  4. Then, do the same to the other sides for both of the changes we made.

  5. Save the level and start the game.

There, we have it! This was a simple example; as you build your levels in the future, this can be a good way to help players mark certain areas or help break issues with only...

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 €14.99/month. Cancel anytime}