I know that its just the background that scrolls and the player pretty much stays centered. What I am wondering what technique is more correct when I am implementing a large side scrolling map (I am not using tiles like some other questions I have found).
using a very large map 16000 pixels map, and scrolling that. and create an image list, with maybe 4 4000 pixel maps?
also, lets say I want a box at a certain point in my map. Right now I am just counting the pixels that I am scrolling and once I get to pixel 2000 I insert the box, and scroll it with the background. Does that seem correct? or is there a better way to do all of this?
If you aren't very comfortable with linear algebra, stay with the pixels (or go to http://www.khanacademy.org/ and learn it)
– Fabian Apr 01 '11 at 20:48