deepnight / ldtk

Modern, lightweight and efficient 2D level editor
https://ldtk.io
MIT License
3.37k stars 184 forks source link

Support Entity flipping and 90° rotations #978

Open deepnight opened 11 months ago

deepnight commented 11 months ago

Related:

Miepee commented 11 months ago

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.

Gamer-XP commented 11 months ago

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

Lojemiru commented 11 months ago

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.

deepnight commented 11 months ago

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