This is what I used, but still the gaps, found this in a post on here:
Created CCMoveTo+RoundedUpdate.h and .m files and added this to the implementation file:
-(void) update: (ccTime) t
{
//NSLog(@"Using category CCMoveTo+RoundedUpdate for movement -> rounded setPosition!");
[target setPosition: ccp( round(startPosition.x + delta.x * t ), round(startPosition.y + delta.y * t ) )]; //Setting to a rounded pos avoids gaps in tilemap!
}
Which I guess does the rounding, but still gaps when screen scrolls up and down, but oddly enough, not on all tiles?? I scroll the screen by repositioning the layer.
Regards,
Steve