(I've posted same question on goblincamp.com forum, so please be patient if you read twice this question, I've searched on forum but found nothing about it)
Hi!
I'm new here, but I'm playing a lot GoblinCamp, what I like:
- UI
- possibilities
- tile set into forum (great work guys!)
I see code base of Goblin Camp and as programmer I have few questions:
- how do organize all the things? I mean: do you have a GameObject for general stuff, a matrix to all things to display and so on ?
- how do you organize code source? What inheritance, etc.. ?
All this questions came from a guy searching for a guide to organize my code in better way possible to do a little rougelike and goblincamp seems to perfect to ask something
thanks for your times,
As a general rule, I try and keep my code organized into 'blocks', where each block contains a particular function and anything related to it. That way, if an error pops up in a given function, I just need to scroll up and look things over. Start with Jotaf's tutorials -- he covers the basics and you'll get a game going, as well!