PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Design methodologies: between design doc and coding

Hi all.

I've been reading several game design books lately, trying to compensate for one of my failings, that is the step between the design document and the actual programming.

In the prjects I worked on up to now, I've always went from design doc to structuring the classes and writing the actual code. This works fine for smaller projects, but I've failed several times when working on larger projects.

I'm currently working on a game project which is not small nor big. The game mechanics and size could be compared to a much simplified SimCity 2000.

What we currently have is a design documents, list of screens, and general gameflow. The design doc contains most if not all the game rules.

At this stage I don't feel confident at all about going straight to programming, and I'm searching for a middle step. I also need this separate step so I can communicate the design to other members of the team.

In the past I tried UML, but I'm probably extremely bad at it, because even a very simply project ends up the complete opposite of what I designed in UML. I've read a couple of books on it and understands the basics of static structures and sequences, but the resulting code is never even near the UML design. A testament to either my incompetance or inexperience with UML and/or design.

Does anyone have either a new methodology or technique to offer? Or maybe a good book you read? I've read several game design books, including:

andrew rollings and ernest adams on game design
art of computer game design (Crawford)
tricks of windows game programming gurus
UML distilled 2nd edition
game design theory & practice
game design foundations
A few others...

However none of these books seems to make a clear case of the design process after the design doc stage, or either dive directly in the code, which is something I'm not doing for our current project.

Any info would be greatly appreciated.

Thanks,

--Eric Fortier
Hi Eric,

I like this book. Try to read this book : Isometric Game Programming with DirectX 7.0 Here's the link from Barnes and Noble. ;-)http://search.barnesandnoble.com/booksearch/isbnInquiry.asp?userid=2WKM52GTDZ&isbn;=0761530894&itm;=1

You might pick up something from this
You can think of working on the classes (in UML or whatever) as low level design.

Obviously, there is such a thing as high level design, and it occurs at a level higher than class design.

This is where you create the architecture of the program. Estabilish the subsystems. Map out the protocols. Etc.

Not many game design/programming books seem to go into this, but of course general books on software design typically do.

Is this what you mean?
I just flipped through the isometric game programming book denthorq mentioned. I'm not sure it covers that sort of design very much.

I have read a lot of books on software design. If you can better describe what type of design you are interested in, I might be able to recommend one.
Hi Eric,

I'm not a game guru but I'll share my inputs on this topic somehow. In our case, we followed just a simple methodology when it comes to completing game projects. It may not be as documented and as organized as what you have mentioned but it works for us and keeps us on schedule. Here's a short outline of how we approach a game project whether small or big (in layman's terms :)).

1. Establish gameplay and game theme
2. Create a generic storyboard/timeline (if required)
3. Create preliminary sketches for screenflow, screen designs, character designs
4. Compile everything into a single document
5. Define the technologies involved in the project that we'll be tackling for the first time
6. Divide work among colleagues (who knows what and who does it best and fastest)
7. Create a prototype (to experiment gameplay, technical stuff, and determine any problems as early as possible)
8. Revise the documentation according to findings and this time, include schedule

The steps above are usually done in 1-2 weeks time so that we won't be wasting time if just in case the project just doesn't work out OR at some point we find it too complicated/long w/ respect to our other schedules.

If all the steps above were successful, then the actual coding begins and we update the document from time to time to fill in a more detailed information. So far, it worked for us in Tower Mogul and in my upcoming game. ;)

At this point, as I see it, an artist/game designer who can illustrate well is really valuable in order to make a project successful and ON TIME. I also believe that you can create an "early" (or trimmed down) prototype of the game and send it to your team members to give them a rough idea of the big picture. It can just be a powerpoint style app but make sure that it expresses the general idea very well. Please take note that I'm not saying that what we're doing is the best methodology out there.

I also believe that mlepage is right. You should be looking for a "software design" book instead of a game design/doc book because you're discussing SW here in general. And then you can integrate the "game-specific" steps as soon as you have an outline of the software design process.

Hope this helps!

Erick
Hi!

Thanks for the replies.

denthorq: I have also read that book by Andre LaMothe. Well, I have read parts of it, since I'm pretty used to DirectX, and DX7 is not really state of the art. But I indeed picked up a few things from that book. The "tricks of the windows gurus" 1 & 2 are also incredibly packed with great infos for 2D and 3D graphics.

mlepage: Thanks. To better describe what I need to design... We currently are 2 persons working on the design. We currently have all the game elements listed. We have the basic ideas of how they operate together. We have the gameflow and screens listed.

I feel very uneasy starting to work on programming related stuff like classes. For one, the other person working with me knows nothing about programming and I don't want to repeat the mistakes of my last projects, for which I went directly to programming at this stage.

I'm absolutely cluesless at how I should evolve the design document into some kind of design structure that I could follow for implementation. And more importantly, something I could show my partner and that he could understand, kind of a roadmap I can follow and update during development.

The game is a simulation. It has an economy (income and expenses) and various type of (micro/macro) management of assets. There are also computer controlled "opponents" that compete to win the game.

I've been thinking about taking the big elements of the game (the players, AI, economy, etc) laying them out, then dividing them into smaller and smaller blocks until I can get to small enough blocks that I can "connect" them together with the gameflow and lay out some general classes and such. Hopefully achieving a "map" of what needs to be done in term of general programming, and something others can review and unserstand.

This is the first time ever that we try to define this intermediate step in development, the link between the design document and the actual programming work. We've spent lots of time on this and we're still not satisfied and/or getting anywhere.

I had to spend some time writing this reply and it helped me see more clearly the step I need to properly define, that is the link between design doc and programming.

I look forward for your comments, sorry for the length of this post!

Thanks,

--Eric
Hi Erick,

Thanks for the comments. You are right, maybe I've been too focused on game design book. Something about general software development is probably a better resource as it will apply to any software project.

Given my reply above, maybe you or mlepage will have a book or books or web resource to recommend.

I really don't want to rush in development and risk ending up with no roadmap of what to do and no way to let others know what I am doing and what I will do next...

Thanks guys.

--Eric
My humble opinion :

Nothing is more valuable than experience and design methodologies are just a way to fake experience.

It's good to read books but reading them without experimenting by yourself will not transform you into a guru.
StephC wrote:
My humble opinion :

Nothing is more valuable than experience and design methodologies are just a way to fake experience.

It's good to read books but reading them without experimenting by yourself will not transform you into a guru.


I can somewhat see what you are saying. I do not believe in methodologies myself. Not a single one of them has been able to demonstrate that it works consistently and more importantly, as-is.

This is not to say you shouldn't have a development process. I am myself a big fan of Test Driven Development (TDD), but is usefullness is still limited to less then 50% of the work I do.

See: http://www.artima.com/intv/testdriven.html

Although I do not believe in XP much, the TDD part is nice to quickly prototype modules. It is not really useful IMO when it comes to integration. In fact, my limited experience with TDD (around 1 year) seem to suggest that it complicates integration.
Hi,

Stéphane: I totally agree with you that it's pointless to just read and read and try to "emulate" what other people do, without trying it for ourselves.

I also think that many books express some people's experience; and some pieces of information, gathered here and there, can benefit many developper.

Thierry: I think that the term "development process" better describe what I'm after. I'm not really after one way of doing everything, but rather a way to look at things to better plan the work to be done.

Thanks for the link, I'll review that right away!

--Eric

I've been thinking about taking the big elements of the game (the players, AI, economy, etc) laying them out, then dividing them into smaller and smaller blocks until I can get to small enough blocks that I can "connect" them together with the gameflow and lay out some general classes and such. Hopefully achieving a "map" of what needs to be done in term of general programming, and something others can review and unserstand.


Drawing a picture or map of how your program operates is a great starting point. Start with the biggest blocks you possibly can. Subdivide as you noted and draw connections. Note what type connections you make. Are they parent/child, clien/server? Does a block connect to many blocks, do some block provide very simliar functionality? You will probably find that as you go through this proces you will start seeing code and data structures. When you start seeing this, quickly write it down and move on to another block. Don't get caught up in programming at this point... it will likely change as you further discover how the blocks relate to each other. Most likley you will get to the point where blocks are classes and the coding will follow very easily.

On big projects I have taken 'blocks' and written down what services they provide, information they hold etc on a sheet of paper. One sheet for each block and then literally arranged them on a table. I find it much easier to understand the relationships when I can *actually* see them all at one time. It is hard to look at a source file and determine what role that file (thus class) plays in the big picture.

A note or warning, however... this method is highly dependant on how your brain visualizes things. It is a complete waste of time if you have the ability to keep it all in your head. The more 'academic' you are the worse this approach works.

Best of luck!
Pejo Software - Per · 04 Dec 2003, 14:00 UTC
First let me address Stephane's point, regarding books not being a substitute for experience. That is true, but so is the reverse. If you only go by experience without some extra book learning, you will be missing out on a lot. You need both to be the best you can be. Also, as efortier pointed out, books can also contain the culmination of more experience than you could possibly ever gain in your lifetime; they need not be mutually exclusive.

As for general software design books, as recommended by myself and egarayblas, I am going to suggest taking a look at a reading list from Construx. This is Steve McConnell's company, who is the author of the excellent book Code Complete.

I believe you can get it by registering (free) for the professional development resources at www.construx.com. It's probably been updated, but I have an old copy here:

http://www.antimeta.com/inventory/const ... _list.html

My copy is colour coded to reflect what I've read, so feel free to ask me more about anything I have or that I've read. Some reading is required, some recommended, etc.

There is a section specifically on design reading, scroll down to find it. Each book is described after the section in which it is first encountered, so you may have to scroll up to read its description.

This should be a good starting point for learning more about design. It doesn't hurt to read ALL of the required and even recommended reading, and take what you can and apply it to game design and development. If anyone scoffs that this is not as productive as "just doing it," pay them no attention and give it a try anyways. That said, do apply what you learn in practice, ideally on an actual project you are working on.

P.S. If anyone has electronic copies of the blue coded materials, those are the ones I still need and I'd appreciate a copy.

The rest of my library is (mostly, I still need to update) listed here, where I have more books on development that I've read.

http://www.antimeta.com/inventory/books.html

So let's say you read the Booch book, the design patterns book, the Yourdan book, and Unified Software Development Process book, Code Complete, and ideally even the Bertrand Meyer book. And applied them as you went (I was designing and implementing the whole time I read those books.) You'd be hard put not to become a better designer through that exercise (which will take years).