StopWatch class - code snippet

August 23rd, 2009

a simple StopWatch class to measure how long something takes.

read full article and see source code

also on http://haxe.org/doc/snip/StopWatch

Read more ...


commaFormat(num:Float):String; code snippet

August 23rd, 2009

added another code snippet to http://haxe.org/doc/snip/commaFormat

that commafies a number such as really high scores

converts 123456 to “123,456” and 1234567890.12345 to “1,234,567,890.12345”

read full article and source

Read more ...


Flash Actionscript3 Tutorial : Animated Slideshow

August 20th, 2009

Using TweenLite to generate the animations for a simple flash slideshow built using Flash IDE.

my goal was was to create a looping slideshow as simply as possible. least amount of steps. and with some room to expand on.
this tutorial is made to help understand the logic and some basic moving parts involved in a general slideshow.
it certainly won’t fit all slideshow needs, especially ones with lots of slides, or with constantly changing slides.
source files available.

epic ending… srsly.

Read more ...


Turkey haXe game Source Code

April 3rd, 2009

full source for Turkey haXe

requested by Raf

crude source code, never thought anyone else would see it after i finished, including myself.

248 lines in the main class. i also created a few supporting classes for this game that i’ve been reusing ever since, and included in my common library.

Read more ...