So I can make a transparent sprite that the viewport always scrolls to and make some sprites on the edge of my project top, left, bottom, right that make the center sprite scroll too +/- 10 lets say and it works OK. But can someone point me in a direction of what function I should be using to make this more fluid? The current thing I'm using - on cursor over the "side" sprites is sluggish and probably wont work on every screen possibility.
How can I detect the mouse hitting the screen edge and then scroll in that direction? Preferably at the angle its hitting. So 45 at corners and 90 in the dead center + all the iterations in between.
Note I'm thinking the functionality seen in StarCraft and Civ - lots of games have this but I', not happy with my above mentioned solution.
Don't waste time please just send me to the function I should be using VS sprite collision :)