Forums → Programming Forum → Increasing performance
- 2 Replies
Right now the avatar of my game is a spinning square. The square spins using tweening in the square's timeline.
Does it give better performance doing that or increasing the squares's rotation property every frame?
I think rotation give better performance because flash manage only one image and with time line rotation flash manages more images.
Actually Carly, I don't know about that - since it's only a vector image, not multiple images. Under the hood, wether you use it via timeline tween or via code, the result is the practically the same - you just use a different approach.
Besides, for a simple rotation, there's nothing you have to worry about with performance. Only if you're using multiple or very large bitmaps you could potentially see a performance difference.
You must be logged in to post a reply!
We strive to deliver the best gaming experiences... on the internet and on your mobile phone. Play thousands of free online games for kids, get access to free mmorpg games, online rpg games, fun online flash games, and more.
We offer free flash games in many different genres: online shooting games, online puzzle games, online war games, free online car games, free online hidden object games and dozens more.
This is the best place on the web to play online games for free... play on Armor Games! No matter what game style you prefer, we've got it here.
Gaming websites, passionate bloggers, and quirky streamers are welcome to share or review our games. If you need game keys, art, trailers, screenshots or more check out our press kit website.
Game developer? Visit developers.armorgames.com to request AG developer status, find documentation on our APIs, and get access to our development environment. Let's make sweet, sweet games together.
Looking for a publishing partner that can help your app rocket to success? Contact the mobile team to learn more about how we can help!