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\$

2 Answers 2

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
  • 1
    \$\begingroup\$ Exactly. The '1' shape is horizontally aligned with the tiles on the right in tiled, but not in game. \$\endgroup\$
    – Peethor
    Commented Jan 18, 2016 at 4:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .