00:00
00:00
MSGhero
Free time is nice time.

Nick @MSGhero

Age 30, Male

Somewhere in the North

Joined on 12/15/10

Level:
17
Exp Points:
2,848 / 3,210
Exp Rank:
19,922
Vote Power:
5.85 votes
Rank:
Police Sergeant
Global Rank:
6,517
Blams:
456
Saves:
937
B/P Bonus:
12%
Whistle:
Normal
Trophies:
6
Medals:
661
Supporter:
11y 5m 10d
Gear:
3

Comments

Thanks for the post! Reading about the mistakes others have made is always helpful to me since I'm a noob and will likely fall into much more traps than you have. :P

I'm glad my torment helps you out :)

I fell into the exact same trap for my other games, and 1 will forever be unpublished because I can't read any of the code, and it's bug-riddled.

Also it uses AS2 and I don't want to use AS2 anymore.

I have a graveyard folder of unfinished projects. I'm bringing one back to life, but yeah I have to redo all the code.

Very good, sounds like you learned a lot. Making rpgs is very hard, and the payoff is usually much less than the love and sweat and tears and pain you put into it. That is the nature of rpgs I think. Keep it up man, game was clearly a heavy work-load and most importantly you learned! Keep it up!

Lots of tears and pain. The future games should end up being easier on me and more stable, so I have that to look forward to.

Apparently you should use OOP features, human-readable variable & method names and lots of comments. Also - packages stored in folders. Making use of interface implementation feature would have helped a lot.

Everything was a bitmapdata, so I couldn't dispatch events easily, and I sorta handled it wrong as well. I had a few interfaces, but that was one of the things I added late, so it did about as much harm as good. Comments would have helped a ton, and not having 1000 line classes...

Dude, I have an old game which has all its code written in a frame - 16K lines of code. Not a single class instance is created - pure arrays, weird variable names, if constructs & function calls.
Guess what? I can add new features in it and even fix occasional bugs. Bug replacing/fixing parts of old code or change the overall structure of game's program is impossible, because I simply can't figure out what happens after what, which variables are used in which places, it takes ages just to scroll through it and find anything. You're telling me about 1K lines classes? That's small - pretty acceptable. Way to go.

I found this last night, and it seems to be relevant to your interests:
<a href="http://gamedev.tutsplus.com/articles/business-articles/web-game-sponsorship/">http://gamedev.tutsplus.com/articles/business-
articles/web-game-sponsorship/</a>

I also recommend a book: Refactoring by Martin Fowler
It's been very helpful with making my code easier to understand and test.

I actually read that a few days ago haha. I might look into the book, but I pretty much have it under control now. At least for now.

Still i burn this earth and fire!