Adding Code to the Questionnaire, Elevator, and Key Cards

posted in DATT3701Group
Published November 15, 2018
Advertisement

Questionnaire:

So far, the data from the questionnaires the player fills out at the end of each level is sent to a new CSV file. In the future, more data will be sent to the CSV file such as the current time so we will know how long the player spent playing the previous level. This information will give us insight on the player's sense of ownership and/or agency. For example, if they take a long time to complete a level with many dangerous elements, it's likely they have a sense of ownership over their avatar.

The script entitled SliderValue updates a text component for each questionnaire question to display its associated slider value. Those text components are what the script "SubmitButton" is sending to the CSV file.

Key Cards

The script titled "KeyCard" is attached to the escape pod. When a key card asset collides with the escape pod's collider, the key card will disappear and the questionnaires set as active.

Elevator:

Currently, the initial two elevators have a script titled "elevator" attached to them that will play an "up" or "down" animation if the player presses a button (or if the space key is pressed for testing on a PC). However, the elevator at the end of the main hallways goes to more than two floors in an unplanned order. Therefore, there are too many possible combinations for animations to be used and another script will be made involving the elevator model increasing its Y position to various heights as specific buttons are pressed.

- Kristen

Screen Shot 2018-11-15 at 9.50.27 AM.png

Screen Shot 2018-11-15 at 9.48.34 AM.png

 

Screen Shot 2018-11-15 at 9.48.47 AM.png

Screen Shot 2018-11-22 at 6.54.17 PM.png

Previous Entry Escape Pod Model
Next Entry Elevator
0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement
Advertisement