Template:Fragoria Map

From FragoriaWiki

(Difference between revisions)
Jump to: navigation, search
Line 55: Line 55:
         // repeat across y-axis (vertically)
         // repeat across y-axis (vertically)
         if (y < 0 || y >= tileRange) {
         if (y < 0 || y >= tileRange) {
-
      var y = ((coord.y % numTiles) + numTiles) % numTiles;
+
          y = (y % tileRange + tileRange) % tileRange;
         }
         }
         // repeat across x-axis
         // repeat across x-axis
         if (x < 0 || x >= tileRange) {
         if (x < 0 || x >= tileRange) {
-
      var x = ((coord.x % numTiles) + numTiles) % numTiles;
+
          x = (x % tileRange + tileRange) % tileRange;
         }
         }

Revision as of 09:43, 3 April 2015

Fragoria Map

Personal tools
Date/Time
Server & Cross

Super-Cross Server