ldtk icon indicating copy to clipboard operation
ldtk copied to clipboard

Support Entity flipping and 90° rotations

Open deepnight opened this issue 2 years ago • 4 comments

Related:

  • https://github.com/deepnight/ldtk/pull/856
  • https://github.com/deepnight/ldtk/pull/809
  • #502
  • #977
  • #841

deepnight avatar Oct 13 '23 10:10 deepnight

Is there a specific reason why rotation is limited to 90° angles? I could see full 360 rotation being useful for some scenarios. Not a dealbreaker for me, personally, but maybe for other people.

Miepee avatar Oct 13 '23 10:10 Miepee

You can rotate 90, 180, 270 with just 90 rotation option. FlipX+Y = 180 rotation. FlipX+Y+90Rotation = 270 rotation

Gamer-XP avatar Oct 13 '23 10:10 Gamer-XP

If it helps, I've reconciled my entity flips PR (both pivot-based and within bounds) with the recent updates. Could open a new PR with that branch but I've admittedly been ignoring it a bit since it went silent for so long.

Lojemiru avatar Oct 13 '23 13:10 Lojemiru

Thank you for your patience 🙇 I had some priorities on my LDtk roadmap before I could properly take care of these changes.

deepnight avatar Oct 13 '23 14:10 deepnight