Chapter 10

First-Person Shooter Game Framework

This chapter provides a framework for a first-person shooter based on a one-on-one deathmatch type combat game. The gameplay consists of a one player vs. one computer-controlled bot taking place in a level full of crates that serve as cover for the bot. Both the player and bot are respawned upon death.

This framework provides for a:

  • First-person perspective weapon view and operation
  • Custom bot controller that moves from cover to cover and attacks the player
  • Spawning a bot on a spawnpad determined at random
  • Custom HUD
  • Health Power Up
  • Mechanism to respawn dead bots and players

First the overall game framework will be discussed in both general and specific terms. This is followed by the actual hands-on ...

Get Beginning iOS 3D Unreal Games Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.