I created a large room (900x1000 pixel).
The Player should scroll through the whole room
Quote
SetViewport(mouse.x ,mouse.y);
mouse.SetBounds(0, 0, 0,0);
But I can just scroll through a quarter of the room...
Since mouse co-ords will only go up to 320x240 then a quarter sounds about right. You need to add in a scaling factor...
Okay, and how can I add a scaling factor?
If I'm not mistaken the room should scroll by itself when the character gets close to the edge but if you want to scroll without moving the character then take a look at this (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=14970.0) thread