Optimizing preformance on rotating object - better to use animate or rotate ?
slev
Member Posts: 99
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
-
FViMagination Posts: 89hi, 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!