any help appreciated
Rotate sprite anti-clockwise
Started by raphael1, Feb 26 2012 08:59 PM
1 reply to this topic
#1
Posted 26 February 2012 - 08:59 PM
I have box sprite which is 400px by 400 px, how do get it to rotate anti-clockwise using a timer, being struggling with it for hours.
any help appreciated
any help appreciated
#2
Posted 26 February 2012 - 09:20 PM
counterclockwise
If you're using image_angle, just change it by 1.
image_angle+=1
That rotates the image 1 degree counterclockwise. If you want to rotate it clockwise, use -1
image_angle-=1
You need GM Pro for that, though.
If you're using image_angle, just change it by 1.
image_angle+=1
That rotates the image 1 degree counterclockwise. If you want to rotate it clockwise, use -1
image_angle-=1
You need GM Pro for that, though.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











