I developed a simple 2D puzzle game (like "bejeweled"). It can be played in two modes - "campaign" and "quick game". "Campaign" mode has several levels. Player can save his progress when quit a campaign level. "Quick game" mode just generates random level and can't be saved. In both modes player can pause the game and a menu will show up. After completing a level (no matter game mode) a statistic window will show up with buttons for exit and next level (if "campaign mode").
Main menu structure:
Pause menu structure:
I have to create an usecase diagram, but I have difficulties. I have made usecase diagrams for windows based software (where there are forms, buttons, textboxes, etc.), but never for games. How should look an use case diagram for a video game (and more particularly for my kind of game)? After that I have to create activity diagrams to explain the whole process in details... if it's important for the use case diagram.
An example of a use-case diagramEach actor interacts with a particular use case. A student actor can check attendance, timetable as well as test marks on the application or a system. This actor can perform only these interactions with the system even though other use cases are remaining in the system.
UCDs have only 4 major elements: The actors that the system you are describing interacts with, the system itself, the use cases, or services, that the system knows how to perform, and the lines that represent relationships between these elements.
Use-case diagrams describe the high-level functions and scope of a system. These diagrams also identify the interactions between the system and its actors. The use cases and actors in use-case diagrams describe what the system does and how the actors use it, but not how the system operates internally.
Try some of these links:
These are pretty good examples of designs...
http://xnagamedevelopment.blogspot.com/2009/03/use-case-diagram.html
https://github.com/ryanalane/Sudoku-Game/blob/master/documentation/Use%20Case%20Diagram/sudoku_usecasediagram.png
This is a detailed paper on UML for games...
http://homepages.inf.ed.ac.uk/perdita/guide.pdf
This is a pretty good discussion about the use of UML in game design, in general...
http://www.gamedev.net/topic/192120-uml-for-games/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With