Semester 2 W11 | Coding Tutorial Scene Part 1
- Soo Zhi Jing
- Feb 9, 2021
- 1 min read
Now that I have the assets ready for the tutorial scene, I started coding it. The codes here is to task users to perform certain tasks and the next panel will pop up. The planning for every panel is according to the task given, for example the first panel requires users to move their hand around, meaning there will need to be a timer of sorts once they moved their arms for a certain timing, the next panel pops up. The next panel is that users will need to move around, so same theory as the arm but the collider this time will be on the head. The next panel only requires the users to look at the panel to read, setting a timer for how long the users looks at the panel and then the animation on the floor plays to show the boundary. Next, will be the hand gesture trigger where if the user's hand hover over an imagery, it will play an animation. After that is the scene change by gaze trigger where users are required to look at a button and it will transport them to another scene, and they will need to transport themselves back again. Last interaction in this tutorial scene is to teach them how to click, it is basically just to use your right hand and click on buttons.
CODING WALKTHROUGH:
I figured it'll be easier to explain myself in terms of the coding process if I were to do video record of the whole scene, so here is the video for it:
Screenshot of the codes:



Comments