top | item 7896479

(no title)

dhmholley | 11 years ago

I hope the source isn't too horrible. I was basically a complete javascript novice when I started coding the game. If I were to write it again I'd probably do it very differently, though I still have a lot to learn.

discuss

order

reitzensteinm|11 years ago

You finished it, which is by far the most important thing. Without that, it doesn't matter what the code looks like because you'd have achieved nothing.

My first Flash game that I wrote in two weeks had some god awful copy pasted code that made me embarrassed to show anyone. But it made six figures over the years and launched what turned out to be a viable career in game development (I've never had a real job).

Code quality is important to work on, but it's just there to help you with the primary goal: shipping something cool.

You got there, so fuck the code. Great job.

makmanalp|11 years ago

The trick is to reduce parts where you duplicate a lot of code by using generalized functions to abstract things out.

Gigablah|11 years ago

You got me stuck on your game for two days. I think I might just start coding an incremental game of my own. Cheers!