Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Any links to existing design (e.g. class diagrams, database ER diagrams) for a basic adventure game - i.e. that has the aspects of:

  • rooms/locations (which you move between)
  • objects which you collect / use (which may have behaviours)
  • inventory (i.e. items which you carry)
  • rules (e.g. if you to want to open Door X, then you need Key Y)
share|improve this question
2  
different kind of game, but worth considering: cowboyprogramming.com/2007/01/05/evolve-your-heirachy –  Ray Tayek Apr 22 '12 at 19:37
    
There is no such thing as a "general software design and database structure" for games. It would be helpful to know more about the elements and mechanics of your game to provide a specific answer as to how you might implement it. –  BerndBrot Aug 22 '12 at 14:40
add comment

1 Answer

I hate to say it but the basic adventure games with those features that I know of are mostly just thrown together ad hoc, it's pretty basic programming following YAGNI principles. There are no diagrams, UML, or extensive documents except for the scripting language chosen and the interfaces the designers can use. I've never seen any, at any rate.

That being said, one great example to check out would be SCUMM and another, more elaborate example would be LPMUD engine code which has all those features and could be downgraded into a single player experience with some work.

This forum itself is a good resource but you must narrow your search to just one feature at a time to get the best results; even then you're going to see a lot about techniques and very little in the way of diagrams.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.