Space 4D+ AR Quiz - Mobile AR/VR Game
Overview
An AR/VR quiz game built during my internship at Octagon Studio in Bandung, Indonesia. This project was designed as a new feature for the Space 4D+ educational app. The game lets players explore a 3D space environment and answer quiz questions by pointing their phone camera at 3D objects.
This was my first work at my first real job. It made me fall in love with programming because I could see my code working in 3D. Watching my code create something visual and interactive changed how I saw software development.
Key Features
- Gyroscope Camera Control: Move the camera by tilting your phone, just like looking around in real life
- 3D Quiz Game: Answer multiple-choice questions by looking at 3D objects floating in space
- Point and Select: Use a camera reticle (crosshair) to select your answer by pointing at objects
- Space Education: Learn about space through interactive quizzes in a 3D environment
- iOS and Android: Works on both iPhone and Android phones
- 3D Space World: Play inside a realistic 3D space setting
Technical Highlights
AR/VR Features
This was my first time building an AR/VR app with Unity for mobile:
- Gyroscope Control: Used the phone’s gyroscope sensor to track device movement and rotate the camera
- 3D Space Environment: Built a 3D world with space objects, optimized to run smoothly on phones
- Reticle Selection: Created a crosshair in the center of the screen to select 3D answer objects
- Unity 3D Engine: Used Unity to build the game for both iOS and Android
How It Works
- Players tilt their phone to look around the 3D space environment
- Quiz questions appear with 4 possible answers shown as 3D objects
- Point the camera reticle at the correct object to choose your answer
- The gyroscope makes the camera follow your phone’s movement naturally
Mobile Performance
- Runs Smoothly: Optimized 3D graphics to work well on mobile phones
- Battery Friendly: Made sure gyroscope tracking doesn’t drain battery too fast
- One Code, Two Platforms: Same code works on both iOS and Android
- Different Screen Sizes: UI adapts to different phone screens
Technical Challenges Solved
- Gyroscope Setup: Made the gyroscope work correctly regardless of how the player holds their phone
- Object Selection: Built a system to detect which 3D object the player is pointing at
- Phone Performance: Made the 3D graphics run fast enough on mobile devices
- Comfortable Movement: Adjusted camera speed so players don’t feel dizzy while playing
Implementation Details
- Built with Unity 3D game engine
- Used phone gyroscope sensor to control camera rotation
- Ray-casting to detect which object the reticle is pointing at
- Quiz system designed to easily add new questions
- 3D models and textures optimized for mobile performance
Lessons Learned
This project changed my career. As my first real job, it showed me what programming can create. Seeing my code turn into a 3D game that people can interact with made me realize how powerful programming is.
I learned how to work with Unity 3D, build for mobile phones, and create AR/VR experiences. Using the gyroscope sensor taught me that phones can do more than just respond to touches.
The most important lesson was about performance. Mobile phones have less power than computers, so I had to make my code and graphics efficient. This taught me to always think about how my code will run on real devices.
But above all, this project made me love programming. Seeing my code create something you can see and interact with in 3D space was amazing. That feeling is what made me decide to become a software developer.