[Question] How do i implement Edge Scrolling?
Posted: Fri Nov 20, 2015 4:48 pm
Hi
I am trying to implement an rts style camera. when the mouse cursor is moved to the edge of the screen, i want to move the map.
Currently i am using the HUMP libs to move the map.
How do i recognize that the mouse is at the screen edges?
I am trying to implement an rts style camera. when the mouse cursor is moved to the edge of the screen, i want to move the map.
Currently i am using the HUMP libs to move the map.
How do i recognize that the mouse is at the screen edges?