Not magic, just a different kind of science.
Uncategorized
Quick Post: Repeat
public static void Repeat(this int value, Action callback) { for (int i = 0; i < value; i++) { callback(); } } ... 10.Repeat(DoStuff); ... Random.Range(10, 20).Repeat(CreateDoodad);public static void Repeat(this int value, Action callback) { for (int i = 0; i < value; i++) { callback(); } } ... 10.Repeat(DoStuff); ... […]
MoreOn conditional compilation in Flex and why it kind of sucks
Flex conditional compilation is kinda like a crappy, finicky version of preprocessor directives in the C family. Compiler constants can be defined and used at compile time to include (or exclude) specific code--or they can be used at run time like regular old consts (except you can't find them with any of the AS3 reflection […]
MoreTurns out, thegoldenmule plays drums
About a year ago I recorded an EP with a Christian band I played with in college. I've done a couple of live LPs, but they have certainly never had the quality of this studio recording. Anyway, it's finally back from all that finalizing and mastering nonsense! Give a listen or download below! These were […]
MoreSOSTrace -- now in JS!
It was brought to my attention by a comment in a previous article that my HaXe trace target should be platform agnostic (I think that's the right term). In particular, he wanted a trace target for JS and PHP. Well I'm happy to report it took about 5 minutes to add JS support! PHP will have […]
More