Purpose: Full-screen display a tilemap which is with the same size to screen.
What did i do:
- Draw a 800x480 TileMap by Tiled. Every tile is 32x32 pixel.
- Run Android virtual device, screen is 800x480.
- Run test program to load my TileMap.
Issue: It can not display the tilemap in full-screen (tilemap is smaller than screen). Please find the screen-shot in attachment.
What I found:
When I try to get the log of tile size, I do find it is 32x32 pixel.
CCSize tileSize = pDesertTileMap->getTileSize();
20131123123436.jpg (224.1 KB)