MonthSeptember 2012

Haxe Lazy Instantiation Macro

After finally settling on msignals as the event system used in my libraries, I turned my attention to cutting down the amount of code required to use it.

To minimise the memory overhead (and dispatching performance) of signals, I prefer to use lazy instantiation. But this can make the implementation a bit verbose.

Hence my lazy instantiation macro, it only cuts out 3 lines per signal, but makes the code considerably more legible.

Continue reading

Space Junkie update

In my spare time I’ve been working on a game for mobile.
It’s based on Haxe/NME and Nape Physics.

In this demo you can also catch a tiny glimpse of my upcoming GUI library (using the Chutzpah skin by Morgan Allan Knutson).

Get Adobe Flash player

Click flash to focus, Arrows to move

© 2021 Thomas Byrne

Theme by Anders NorenUp ↑