FPS and Memory Profiler

With Flash shifting more of it’s focus to games it is becoming more and more important to optimize and ensure good performance. A great way to gauge performance is by the frame rate that your game can maintain on the desired device. I recently made a simply little tool that can be used to test the frame rate of your game or app. It is really easy to use, it only requires one line of code. Here is what it looks like:

as3 fps profiler

Here is all the code that is needed:

FpsProfiler.profile(this.stage);

I hope this can be useful to some of you looking to optimize your Flash games. Please feel free to give me some feedback. To download the source files click on the link in the bottom right hand corner. Enjoy!

 

Download Source Files