Friday, March 24, 2017

Education Game Build




Documentation:

·        Intent- The purpose of this game is to educate incoming college freshmen on the dangers and risks of contracting Sexually Transmitted Disease (STD). Players are to walk around the four surrounding areas, answer random questions, and participate in the locations while trying to avoid increasing their Risk (the circular gauge) and actively increasing their Esteem ( the yellow stars) and Satisfaction (the yellow bar) to not get a STD.

·        Scope:  My role for this part of the game was for the user to rest at one of the four locations for a few seconds, have a randomized question for that specific area pop-up, and then have the player exit the question. During the time in which the user is prompted with a question, the timer at the bottom of the screen must stop. Regardless of which of the four locations the player stands in, after a few seconds a randomized question for that specific location should prompt the user for a response, with the questions being recycled for that particular area so player’s learn which responses are dangerous.

·        Input: The developer can add questions and their effects on the player through Unity’s Inspector. All the player has to do is move into one of the grassy squares ( using WASD for movement) , stand in one of the four quadrants (they are all grassy planes), wait for the question, answer the question as many times as they want to and/or exit the question by clicking on the red box with the X on it, and repeat this if they wish.

·        Output: Time stops, the player cannot move while the question is active, and if the “X” button is clicked, time resumes and the player can move again. If they player clicks yes or know, either the player’s Esteem (if clicked twice), Satisfaction, or Risk changes.

Guideline:

·        Run the Build in the Educational Game folder. When asked about the game’s settings, make sure the game is set to “Window” mode so the user can quit the application when ready.
·        The four scripts are all involved with each other through inheritance, with the Game Manager serving as the source for many of the variables.

      The code for this functionality can be found here: https://pastebin.com/u/zhardyCode 






Illustrations:




0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home