ID:138495
 
It would be really helpful, and a saver of disk space, if we could have Byond rotate icons for us.

Otherwise, static elements with no changes (most often Turfs) require us to include multiple versions of the same icon, rotated.

When this last came up, I believe Tom said it sounded not difficult...

I envision some kind of

RotateIcon(rotation_percent, icon, icon_state)

command. The challenge might be not making this get confused with directional states in the mind of the designer...
It would be really helpful, and a saver of disk space, if we could have Byond rotate icons for us.

Mmm, rotating (and don't forget flipping) icons... I could make a really nice terrain library with that...

Maybe someone has observed this before, but BYOND feature requests are kind of like that old story about "Stone Soup." Except it's the villagers who are standing around making suggestions, and the poor wandering chef has to pull the items out of his own pack. :)
In response to Guy T. (#1)
On 7/16/00 11:11 am Guy T. wrote:

Maybe someone has observed this before, but BYOND feature requests are kind of like that old story about "Stone Soup." Except it's the villagers who are standing around making suggestions, and the poor wandering chef has to pull the items out of his own pack. :)

Hah!

The icon stuff is probably easy to add, so it is quite tempting.

The main problem is that if we put, say, the rotation in, people are going to immediately want to have similar graphical features, such as the palette adjustment routines, shape & line drawing, and so on. Each of these equally easy to implement, but together they amount to a quite a few ingredients in the 'ol soup!

We'll see.
In response to Tom H. (#2)
On 7/17/00 3:01 am Tom H. wrote:
The icon stuff is probably easy to add, so it is quite tempting.

The main problem is that if we put, say, the rotation in, people are going to immediately want to have similar graphical features, such as the palette adjustment routines, shape & line drawing, and so on. Each of these equally easy to implement, but together they amount to a quite a few ingredients in the 'ol soup!


I'm happy just to know whether it's on a future list. If it is I might hold off on providing multiple directions for a bunch of turf icons and the UI to allow guides to specify the direction.

Thinking about it more, rather than a RotateIcon() function, I think it would be an extra icon attribute, similar to icon_state.

Something like icon_rotation.

Now, would it be a challenge to handle animations in a rotated state?