Search code examples
cocos2d-x

[Cocos2dx - TiledMap]Get black vertical lines when move map


I make a game with cocos2d-x and tilemap follow tutorial Cocos2D-X Tile Map Tutorial

It working fine but when i move map, i get black vertical lines on screen. http://i689.photobucket.com/albums/vv255/thansaulove/error2.png

Anyone have solution to fix it?

Many thanks in advance.


Solution

  • There is a way to fix this. It worked for me.

    Find the ccCongig.h file and change the value of CC_FIX_ARTIFACTS_BY_STRECHING_TEXEL to 1