1
\$\begingroup\$

I'm having rendering issues in Tiled with a border tile I'm applying to shapes.

In Tiled:

enter image description here

In game:

enter image description here

I'm using Tile Flipping to reduce work. I thought this may be the issue, so I tested out a few tiles by themselves:

Tiled:

enter image description here

In game: They render as expected

enter image description here

What may be the cause of this?

My game engine is Melon JS

\$\endgroup\$
1
\$\begingroup\$

It is possibly a bug in the renderer. Try with and without WebGL. Also file a ticket on the issue tracker, providing the library version and minimal example to reproduce: https://github.com/melonjs/melonJS/issues

\$\endgroup\$
2
\$\begingroup\$

Looks like the rendering is off by 1 pixel (texel) for the flipped tiles or the source copy isn't flipped properly and catches most the next/previous tile in the tileset.

\$\endgroup\$
  • 1
    \$\begingroup\$ Exactly. The '1' shape is horizontally aligned with the tiles on the right in tiled, but not in game. \$\endgroup\$ – Peethor Jan 18 '16 at 4:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.