I found many gaps in Sonic Demo in MTE v0.99, How to get ride of this? See attachment.
Jump to content
In the simulator or on the device? I'm not really familiar with MTE, but I'm familiar with the issue of gaps when working on the simulator. (Don't worry too much about gaps while running on the simulator.)
If you haven't checked yet, try this on a device.
If you have, you should give more details about your test platforms and setup:
Finally, if you're getting gaps on the device, you're experience scaling precision issues, where the scaling is at such a value that you sometimes lose a pixel on scaled images. You'll need to adjust your scaling to be pixel aware or perfect.
Sergey Lerg did a great post on this and has a solution here:
Edited by roaminggamer, 13 September 2015 - 12:14 PM.
1. I'd use a newer version of the SDK, but that's just me. (2015.2705 is trouble free right now as far as I can tell. Later than that has a widget issue that is showing up for some folks.)
2. I'd use a pixel perfect scaling (as per my Sergey Suggestion):
3. I just got the code and am looking at it. You are referring to this sample right?: "Platformer - Sonic Finale 0v990"
I'll assume #3 is yes.
Well I tried it and that doesn't solve the problem.
I do see that the issue happens when the camera zooms in and out. I would expect this actually. If you use tiles and zoom the group they are in just right, you'll get artifacts (lines).
I'm afraid I don't have a good answer for you.
If anyone else has a suggestion, please share!
I'm seeing all sorts of supercomplicated fixes, so I'll just chime in here: I've had tremendous success in some of my tile-based project by setting the scale of my tiles to 1.001 or something like that. It's not a perfect solution, but for many projects it will do just fine.
For the record: experiment with the size yourself, but the general rule is that you make the tile a fraction bigger than exactly 1.
Community Forum Software by IP.Board