Hello there,
I'm adding a TMXTiledMap like this:
TMXTiledMap *map = [TMXTiledMap tiledMapWithTMXFile:@"Level1.tmx"];
for( TMXLayer* child in [map children] ) {
[[child texture] setAntiAliasTexParameters];
}
voidNode = [ParallaxNode node];
[voidNode addChild:map z:0 parallaxRatio:ccp(0.0f,1.0f) positionOffset:CGPointZero];
id goUp = [MoveBy actionWithDuration:1 position:ccp(0,-150)];
[voidNode runAction:goUp];
[self addChild:voidNode];
Where "Level1.tmx" is a 480x1600 pixels tilemap made with Tiled (16x16 tiles). The spritesheet is a normal 256x256 png file (I've tried putting blocks with no margin and space, and also with different values of margin and space, so I've tried them both).
The problem: if I use the anti-aliasing code, I get tiny black lines flickering between tiles which are both horizontal and vertical. And if I don't use anti-aliasing, there'll be long horizontal lines flickering over the whole map which are of course because of being aliased.
p.s. the whole screen is filled with tiles so there are a lot of them, not like the demos with long distance between tiles.
Thanks for your time,
Parsa