Tiling problem - Rounding issue?

Monkey Targets Forums/Android/Tiling problem - Rounding issue?

siread(Posted 2012) [#1]
Any idea why my scaling, scrolling tiles have gaps when building in Flash?



As you can see it works pefectly on html5. Something to do with rounding floats in Flash I'm guessing.


slenkar(Posted 2012) [#2]
you are using autofit, or some scaling so you have to have the images one pixel bigger than their distance between each other


Samah(Posted 2012) [#3]
Ahhh blending, the bane of tile engines. As slenkar said, the simplest way is to add padding. Most tileset editors will do this kind of thing for you.


siread(Posted 2012) [#4]
Nice one, thanks. :)