thegoldenmule

Why Inheritance Is "Broken"

Prologue A coworker of mine recently told me that interfaces were for him, a purely academic exercise and that outside of a CS degree, he has never used one. I almost slapped him, railing the age-old battle cry, "favor composition over inheritance!" but all I could do was let out a frail whimper. You see, […]

More

Not a Function

function myFunction(type:int):void { switch (type) { ... case AWESOME: { function doSomething():void { ... }   ...   doSomething(); } ... } }function myFunction(type:int):void { switch (type) { ... case AWESOME: { function doSomething():void { ... } ... doSomething(); } ... } } Error: doSomething is not a function.

More

Itsy Updates (plus a bonus tutorial)!

I've been working on Itsy lately, because, let's be honest, my fire demo was only marginally cool. Now, however, even people who aren't my mom may tell me it looks cool! Check out my new fire: Now that's an improvement. On to the bonus tutorial. [WARNING: Bonus content ahead.] In Scorch3d, I wanted to add […]

More

Weekend Update

I have so many blog posts in my head--Itsy updates, a spritesheet tool I've been working on, a neato Flash optimization I discovered, some thoughts on the current state of gaming--more stuff than I have time to write. In fact, I'm also pecking away at the novel I began writing in November. I may be […]

More

Away3D 4.0-beta

I've been fooling around with the Away3d 4.0-beta lately (for FP11!). I wrote a quick demo--it's using Box2D on the XZ plane, and I'm faking the Y physics. Try it out! Arrow Keys move. Spacebar shoots. Enter jumps. If you time it right, you can jump over the wall! Link here.

More