Camera and map movement

Feb 21, 2013 at 9:11 AM
I'm trying to work out how to move the map, i have tryied making a camera with this tutorial, but that does not move the map, is there any way to make these two compatable or just to move the map in another way

Feb 21, 2013 at 10:58 AM
The Map object's two Draw method overrides accept a viewport parameter of type Rectangle . This defines the view into the map to be rendered and acts very much like a camera object for a 2D environment. It is however limited to only allow translations (panning around) and not rotation of the camera itself.
Feb 21, 2013 at 10:49 PM
I am a totall noob, could you show me an example :)
Feb 22, 2013 at 7:52 AM
Search for the keyword "viewport" in the discussion forum. There are plenty of examples!