Docs

AR Space Shooter 🎯

Augmented Reality for Unity with Vuforia

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

Unity Package contains Demo with Vuforia.

Available in the Unity Asset Store.

Dependencies

See Docs folders in the package for licenses details.

Features

Changes are made regarding the original project by Unity Technologies.
All modules are designed independently to keep this asset extendable & easy to understand.

AR

  • Vuforia (docs). 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);
  • Caching of all Components & Strings;
  • Load Screen Control;
  • Public Unity Events for more flexibility (OnInitialize, OnGameStart, OnGameWin, OnGameOver…);
  • And more…

Testing

You can test the project in the Unity Editor with WebCam.
Camera Mirroring option is provided for more convenient testing on Desktop.

Tested With

  • iOS on iPhone 6.

Download

Unity Asset Store | Download Button


Screenshots of AR Space Shooter

Tutorial

⚡ Check also Vuforia FAQ.

“Getting Started with AR Space Shooter”

For legal reasons, I can’t include some assets in the package, but you can get them for free separately.

If you have any issues with the first launch then just email me with Invoice Number and I will send you complete project.

I used the next software for this tutorial:

  • Unity 2018.1.2;
  • Vuforia 7.1.31;

Steps

  • Download and import AR Space Shooter into Unity;
  • Download and import only next folders from Space Shooter Tutorial:
    • Audio,
    • Models,
    • Textures;
  • Reopen Unity project;
  • Test in the Unity Editor with Unity Remote or build for Mobile.

See also: AR Survival Shooter

Get it on Unity Asset Store (docs).

Support

First of all, read the latest docs online.
If it didn’t help, get the support (info@makaka.org).

Licenses

This asset is governed by the Asset Store EULA; however, the following components are governed by the licenses indicated below:

  1. Vuforia
    Vuforia Developer Agreement
    © 2018 PTC Inc.
  2. TextMesh Pro
    Asset Store EULA
    © 2018 Unity Technologies
  3. Space Shooter tutorial
    Asset Store EULA
    © 2018 Unity Technologies

Changelog

Show Version History

3.0: 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()).

2.1: TextMesh Pro & Unity 2018.2

Read more about TextMesh Pro for Unity 2018.2.

  • Unity 2018.2 version;
  • TextMesh Pro texts for Menu Scene.

2.0: Complete AR Game for Mobiles

  • Unity 2018.1 version;
  • AR Marker operates the spaceship: rotation and horizontal movement;
  • Clean Scene Environment for AR;
  • 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: Camera Mirroring is provided for more convenient testing on Desktop;
  • AR Indicator on HUD;
  • TextMesh PRO for Texts (Texts are updated when they really need);
  • Caching of all Components & Strings;
  • Load Screen Control;
  • Public Unity Events for more flexibility (OnInitialize, OnGameStart, OnGameWin, OnGameOver…);
  • And more…

1.0: First Release

  • AR Desktop Demo with Vuforia: AR Marker rotates the Player’s Shooting Bolt.

3 Reasons AR games have Awesome Retention!

AR Keeps Users Precisely Informed about Game Environment from all sides.
Location-based AR games collect crowds of people in the real world.
AR Communicates better than any other way because of its rich graphics and flexible contents.

Amazingly

Bring the wonderful Power of Vuforia into your App.

Get AR Complete Projects for Unity
User Rating: 5 ( 7 votes)

Andrew Sirota

Hi, friend! I am Founder at Makaka Games. I love Augmented Reality. I am open for communication and ready to implement your craziest ideas. Today we are Starting a new Experiment.

Related Articles

Leave a Reply