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

Creating a side-scrolling camera

Side-scrolling games have been a hit for decades, and some of gaming's largest franchises have taken advantage of it. While we don't often see games using UDK take advantage of the side-scrolling perspective, one high profile title published by Epic, Shadow Complex certainly did, although with a bit more of a pulled back, Metroidvania style about it. For those not familiar with the term Metroidvania, it is a 2D side-scroller style of game with an emphasis on a non-linear, exploratory action-adventure structure; it inherits its name from the Metroid and Castlevaniaseries.

We'll be hardcoding our values again. Much of what you'll see next is similar to the code found in the third person camera code.

We'll also have ...

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