Gaming Your Way

May contain nuts.

If only there was an open source as3 fps counter. If only...

I've noticed my little frame counter pop up in quite a few peoples games since I included it in a bit of open source, which I do find pretty cool ( I wonder if anyone's used my scroller class ? Doubt it ).

Anyway, I thought it may help someone out there if I posted my as3 version. It's written using Flex as opposed to Flash, so it uses [Embed] to bring the assets into the swf, but I wouldn't have thought getting it working in CS3 would be that much of a mare.

Hopefully it should all be pretty straight forward, it just requires two arguements to get it going. Anyway, enjoy seeing how quick your shiny new as3 code really is. (8.35 KB)


Comments (3) -

  • kdsh7

    6/9/2007 9:40:42 PM |

    Hey-oh stranger,

    So this is the Blog that Olli was hinting at! I always thought that 'May contain nuts' was a good name. I've just downloaded your fps counter, and I'm looking forward to using it as I begin my adventures in AS3!

    And a belated Happy Birthday btw, the 8th June always does seem to stick in my head from the 1c1p days! Hope you had a great one, and that freelancing life is suiting you. And for the record, your scroller class was the basis of every game design I committed to paper over a 4 year period :)

  • Squize

    6/11/2007 1:55:21 PM |

    Thanks for the birthday wish mate :)

    We need to catch up properly soon, so behind on all my emails to everyone, I've become a code hermit.

  • kdsh7

    6/14/2007 12:19:55 AM |

    We definitely need to catch up!

    There are worse things to be than a code hermit. I mean you could be, er, just  a hermit :)

Comments are closed