Skip to content

Instantly share code, notes, and snippets.

@kim366
Last active October 20, 2016 18:03
Show Gist options
  • Save kim366/9ab9c18763015bfffecaceca9a5a0c95 to your computer and use it in GitHub Desktop.
Save kim366/9ab9c18763015bfffecaceca9a5a0c95 to your computer and use it in GitHub Desktop.
Set the Tile Position of Each individual one when looping through the whole Grid
// For x
// For y
currentTile.setPosition((tileSize + border) * y, (tileSize + border) * x);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment