I'm having an issue with using transformations to achieve a scrolling camera effect. I've just started learning about transformations today and I'm having trouble understanding some of the documentation on them.
I'll start by saying what it is I'm drawing:
1st I draw: my map.
2nd: my character.
NOTE: (I'm doing all of my "transform" related stuff in my "update" area. after looking around it appears as if people like to put their transform related stuff in their render section. Which is more correct?)
The problem is when i move my character to the lower left hand corner of the screen, rather than my map being there, (which is 3200 x 3200 pixels and my display is only 800 x 600) all i see is a black abyss past that 800 x 600 point.
window width = 800;
window height = 600;
Pixels after 800 and after 600 are longer my map but rather a black non-drawn section. (Note: my character still gets drawn in this section just my map doesn't)
Any ideas? I'm still new to transforms so I'm sure I've missed something.
Ill post some of my code if needed.