Implementing camera for 2d side scroller game ?

Posted by Mr.Gando on Game Development See other posts from Game Development or by Mr.Gando
Published on 2011-01-31T04:02:41Z Indexed on 2011/01/31 7:33 UTC
Read the original article Hit count: 419

Filed under:
|
|
|
|

Hello,

I'm implementing a 2D side scroller for iOS (using C/C++ with OpenGL) (beat'em up style like double dragon/final fight ).

My scenes are composed of one cyclical background image ( the end of the image connects perfectly with the beginning ). This is to produce a cyclical scroll effect.

I was wondering how could I implement a camera that follows my player movement ?

( Resources / Links are greatly appreciated with explanations :) )

© Game Development or respective owner

Related posts about c++

Related posts about opengl