Hi there, I'm trying to make a compass for my game using VX. I need to know what is the command for rotating a picture to a certain angle but on it's centre x y. So far this is what i have figured out...
Now how to rotate it to eg. 90degrees?
Thanks in advance.
Code:
@pic = Sprite.new
@pic.bitmap = Cache.picture("Compass")
@pic.ox = @pic.bitmap.width / 2
@pic.oy = @pic.bitmap.height / 2
@pic.x = 100
@pic.y = 100
Now how to rotate it to eg. 90degrees?
Thanks in advance.