Guest User

Untitled

a guest
Jul 15th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. // Put tile index 1 at tile grid location (20, 10) within layer
  2. groundLayer.putTileAt(1, 20, 10);
  3.  
  4. // Put tile index 2 at world pixel location (200, 50) within layer
  5. // (This uses the main camera's coordinate system by default)
  6. groundLayer.putTileAtWorldXY(2, 200, 50);
Add Comment
Please, Sign In to add comment