Tuesday, December 4, 2012

Homework 12:State



I created a state diagram for the random encounter fights from the perspective of the player.  This diagram demonstrates all of the states of the player and their outcomes.

As soon as the random encounter begins, the players first state is walking. Once they player reaches the alien they can either kick or punch the alien. If the player kicks, then the alien jumps and attacks. If the player punches, the alien blocks, then attacks.
The second chart describes another idea we had for random encounters. We realized the fighting might be a little ambitious so we contemplated having other challenges in the random encounters. This diagram shows the states of a random encounter where the objective is to cage in aliens. The player has an infinite amount of walls and places them on the ground. When an alien hits one of the walls he changes directions.
Both of these diagrams attempt to clarify what verbs happen in different scenarios in our game.
After creating the fighting state chart it became apparent to us that the fighting might be more than we can handle, so the second chart seems to be a more plausible alternative.  


edit: these charts no longer apply to our game, because it no longer has random encounters. But when I made the charts and wrote the assignment they were still relevant. These diagrams were helpful because they made us realize that our original game idea was not great. 

No comments:

Post a Comment