Tile has trash pixel or line using CCTMXTiledMap in my project and tileMapTest example

Tile has trash pixel or line using CCTMXTiledMap in my project and tileMapTest example
0.0 0

#1

hi guys

I made a map by CCTMXTiledMap

it’s isometric type

when I move it it has trash pixel or line

so i solved it edit :
#define CC_SPRITEBATCHNODE_RENDER_SUBPIXEL 0 // FIX 1 -> 0

added this in my code :
CCDirector::sharedDirector()->setProjection(CCDirectorProjection2D);

BUT, wth? this layer’s scale is changed, this problem occurs too :frowning:

tile map works well in anroid and iphone version. this problem exits only in cocos2d-x ?

how can I solve it? I’m stressed day by day.

please help me~


IMG_0017.PNG (39.0 KB)


#2

Hello bro, I solved this issue by set define of CC_SPRITEBATCHNODE_RENDER_SUBPIXEL form 0 to 1