Joe's Blog

line

A blog by Joe Billman about programming, and other stuff

line

Archive for April, 2012

Trying to make something it’s not

Posted on: April 30th, 2012 by Joe

line No Comments

“The worst form of inequality is to try to make unequal things equal.”

– Aristotle

FPS and Memory Profiler

Posted on: April 27th, 2012 by Joe

line No Comments

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


Warning: Use of undefined constant Y - assumed 'Y' (this will throw an Error in a future version of PHP) in /homepages/16/d145171736/htdocs/php/footer.php on line 1