Inspiration
The inspiration behind AR Room Runner comes from the idea of making games playable anywhere, not just on a screen. I wanted to use Snap’s AR technology to turn everyday spaces like rooms, floors, and tables into an interactive game environment.
What it does
AR Room Runner is an augmented reality endless runner game built using Snap Games. The player scans their surroundings, and a runner character appears on a real-world surface. The player controls the character to dodge obstacles, collect coins, and score points, making the real world the game track.
How I built it
I built the project using Snap Lens Studio with world tracking and plane detection. A 3D runner character was added with animations, along with obstacle and coin spawning logic using JavaScript. Touch inputs and simple physics control movement and jumping.
Challenges I faced
The main challenges were plane detection accuracy, collision handling in AR space, and optimizing performance for smooth gameplay. I solved these by simplifying models, adjusting scale, and fine-tuning the game logic.
What I learned
Through this project, I learned how to build interactive AR games using Snap Games, manage real-world interactions, and design engaging gameplay that works across different environments.
Built With
- 3d-models
- augmented-reality-(ar)
- javascript
- plane-detection
- snap-games
- snap-lens-studio
- world-tracking
Log in or sign up for Devpost to join the conversation.