Quantcast
Channel: cocos2d-x - Cocos Forums
Viewing all articles
Browse latest Browse all 2748

Why is my TiledMap messed up in the game?

$
0
0

@TommiGustafsson wrote:

Hi!

I made this kind of a tiled map in Tiled:

Why does it look like this in the game:
image

You see, there is nowhere in the map this kind of tiles.

Code:

_tileMap = new TMXTiledMap();
_tileMap->initWithTMXFile("TileMapTutorial.tmx");

this->addChild(_tileMap);

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 2748

Trending Articles