Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Building an FPS Game with Unity
  • Table Of Contents Toc
Building an FPS Game with Unity

Building an FPS Game with Unity

By : John P. Doran, jamal seaton
3.9 (10)
close
close
Building an FPS Game with Unity

Building an FPS Game with Unity

3.9 (10)
By: John P. Doran, jamal seaton

Overview of this book

Unity, available in free and pro versions, is one of the most popular third-party game engines available. It is a cross-platform game engine, making it easy to write your game once and then port it to PC, consoles, and even the web, making it a great choice for both indie and AAA developers. Building an FPS Game in Unity takes readers on an exploration of how to use Unity to create a 3D first person shooter (FPS) title, leveraging the powerful UFPS framework by VisionPunk and Prototype/ProBuilder 2.0 by ProCore3D. After some setting up, you will start by learning how to create custom weapons, prototype levels, create exterior and interior environments, and breathe life into our levels. We will then add polish to the levels. Finally, we will create a custom GUI and menus for our title to create a complete package.
Table of Contents (11 chapters)
close
close
10
Index

Adding a simple turret enemy


To start off with, UFPS already comes built in with an example enemy that we can work with, that is, a turret that will fire at a player if they get too close. More importantly, the turret is an example of how to damage a player, as well as how the player can damage objects. This will be quite useful once we create enemies. Let's take a look at how it's used in an example level:

  1. From the Project tab, go to the UFPS/Base/Content/Levels/SkyCity folder and then-double click on the UFPS_SkyCity.unity file to open it.

    If you haven't gotten a chance to play this demo map yet, give it a try so that you're more familiar with the stuff that we will be talking about.

    Note

    Notice that in certain areas, there will be security cameras on the walls and ceiling that will fire at you if you come close to them in their range. These are the first things that we are going to look into.

  2. The turrets that show up in this level are named SecurityGun. So, with this information, we can go...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Building an FPS Game with Unity
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon