ROGUEANDROID A Diablo inspired role-playing game for Android University of Illinois CS 428 Professor Darko Marinov Spring 2010 Authors Drew Glass Josh Glovinsky Hyun Soon Kim David Kristola Michael Lai Henry Millson John Svitek 1 CONTENTS RogueAndroid ........................................................................................................................................................................... 1 Figures ..................................................................................................................................................................................... 3 Description ............................................................................................................................................................................ 4 Process .................................................................................................................................................................................... 4 Requirements and Specifications ................................................................................................................................. 7 Choose a Character ........................................................................................................................................................ 7 Displaying and Populating the Dungeon .............................................................................................................. 8 Moving the Character ................................................................................................................................................... 8 Looking Around .............................................................................................................................................................. 8 Character Attacking Monster .................................................................................................................................... 8 Monster Attacking Character .................................................................................................................................. 10 Picking up Items ........................................................................................................................................................... 10 Ending the Game .......................................................................................................................................................... 11 Architecture ........................................................................................................................................................................ 11 Overview.......................................................................................................................................................................... 11 Metaphor ......................................................................................................................................................................... 12 Stakeholders .................................................................................................................................................................. 13 Views ................................................................................................................................................................................. 13 Principles ......................................................................................................................................................................... 14 Design .................................................................................................................................................................................... 15 Overview.......................................................................................................................................................................... 15 Model ................................................................................................................................................................................ 15 View ................................................................................................................................................................................... 19 Controller ........................................................................................................................................................................ 21 Miscellaneous ................................................................................................................................................................ 25 Future Plans ........................................................................................................................................................................ 25 Immediate Extensions ............................................................................................................................................... 25 High-Level Goals ........................................................................................................................................................... 26 Personal Reflections ................................................................................................................................................... 26 Appendix .............................................................................................................................................................................. 30 How to install Eclipse and the Android SDK ..................................................................................................... 30 2 Installation of the RogueAndroid Source Files ................................................................................................ 30 Installation of other files for Development ....................................................................................................... 30 Playing and Debugging the Game .......................................................................................................................... 30 Installing RogueAndroid on an Android Device .............................................................................................. 30 FIGURES Figure 1 Choose Character Screen .................................................................................................................................... 7 Figure 2 UML Use Case Diagram ....................................................................................................................................... 9 Figure 3 Combat Game Play Screen ............................................................................................................................... 10 Figure 4 Boss Monster Screen .......................................................................................................................................... 11 Figure 5 Game Over Screen ............................................................................................................................................... 11 Figure 6 Model-View-Controller Diagram ................................................................................................................... 12 Figure 7 dungeon.txt ............................................................................................................................................................ 13 Figure 8 UML Model Class Diagram ............................................................................................................................... 16 Figure 9 UML Travel Action Sequence Diagram ....................................................................................................... 18 Figure 10 UML Attack Action Sequence Diagram .................................................................................................... 19 Figure 11 UML View Class Diagram ............................................................................................................................... 20 Figure 12 UML Controller Class Diagram .................................................................................................................... 22 Figure 13 UML Touch and Scroll Sequence Diagram .............................................................................................. 23 Figure 14 UML Game Startup Diagram ......................................................................................................................... 24 Figure 15 Coordinate System ........................................................................................................................................... 25 3 DESCRIPTION RogueAndroid is a fast paced tile based role-playing game for Android devices based on the classic game Diablo. RogueAndroid provides an easy-to-use interface including "swiping" technology to view other sections of the map, "touch" technology to attack and travel, and "auto pickup" of items to increase attack and defense bonuses. In RogueAndroid, the game’s quest is to search the dungeon for the Red Dragon and to slay it. Many dangerous enemies are encountered along the way and a fight is always just around the corner. Magic potions can be used to heal and restore hit points lost during battles with monsters. Other items such as swords and shields can be used to raise attack and defense to increase the chance of defeating the Red Dragon and winning the game. Currently RogueAndroid
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages31 Page
-
File Size-