Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Put tile index 1 at tile grid location (20, 10) within layer
- groundLayer.putTileAt(1, 20, 10);
- // Put tile index 2 at world pixel location (200, 50) within layer
- // (This uses the main camera's coordinate system by default)
- groundLayer.putTileAtWorldXY(2, 200, 50);
Add Comment
Please, Sign In to add comment