Jump to content
  • Advertisement
Sign in to follow this  

[web] Flash performance issues

This topic is 3891 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I started a simple snowboarding game, but after running a while the game begins to show serious performance issues. Try it here: kirl.nl/skiiX.html I suspect the trouble has something to do with the way I'm simulating the movement (I'm moving the whole Stage as well as the snowboard graphic so the drawing API can leave a trail). Probably not a very economic aproach but it was usefull for some quick testing. I included the code snippet below. // reversed velocity to world/Stage _level0._x -= sBoard.vx; _level0._y -= sBoard.vy; // velocity to sBoard position sBoard._x += sBoard.vx; sBoard._y += sBoard.vy; I'm wondering about the standard aproach of such a topdown scrolling game. It probably involves moving all MC's except the snowboard, but if the board doesn't really move from Flash's viewpoint, how can I let the drawing API draw the trail? Any help, tips or links greatly apriciated! [Edited by - Kirl on November 27, 2007 8:18:52 AM]

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!