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

Building a doorway


As awesome as it is to have a room, our levels are actually going to be much larger than this. Let's open an opening to the rest of the levels by creating a doorway.

Now, if we had ProBuilder, we could use the subdivide tool and modify the faces to open up a doorway. But in our case, we will rebuild our room, taking the door into consideration:

  1. Let's go ahead and delete our floor/walls object and move our original ceiling back down to 0, 0, 0.

  2. Let's press Ctrl + K to spawn a new brick and bring it into our scene. Move it so that it snaps to the edge of our room, making sure that the Prototype subselection is turned off before the movement.

  3. In the Prototype tab, switch back to the Element/Geometry mode and select the face nearest to you. Move it so that it is 3 units wide, leaving room for our doorway in the center. Hold down Ctrl while you do so for it to be even.

  4. Hold down the Shift key to extrude and pull it forward a bit. Then, hold down Ctrl to start snapping again and...

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}