Growler

Flipping tiles creates rendering problems in Tiled

Recommended Posts

Using Tiled 1.3.1 and MelonJS 7.1.1, I'm rotating your platformer tutorial tilesets with Tiled hotkeys x (flip active stamp horizontally), (flip active stamp vertically), and (rotate active stamp clockwise) - https://doc.mapeditor.org/en/stable/manual/keyboard-shortcuts/

In tiled, using piece:

808905638_ScreenShot2019-12-26at10_38_48AM.png.a2a63346077e798b95294e1fbda3155c.png 

I flip it around using xyz to achieve this. It seems like 180 degree/horizontal flips cause problems. Why is this?

In the Tiled map editor:

54501422_ScreenShot2019-12-26at10_43_54AM.thumb.png.6a2cc5c2fec595acbbb3196f29d13ddd.png

In game:

1060624238_ScreenShot2019-12-26at10_43_44AM.thumb.png.d9627f9dae24c750055d078b03bb284e.png

@obiot

@Parasyte

 

Share this post


Link to post
Share on other sites

oh snap ! well we have a known issue (see #764 ) when anti-diagonally rotating tiles, but i thought it was only with non squared tiles .... as I actually never encounter the issue myself (with square tile) I just wonder now if this is another edge case, or if this was always there, or if this is a regression...

 

did you manage to work around it since then ? and/or pinpoint maybe where is the issue ?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.