• Add Friend
Age / Gender:
24, Male
Somewhere in the South
All Stats >

Free time is nice time.


User Statshot

Community Stats
Level 16 Game Developer
Normal Whistle
Ranked as Police Sergeant

Latest News

Speed vs elegance

2017-07-21 15:23:19 by MSGhero

For Enki Adventures, I've been dealing with a fundamental coding problem. Is it better to quickly shove things together to make them work or solve problems elegantly?

Chris DeLeon makes videos where he creates prototypes very quickly, like this platformer. His code isn't organized, and adding features would be a major pain, but it works, especially for Ludum Dare and Game Jams.

I took that approach when generating procedural terrain in my game. Things worked, but I had 1300 lines of code in a single file and a lot of things that would make programmers make a face. Now, I'm rewriting the whole thing far more elegantly. But when I finish refactoring everything, the game will look the exact same. It's for the best, naturally, as I'll be able to make future changes more quickly. But I wonder if I could have avoided all this mess by doing the elegant solution first.

It's probably not possible to come up with a clean solution first, especially when doing something new. You might spend all your time figuring out the "best" way to do something and not spend any time actually doing it.

I guess it's a tradeoff, and I guess the path I'm taking is working. It'll lead to a great blog post about terrain generation once I'm done, complete with algorithms and crappily drawn pictures explaining them.

Stay tuned.

Recent Game Medals

Three's Company 10 Points Win with three hearts. Medal Stats.
10k 25 Points Reach $10,000 in credit. Medal Stats.
Six Dollar Burger 50 Points Win with 6 rows of cash. Medal Stats.
Ace of Spades 5 Points Get a single spade in a spin Medal Stats.
Too Wild 5 Points Get two wilds in a single spin. Medal Stats.
Seed Savior 50 Points Defeat Vasekto's 4th form Medal Stats.
Sperminator 25 Points Defeat Vasekto's 3rd form Medal Stats.
Castrator Evader 10 Points Defeat Vasekto's 2nd form Medal Stats.
Sea-man 10 Points Defeat Vasekto's first form Medal Stats.
Chibi-mage 10 Points Get all 4 spells Medal Stats.

Total Medals Earned: 553 (From 75 different games.)