How can we implement the tiled layer in android? I need an example for this.
tileSet = new TiledMapTileSet(); tileSet.setName("bubblr"); int z = 0; for (int i = 0; i < 70; i++) { Thanks
TextureRegion tileText = imageAtlasGame.findRegion("tile" + i); if (tileText != null) { tileSet.putTile(z, new StaticTiledMapTile(tileText)); z++; } }
0 comments:
Post a Comment