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.
- 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.
- Unload ‘dead’ movieClips. If your MovieClip had died, don’t just send it to a blank frame. Remove it.
- Make movieClips that are offscreen invisible. It will speed it up a bit.
- Take a look at this site. It has tons of tips for improving AS speed.