Hello everyone!
I create a map storing some tiles in an array. The effect i want to achive is that when the display edge achives any border of the map, the tiles from opposite side start rendering next to the border (some sort of infinity in a big map). The problem is that i don’t know how to do this so that when the display passes the upper edge and the left edge in same time, the “corner” beween renders. Also, how should i iterate trough the array to have less CPU cost?
The zone marked with “???” is the “corner”.
Can anyone point me any idea?