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 :) )