I am ready to create a text based oop game.
Posted 15 October 2011 - 05:18 AM
I have looked for layouts everywhere and still can not find anything to help me know where to begin. Like the Game Loop and whatever Loops are inside that loop, and so on.
I have tried looking at UML to get an idea of object layouts but I always end up frustrated. This is my first post and I really hope someone can shine a light on my situation.
Thanks in advance!!! Jamie
Posted 15 October 2011 - 09:14 AM
Im not sure why you would need UML, just write an oop c++ program, text based, with windows sockets and you got a traditional mud, or maybe not so traditional. ;)
I take object oriented programming for granted, I just code hybrid c,c++, it suits my needs. My advice is just learn a language, then youll know what to do.
Maybe an object layout would be... "character" and "map location" and "item" and "spell" maybe.
Posted 15 October 2011 - 04:50 PM
I guess what I am asking is there any Game Templates out there for beginners to give them an idea of the first steps in designing a text based game.
Any websites are greatly appreciated. Thanks!!
Posted 15 October 2011 - 06:04 PM
A typical mud is a large graph, where each node represents an area and its edges dictate what direction you can move in. Each node would contain, for example, a modifiable description, a dynamic list of people, monsters, items, things that can be interacted with, etc. Brainstorm and write down all the nouns in your game. Use a UML editor and figure out the relationships between classes. Use inheritance where logic is common amongst multiple entities, or use templates if you want to break the entities down by type. Think about the NPC engine and how you will use "smarts" to move NPC and monsters around. Maybe define a zone where they will dwell for example.
There's a lot more game mechanics you will run into, such as AI, turn based combat, large scale graph handling, serializing, etc. These are topics you should think about as you architect your game. I don't know of any MUD dev how-to websites, but just think about it. It's not terribly difficult to conjure something up.
Posted 15 October 2011 - 06:33 PM
Maybe I am going at this in a different perspective or completely wrong altogether. At least now I have more I can research.
I will take all that I can get!!!!!
Posted 15 October 2011 - 09:56 PM
Of course I could barrage you with a whole lot of my knowledge, but its best for you to learn your own way, really.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users