DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: The Theory and Practice of Cameras in Side-Scrollers  (Read 7,859 times)

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 9,827
    • Participated in NANY Challenge Eight Times
    • Cody Award
The Theory and Practice of Cameras in Side-Scrollers
« on: March 12, 2016, 08:43 PM »
Here's an article that discusses in detail some of the theory and methods behind cameras in 2D games. I'd seen it quite a while ago, perhaps when it was first published last May, but I recently rediscovered it and thought it was worth sharing. What surprised me most about it is that complex camera systems in games mostly seem to come down to just a few simple (but clever) tricks, but when combined it results in quite elegant behavior.

A few years ago mouser posted about a video analyzing the camera behavior in Super Mario World. While hearing it explained while seeing the game was interesting, I found this newer article to be much more useful in seeing how things work because the areas of interest are visualized for us, like so:

marioworld_3_240b.gif

It's a fairly long article, but it goes into some really useful detail analyzing how many popular/classic games have designed their camera system to allow the player to see important information in the game.

Highly recommended.

http://gamasutra.com/blogs/ItayKeren/20150511/243083/Scroll_Back_The_Theory_and_Practice_of_Cameras_in_SideScrollers.php

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: The Theory and Practice of Cameras in Side-Scrollers
« Reply #1 on: March 12, 2016, 09:29 PM »
Very nice article.  :up:

Original address: https://www.donationcoder.com/forum/index.php?topic=42409.0