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