Page 1 of 1

Rotate image, mirror image

Posted: Sun Nov 11, 2018 5:36 pm
by darkfrei
Can you add the possibility to rotate and/or mirror images?
For example it can be very helpful for animations of belts, now horizontal and vertical animations are two different files, but directions 0 (north) and 4 (south) are mirrored, also 2 (east) and 6 (west) come from another file, but also mirrored.
belt_vertical.png
belt_vertical.png (36.42 KiB) Viewed 1348 times
belt_horizontal.png
belt_horizontal.png (32.75 KiB) Viewed 1348 times
The curved transport belt has also same animation, all variations can be done just with rotation and, surprisingly, with mirroring sprites.
animations.png
animations.png (196.07 KiB) Viewed 1348 times

Re: Rotate image, mirror image

Posted: Mon Sep 07, 2020 4:05 am
by DedlySpyder
+1 on rotating image at least

My use case is dynamically adjusting equipment in other mods without the need to know they exist. Specifically to allow for rotating equipment. Currently, my mod will just chop off the normal sprite unless the other mod supplies a rotated version of the sprite.

Creating the rotated sprite is trivial to do by hand, but the fact that I can't do it for every equipment out there (in a feasible manner) means that sometimes they're just gonna look bad.

Re: Rotate image, mirror image

Posted: Tue Feb 04, 2025 4:28 pm
by protocol_1903
+1, recent post on the same topic viewtopic.php?t=115259