CP&E – Additional Scene Interactions and creating the AR User Interface

Old Age Starting Scene

In the future starting scene we wanted a way for the user to navigate through this scene and then be able to continue through the narrative while we knew that the scene changer would load into a different scene. So we created a number of colliders in the future scene which triggers the medicines appearing and also a collider on the bed so when the character wants tot sleep in the story it will change to the next scene which will be the scene changer.

Creating the Level Changer

We added the three medicines into the bathroom and made each one interactive and have a collider which will then be able to trigger the change of scene. We wanted to have it so that when the user comes back to this scene each time the medicine that they previously drank will still be gone and so with a lot of trial and error we did this through static objects in the game manager that will permanenty be set active false after they are collided with the main camera which overall worked very well.

After creating the game manager all of the objects were then linked to the Main camera of the player so that when those particular labelled objects collide with the players head it will trigger the scene linked with that model.

Drinking Sound Effect

We had created now created how the user will transition through the different levels we wanted to further emphasise the effect of taking or drinking the medicine and so the code was changed a but further so that when you lift the medicine to the head collider it will play a drinking sound effect while the bottle dissapears.

Candle Interaction in 1990s

In the 1990s scene i felt that there were still some more interactions that could be added and also help show some additional story elements for the user. In our group we had dicussed that their mother had passed away by this time and this is why they are in the apartment on their own and so perhaps their would be a photo of the mother on display to show this.

I saw an oppurtunity here to add another interaction to this scene by allowing the user to light candles to show respect to the mother character in this particular scene. To do this i added in a lighter model and candles with particle effect flames created seperately above the candles. Thes particule effects were set to false and they could be triggered active on collision with the flame from the lighter which overall did work very well and had the effect I wanted. I improve this further by also having sound and the lighter turning on and off if the player places their hand into its own collider.

]

Leave a Reply

Your email address will not be published. Required fields are marked *