Posts Tagged ‘stats’

Hi-Res - SWF performance stats with style

Thursday, August 14th, 2008

Ricardo Cabello released a really nifty stats tracker the other day. Just download the Stats.as file from his Google Code site, create the following folder structure: net / hires / utils and place the Stats.as file into that. Once done you can import the package into your own code and make use of it.

The end result? A beautiful little real-time performance display that looks like this:

Hi-Res Stats

The FPS gives you a current and maximum frame rate count (the maximum is derived from the stage frame rate setting). The MS is a micro-second counter. MEM is the total memory (in MB) your SWF is using.

The cute little graph below that is a historical visualisation of these three things, so you can watch for spikes / peaks during activity. You can click the top/bottom of the stats to increase/decrease the stage framerate.

Using it is as simple as adding one line of code:

addChild( new Stats() );

All I’d say is remember to make sure this happens on the TOP of all of the rest of your display list items.

Link: Hi-Res Stats Google Code page

Colour Chain Stats - Part Deux

Monday, May 19th, 2008

Well for some reason AddictingGames didn’t consider Colour Chain “addicting” enough, and didn’t approve my upload. Oh well.

On the plus side a few portals have started ripping off the GameJacketed version and posting it to their own sites. PuffGames gave me a respectable 4000+ plays in 24 hours.

Best of all though are the stats from the site the game was actually created for - Shaun the Sheep.com - where the game has now topped 30,000 plays since its release a few weeks ago. I’m nearly finished on a new game for the site which will be released early June, so I’ll keep everyone posted.

We’ve also picked up a contract from Cartoon Network to create a kick-ass game for a new show that debuts later this year. I can’t give any more details away other than the game will be a horizontally scrolling beat-em-up. Game design spec work starts this week, with a prototype shortly after. Definitely exciting stuff.