AR Space Shooter is a top-down shooter in Augmented Reality with Vuforia: destroy the space and save your life!
Available on the Unity Asset Store.
Dependencies
- Vuforia
- TextMesh PRO by Unity Technologies;
Fully Commented Code
All changes are made regarding the original project by Unity Technologies.
All modules are designed independently to keep this asset extendable & easy to understand.
Features
AR
- Vuforia. AR Marker operates the spaceship: rotation and horizontal movement;
- Clean Scene Environment for AR;
- AR Indicator on HUD.
Common
- Menu Scene;
- Screens in Game Scene: Start Tutorial, Game Over, Win;
- Wave Number on HUD;
- Progressive Health System with Health Slider UI and Fullscreen Blinking for Player;
- Damage Amount for Enemies;
- Colored Particles for Asteroids;
- Option: Player Damage Zone (at the bottom of the screen in addition to the player’s collider);
- Option: Auto Shoot without Mouse for Player,
- Option: Increasing count of enemies for the next wave by the target number.
Optimisations
-
Object Pools (Player Bolts; Enemies: Asteroids, Asteroid Death Explosions, Ships, Ship Bolts, Ship Death Explosions);
-
TextMesh PRO for Texts (Texts are updated when they really need);
-
Complete Caching of all Game Objects, Components & Strings;
-
Load Screen Control;
-
Public Unity Events for more flexibility (OnInitialize, OnGameStart, OnGameWin, OnGameOver…);
-
And more…
Tested With
- iOS on iPhone.
Camera Mirroring option is provided for more convenient testing on Desktop.