Jump to content


Rotate sprite anti-clockwise

  • Please log in to reply
1 reply to this topic

#1 raphael1


    GMC Member

  • New Member
  • 20 posts
  • Version:GM7

Posted 26 February 2012 - 09:13 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 :blush:
  • 0

#2 TheouAegis


    GMC Member

  • GMC Member
  • 12956 posts
  • Version:GM:Studio

Posted 26 February 2012 - 09:34 PM


If you're using image_angle, just change it by 1.


That rotates the image 1 degree counterclockwise. If you want to rotate it clockwise, use -1


You need GM Pro for that, though.
  • 0

"The problem with object-oriented languages is that they've got all this implicit environment that they carry around with them. You wanted a banana but what you've got is a gorilla holding the banana and the entire jungle." -Joe Armstrong


"It goes against the grain of modern education to teach children to program. What fun is there in making plans, acquiring discipline in organizing thoughts, devoting attention to detail and learning to be self-critical?" -Alan Perlis


"Do not think about where you want to be and how to get there; think about what you want to do and how to do it." -Theou Aegis

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users