SpriteParameters::rotation

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
User avatar
LuziferSenpai
Filter Inserter
Filter Inserter
Posts: 383
Joined: Tue Jul 08, 2014 10:06 am
Contact:

SpriteParameters::rotation

Post by LuziferSenpai »

Hey,

it would be nice if we could define a rotation for a sprite, so that we dont need to provide different angles or rotations of something.
I personly would use this for a mod, that would automaticly make 3 more equipment pieces for each one, for each direction.

Another use case:

When doing new pipe visualizations, I could just do the dot in the middle and then one arm at the top.
After that, I can easily just rotate the arm as I need, so with that I would reduce file size.

For example:
visualization-arm-north.png
visualization-arm-north.png (674 Bytes) Viewed 31 times
Would turn into this, with a rotation of 1 or something like that.
visualization-arm-east.png
visualization-arm-east.png (4.98 KiB) Viewed 31 times
Greetz,

Luzifer
Coding is awesome!
Animes are love!
Factorio is life!

My MODs:
Click

Greetz,

Senpai
Post Reply

Return to “Modding interface requests”