What are some ways to take a single 32x32 image and create approx 72 states (differ by 5 degrees) for a complete 360 degree rotation?
I'm seriously considering writing my own rotation program which would rotate and stuff the images into a .dmi file. I think its possible and I think its about as much work as manually rotating 2-3 images myself which makes it well worth the effort.
I know similar stuff has been done but I haven't found the "perfect" tool in the last hour or so.
ts
ID:132323
May 22 2011, 6:06 pm
|
|
May 22 2011, 6:16 pm
|
|
I think I did this in MS Paint(windows 7) the last time, because it blurs the image more than distorting it, you can get some really ugly stuff out of dm with a 32x32 icon.
|
http://files.byondhome.com/Oasiscircle/EasyVector.zip
You might need to dink around with a few numbers in there, but that's the same tool I used for Toy Tanks. (: Sorry its not commentated, but I think it should be easy enough to figure out and I expect you want a speedy reply. Feel free to ask questions here. Note: It anti-aliases too, if you don't want that effect just remove the Scale() procs. |
In response to Oasiscircle
|
|
Pretty much exactly what I was looking for. Works great so far. I'm digging in some more...
Thanks! ts |
You can use the built-in icon's Turn proc to generate the rotated states, the icon's Insert proc to create an icon containing the 72 states, and the ftp proc to save the icon.
This library has a proc to rotate icons with anti-aliasing: http://www.byond.com/developer/Forum_account/HandyStuff |
In response to Jotdaniel
|
|
You can actually force "anti-aliasing" in DM-rotated icons. (And by anti-aliasing, I mean blurring to the point that using it probably isn't the smart thing to do) Simply Scale up the icon, Turn it, and Scale it back.
|