Picture Effect : Spin

I am wondering if someone can make me a small script that allows me to "Spin" a picture so that it could look like a Wheel, or Cogwheel spinning around.

The Rotate feature in Ace does not do this properly since it rotates around a big circle.

I tried Tsukihime's Picture Wrapper
But it's not compadible with Acezon's  Map Title Screen.
 
 
I would like the feature to spin like this.
 
animated_cogwheel_by_lunar_alienism-d59wxbv.gif
No script necessary. Well, except for a line or two, anyway.

First, set the 'Display Position' > 'Origin' of the picture to 'Center'. Next, change the X and Y values to reflect the change from 'Upper Left' to 'Center'. Then place the following in a 'Script' command, or wherever necessary :

Code:
# Remember to change 'x' for the picture id# Remember to change 's' to the desired rotation speedgmsp = $game_map.screen.pictures[x]gmsp.rotate(s)
The picture will rotate until you set the value to zero, or erase the picture.
No script necessary. Well, except for a line or two, anyway.

First, set the 'Display Position' > 'Origin' of the picture to 'Center'. Next, change the X and Y values to reflect the change from 'Upper Left' to 'Center'. Then place the following in a 'Script' command, or wherever necessary :

# Remember to change 'x' for the picture id# Remember to change 's' to the desired rotation speedgmsp = $game_map.screen.pictures[x]gmsp.rotate(s)The picture will rotate until you set the value to zero, or erase the picture.
I don't get what you just explained with "origin" and stuff. o.0

- - Edit - -

I kind of got it figured out, but when I have the image moved to center, it's hard to figure out how to position it to where it's suppose to be.
Ah, well, this is what I mean by 'Display Position' > 'Origin'

rpgmw-help-001.png

Now, shifting from 'Upper Left' to 'Center' means that the anchor point for the picture changes. So, the X and Y value will have to be changed to reflect that change, otherwise your picture will not be in the same spot as before.


EDIT : Perhaps this image will better convey what I am trying to say about changing the 'Display Position' :

rpgmw-help-002.png

As you can see, the X and Y values need to change when you shift to the 'Center' setting, otherwise the picture will not be in the desired location.
I got this solved, This can be closed now.
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/picture-effect-spin.18047/