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 stairways


One of the benefits of creating a 3D game is that we can have a vertical element to play, adding in areas for players to snipe or high ground that players would intuitively go to. To help players traverse in these areas, we can use stairways. However, instead of creating the brush from scratch, we can use another tool of Prototype, Shape Tool.

  1. In the Prototype tab, click on the Shape button to bring up the Shape Tool dialog box.

    This menu will allow us to create some commonly used objects in games that we can use to make the building process much simpler.

  2. In the Shape Tool dialog, select the Shape Selector dropdown and then select Stair. Change the Width value to 5 and click on Build Stair.

  3. After this, click on X to close Shape Tool and move the stairs to face the first room.

  4. Next, raise the other room to fit the stairs and extend the colliders to fit our newly added ground.

  5. Next, switch back to the Top Level Editing mode and move the colliders 1 unit away on both sides.

  6. Then,...

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}