Boundaries gap in a zoomable 2d map
I’m rendering an interactive 2d map with pygame.
My idea is to exract the coordinates of each regions from a png and use them to scroll and zoom with the following algorithm:
I’m rendering an interactive 2d map with pygame.
My idea is to exract the coordinates of each regions from a png and use them to scroll and zoom with the following algorithm: