Quote:
|
Originally Posted by Yen
Levels are 64x64 tiles. The 64th tile is valid, so % 65 will begin at 0,0 of your current level.
|
Coordinates start at 0,0, not 1,1. From the origin, the 64th tile would be at coordinate 63. The first tile on the next level would be at coordinate 64. If you mod this value by 65 you aren't ensuring
anything about the current level.