O'Reilly logo

UnrealScript Game Programming Cookbook by Dave Voyles

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Scripting a Camera System

In this chapter, we will be covering the following recipes:

  • Configuring the engine and editor for a custom camera
  • Writing the TutorialCamera class
  • Camera properties and archetypes
  • Creating a first person camera
  • Creating a third person camera
  • Creating a side-scrolling camera
  • Creating a top-down camera

Introduction

Cameras in UDK are an essential part of gameplay. They can simultaneously be one of the most frustrating yet rewarding things to program, as once they are working correctly they can completely change a player's experience, because you control their window to the world.

So with that, let's talk about cameras.

Understanding the camera

The camera system for UDK is comprised of three key classes: Camera, Pawn, and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required