I want to create a seamless map scrolling system, for level selecting in a game.
Here is an example of a seamless map:
What I want to accomplish is the following:
User swipes the map in any direction, the viewport scrolls in that direction using Scroll To
The map/viewport should wrap, giving the impression that the map wraps around, it should be smooth, not just snap to the opposite side
There will be icons on the map, which will be clickable.
Here is a CAPX, with the map texture and a few buttons on the map, you can click and drag the map.
https://www.xgamedev.com/zips/seamlessmap.zip
Anyone know how to do this?
Thanks