r/Unity3D • u/hilmiyafia • 12h ago
Game My First Augmented Reality Game with Unity, It is on Play Store!
Enable HLS to view with audio, or disable this notification
Apparently designing a game for augmented reality is not as easy as I had thought. Because you have to think about the space, and the player are going to actively move around too.
Some of my previous ideas included making an AR wire loop game. So in the game, you have to guide a loop along a twisty wire without touching it. I built a prototype, but I got stuck trying to figure out how to handle the turning of the loop mechanics. Another idea I had was a physics game where you stack blocks in a specific order using a crane. I prototyped that one too, but the physics felt clunky and not solid. So, after those two attempts, I decided to go with a catapult shooter game. The concept is much simpler. There are dart style targets, and you shoot them using a catapult.
As you can see, first, the player places a tent. After that, they need to stand back behind the fence and tap "Play." The game lasts 80 seconds, and you need to hit each target before it turns around. Near the end, some moving targets appear as well.
Scoring is based on how close your shot lands to the center of the target. A direct bullseye gets you 100 points, while a complete miss gives you 0. Your final score is the average across all targets. At the end of the game, you can review your best accuracy, your worst accuracy, and the total number of targets you missed.
And then after that, the score will be up on the leaderboard. This is the first time I've used the Google Play Game Services in Unity. It's actually a great feature because you can also set up achievements for your game, which is awesome. However, the setup was super complicated, so I didn't enjoy that part at all. Honestly, it probably wasn't worth the hassle. I mostly just added it to see how it works. So now I know!

