Rotate/Flip Support?

I feel like I’ve had this conversation long ago, but I noticed that flip/rotate does not currently work in MTE.

Specifically, Tiled has three “secret” actions you can perform:

  • flip X ( press: “x” )

  • flip Y ( press: “y” )

  • rotate ( press: “z” )

MTE will still load your map if these tiles are present, however, 

mte.lua:4505: display.newImage() given an invalid frameIndex (-64bit number)

I’m guessing this is coming out of :4411 somehow.

Anyway, just a warning to avoid those actions until it’s sorted. :slight_smile:

Hello Richard,

You have to manually enable this functionality by calling mte.enableTileFlipAndRotation() before loading the map.

Hello Richard,

You have to manually enable this functionality by calling mte.enableTileFlipAndRotation() before loading the map.