Join #ludumdare on irc.afternet.org
Ludum Dare 13 :: December 5th-7th Weekend :: Theme :: Roads

Sign In | Write your Journal
Home | Planet Ludum | Rules Wiki | Mailing List

R1 | R2 | R3 | R4 - Results

Time to start rating entries and giving out trophies!

(be sure to tag your post as Final, and upload a screenshot)

Things, Doods, Baddies, Shoostings, and Lewt

Posted by keeyai

In response to this comment, “What no one else has said so far is … what the hell kind of class names are those? “Thing”, “Dood”, “Baddie”, and “Shoostings”? =P”

Yeah, I really don’t normally code like that. Right at the beginning, I couldn’t think of a good base class name for what became the polygons. It wasn’t the player, and it wasn’t the enemies, because it was both. I ended up just putting ‘Thing’ there to get the ball rolling, and it all went downhill and into the gutter from there. After thing came Dood for player, then Baddies, Shoostings, and Lewt.

I talked briefly about this in IRC: It was pretty funny at first, but, since I don’t normally code like that, it got to be confusing and bug-inducing later on when I couldn’t remember if I spelled it lewt or loot, dood or dude, etc… Back in college I had fun telling stories / being clever with my variable names, but generally, I recommend picking a reasonable naming scheme and sticking to it, especially with a deadline no more than 48 hours away.

Still, thanks for noticing. :) I hope you got a kick out of it.

Tags:

Leave a Reply


All posts, images, and comments are owned by their creators.