Everyone comes to this point somewhere within their game design. The point where your game starts to lag. If it’s happened to you, then you know what it feels like. You have to go checking through all your code looking for way to improve performance. Well, here are some tips to decreasing lag within your game.

  1. Get rid of unnecessary _root and _this code. Half the time it is not needed anyway. You’ll be surprised by how much just doing this will make your game run faster.
  2. Unload ‘dead’ movieClips. If your MovieClip had died, don’t just send it to a blank frame. Remove it.
  3. Make movieClips that are offscreen invisible. It will speed it up a bit.
  4. Take a look at this site. It has tons of tips for improving AS speed.

Related posts:

  1. Frame Rates
  2. 13 Enemy Types for your Flash Games
  3. Bold Pixel Engine: an AS3 Framework for Games