Lines between tiles when building

Dear Graham,

First of all I would like to say I love the product and the features but I seem to be having an issue when building some of the demo projects and samples and one of my own examples on my iPhone. I seem to be getting these weird lines between the tiles.

Here is a screenshot of whats happening. I hope its clear for you to see. http://roedangames.net.au/wp-content/uploads/2011/06/IMG_0051.png

I have checked the following.

  • The tiles are from the examples and are 32x32 in size
  • I have built some of your samples / tutorials to see if it was just my code but same issue
  • Have tried some different config files eg
application ={  
 content =  
 {  
 width = 320,  
 height = 480,  
 fps = 60,  
 scale = "letterbox",  
 },  
}  

and

application ={  
 content =  
 {  
 width = 320,  
 height = 480,  
 fps = 30,  
 antialias = true,  
 scale = "letterbox",  
  
 imageSuffix =  
 {  
 ["@2x"] = 2,  
 },  
 },  
}  

I have tried setting scale to “none” but then the image is like 1/2 the size and center’d in the screen.

What could be causing this and how would I look at fixing this.
Edit: Just to be clear I cannot see the lines in the viewer just when the applications are build and tested on my iPhone4.
[import]uid: 40417 topic_id: 11846 reply_id: 311846[/import]

This will most likely be down to the scaling caused by the Retina screen. You can include a Retina version of your spritesheet to fix this.

If your spritesheet is called “tileset.png” then you will want to create one twice the size and call it “tileset@2x.png”

That should hopefully work :slight_smile: [import]uid: 5833 topic_id: 11846 reply_id: 43185[/import]

Dear Graham,

Sorry If this question seems stupid, Do I only need to add the tileset@2x.PNG or do I have to redo / re-size the tilesheet in Tiles and add the tileset@2x in there aswell?

I edited the *.PNG tilesheet re-sized it and then saved it with the extension but still the same result.

Thanks
Danny Roerring
[import]uid: 40417 topic_id: 11846 reply_id: 43304[/import]

You don’t have to change anything in Tiled, in theory it should “just work”. But plans rarely go well, according to plan.

If you want, and can, please send your project to support@justaddli.me and I will take a look at it for you to see if I’ve done something silly in Lime. [import]uid: 5833 topic_id: 11846 reply_id: 43306[/import]