I am working on a game at the moment that has a zoom-able drag-able world map.
the way I have made it is that when say the right edge is no longer overlapping the right border , move forward +25 this works well for all edges and i can zoom within a window and it stops ok. the only problem I have is that when say the map is al the way right I cant go up and down I want to reach an edge but still slide along the edge until that stops as well I am having trouble with this , any help would be appreciated