<AR GAME> Oxygen Poor
- Amelia Zhu
- Jun 18, 2021
- 1 min read
Updated: Jun 23, 2021
Development and design 4
Design the UI interaction behavior of AR APP

Part 1 --- Set up the interaction mechanism of ‘start game’
Learning Reference
- Add the UI button to the canvas, when clicked, react in the c# script.
- Add a time limit for the game homepage and button state changes.
Tutorial
- Master Unity Button OnClick actions! - Unity UI tutorial
- Unity Button Click Events C# Script Tutorial
- How to fit your Unity Game on Different Screen Sizes!
Steps
- Enter the app and automatically stay on the game homepage for 3 seconds.
- After the game homepage is closed, the prompt interface,
start button will pop up.
- After clicking the start button, the prompt interface disappears and the game
starts.


Part 2 --- Oxygen content: the interaction of the game health point
Interaction logic + Steps
- 5 seconds after starting the game, the ‘oxygen content’ health bar is reduced
from 100% to 60%.
- After 5 seconds, the ‘oxygen content’ health bar was reduced from 60% to 30%
- The ‘oxygen content’ blood bar turns black at 30% and starts to flicker.




Part 3 --- Interaction between oxygen ‘game hp’ and alarm sound effect
Test
Comments