TMX TileMap Artifacts

When loading up the sample tilemap from the tutorials on an iPhone 4, I am seeing black lines between some, but not all of the tiles. I do not see these lines in the simulator. Is this an antialiasing issue? And if so, is there a way to fix it yet?

[import]uid: 12877 topic_id: 4791 reply_id: 304791[/import]

Hmm… Turned antialiasing on in the Corona config and that made the lines worse. [import]uid: 12877 topic_id: 4791 reply_id: 15315[/import]

Hi Ian,
I’m experiencing these artifact lines on Android as well. Having tested on a HTC Desire HD. Not seeing this on an iPhone 2G or the simulator.

Christian [import]uid: 11648 topic_id: 4791 reply_id: 15327[/import]

Weird, I thought I had fixed this issue after a suggestion from another user, I will look back into it.

Before it had to do with moving the map, some of the positions of the tiles weren’t integer numbers so had to be rounded. [import]uid: 5833 topic_id: 4791 reply_id: 15342[/import]

Just an FYI on my implementation. I set up a map that fit the iPhone screen exactly at 320 x 480 with no movement when I saw the artifacts.

Thanks Graham. Lime is looking like a great product. [import]uid: 12877 topic_id: 4791 reply_id: 15374[/import]

Hmm, very strange. Are you able to get a screenshot of it at all?

And thanks, I’m glad you like it :slight_smile: [import]uid: 5833 topic_id: 4791 reply_id: 15407[/import]

Yes. Here is a link to the screenshot. The pink background is simply a background color that sits behind the TMX map.

http://gallery.me.com/iancorbin/100009/TMX%20Artifacts%20on%20iPhone%204 [import]uid: 12877 topic_id: 4791 reply_id: 15474[/import]

Does it happen on an older iPhone? As it may be something to do with the content scaling.

Also, I couldn’t help but peak into the rest of the album, that view from your office is awesome. much better than the view from mine. Granted my office is at home and I live in a tiny village in the south of England but still, yours makes me jealous. [import]uid: 5833 topic_id: 4791 reply_id: 15480[/import]

Thanks LOL. I am lucky to have that view.

I don’t have an older iPhone so I am unable to test. I did have to set the scaling for the game to fit the entire iPhone 4 screen. [import]uid: 12877 topic_id: 4791 reply_id: 15481[/import]

Hi folks,
I have an older iPhone 2G with screen resolution 320x240 and don’t experience the artifacts there.
But I see them on my HTC Desire HD running Android 2.2 with higher resolution. My config.lua looks like:

application =  
{  
 content =  
 {  
 fps = 60,  
 width = 320,  
 height = 480,  
 scale = "letterbox"  
 }  
}  

So it looks like that could be some issue with content scaling…
Thanks Graham for such an useful piece of software - I’m sure it will enable some of us to bring nice games into the app stores!
Christian
[import]uid: 11648 topic_id: 4791 reply_id: 15511[/import]

That does seem to be an issue with content scaling, I will see if there is anything I can do about it but the best solution would be to use the dynamic assets stuff however I don’t think that is working for spritesheets yet. [import]uid: 5833 topic_id: 4791 reply_id: 15642[/import]

Just because you don’t have enough stuff to work on, Graham, I thought I’d bump this thread up. :slight_smile:

I downloaded Limev2 today and started playing around and I’m seeing the same thing on my iPhone 4. I don’t have any older devices to test on.

Jay

PS - Despite that, and because I know it will get fixed, Lime is a COOL utility. The $40 price you’re planning on charging is a complete bargain. [import]uid: 9440 topic_id: 4791 reply_id: 17410[/import]

Haha, I always love having lots of stuff to work on. Sleep is too unproductive (or so I’ve read, it’s been so long now)

Are you able to make a build for your iPhone 4 without any of the content scaling stuff? Naturally you will either have a very small map or need to make a larger tileset. That will give me a clue as to if it is indeed the scaling that is causing the problem. Thanks :slight_smile:

PS. Glad you like it and that you agree on the price, it has had me up at nights. Well, if I slept that is :slight_smile: [import]uid: 5833 topic_id: 4791 reply_id: 17415[/import]

+1 for a fix for this :slight_smile:

// Ed. [import]uid: 7143 topic_id: 4791 reply_id: 18715[/import]

+1 for a fix for this :slight_smile:

// Ed. [import]uid: 7143 topic_id: 4791 reply_id: 18716[/import]

Is that a sneaky +2 :slight_smile: [import]uid: 5833 topic_id: 4791 reply_id: 18722[/import]

I guess so :slight_smile:

// Ed. [import]uid: 7143 topic_id: 4791 reply_id: 18783[/import]