AR Space Shooter ☄️ Vuforia & Augmented Reality ☄️AR Shooter — Unity AR

AR Space Shooter is a top-down shooter in Augmented Reality with Vuforia: destroy the space and save your life!

:zap: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.

:zap: NEW VERSION 3.0 | AR SPACE SHOOTER

Object Pools: New Architecture & More Performance.

GameControllerAR initializes PlayerControllerAR & each object pool for Enemies.
PlayerControllerAR initializes object pool for Player Bolts.

There are 6 object pools in total:

  1. Player Bolts,
  2. Enemy Asteroids,
  3. Enemy Asteroid Death Explosions,
  4. Enemy Ships,
  5. Enemy Ship Bolts,
  6. Enemy Ship Death Explosions.
  • Option: Increasing count of enemies for the next wave by the target number.
  • Complete caching of all game objects (remove all unnecessary calls of Instantiate()).

:comet: AR Space Shooter — 3.1 — New Version

Version 3.1 (Support for New Versions of Engines):

  • Unity 2018.3;
  • Vuforia 8.1.7.

Check new version of AR Space Shooter on Asset Store.

:star: AR Space Shooter 3.2 — Update

— Unity 2019.2.9;
— Vuforia (8.5.8) Shipping Way — Unity Package Manager;
— Scene GUI Layout — iPhone XS.

AR Space Shooter is included in the new AR Bundle.