Optimizing preformance on rotating object - better to use animate or rotate ?

slevslev Member Posts: 99
edited June 2012 in Working with GS (Mac)
Ive got a Sun in my game its in the top corner of the screen its really just part of the background, id like to have it spinning, from a fps preformance point of view is it better to make it spin using, one png and rotate it using the spin attribute or to have several pngs and animate them using the animate attribute ?

Best Answer

  • FViMaginationFViMagination Posts: 89
    Accepted Answer
    hi, in my opinion, I'd rather using the Rotate behavior, just because you'll save some memory to the game by using 1 single image. rotate behavior work really fine and you have a wide range of speed, try some out and see if it looks ok to you!
Sign In or Register to comment.