Home | Rules and Guide | Sign In/Create Account | Write a Post | Donate | #ludumdare on irc.afternet.org (Info)

Ludum Dare 23 — April 20th-23rd, 2012 — 10 Year Anniversary!

Ludum Dare 22 :: December 16th-19th, 2011 :: Theme: Alone

[ Results: Top 50 Compo, Jam | Top 25 Categories | View My Entry ]

[ View All (Compo, Jam) | Warmup ]


Things, Doods, Baddies, Shoostings, and Lewt

Posted by
April 26th, 2008 12:58 am

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

You must be logged in to post a comment.


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

[fcache: storing page]