Trending

AR Survival Shooter

AR Survival Shooter is the first-person shooter in Augmented Reality: kill the zombies and save your life with full immersion in the game!

Important: This is the docs for 2.0+ version of the asset.
For the previous version use the local tutorial in the package folder.

Unity Package contains a demo with AR Camera GYRO (docs) & AR Shadow (docs).

All modules are designed independently to keep this asset extendable & easy to understand.

Note: Cross-platform mobile camera implements markerless augmented reality (AR) by using a gyroscope (like Pokemon GO).

Available in the Unity Asset Store.

Dependencies

All paid assets are included in the package.

Features

Changes are made regarding the original project by Unity Technologies.

AR

Common

  • Menu Scene,
  • Start Tutorial in Game Scene,
  • Colored Particles for Zombies.

Optimisations (Mobile, UI, etc)

  • Object Pool with separate Enemy Manager for each Zombie prefab;
  • Caching of all Components & Animation Parameters for Enemy Prefabs;
  • TextMesh PRO for Texts (Score Text is updated when it really needs),
  • UI is noticeable on Mobile now (new cool design of Health UI),
  • Load Screen Control,
  • Mobile Shaders for enemies,
  • Public Unity Events for more flexibility,
  • And more…

Testing

You can test the project in the Unity Editor with Unity Remote.
You need to hit Play – Stop – Play for gyro detecting (specificity of Unity Remote).

Tested With

  • iOS on iPhone 6 (by myself),
  • Android (by my clients).

Download

Unity Asset Store | Download Button


Screenshots of AR Survival Shooter

Tutorial

Getting Started with AR Survival 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 Unity 2018.1.0f2 for this tutorial.

  • Download and import AR Survival Shooter into Unity;
  • Download and import Survival Shooter Tutorial with API Updating:
    • Don’t import:
      • Readme.asset;
      • Folders:
        • ProjectSettings,
        • TutorialInfo;
  • Reopen Unity project;
  • Test in the Unity Editor with Unity Remote or build for mobile.

Folders & Files in package by default:

  • Makaka Games;
  • PostProcessing;
  • TextMesh Pro.

How to set up your own Enemy prefab

  1. Duplicate one of customized prefabs: ZomBunnyAR.
    1. Indicate your 3D-model, audio, etc. inside new prefab.
  2. In “EnemyManagers” game object select appropriate Enemy Manager: “EnemyManagerZomBunny”.
    1. In “Random Object Pooler” component indicate your own (duplicated & customized) prefab.
    2. Fix “Spawn Points” as you need.

How to set up your own zombie prefab

How to change Death Animation

If you change the model then you need to change Death Animation. You need to add Animation Event with call of “StartSinking ()” function (EnemyHealthXR.cs) in place on the timeline of your own animation where you need it.

How to change Death Animation?

Related Shooter Games

Support

First of all, read the latest docs online.
If it didn’t help, get the support.

Changelog

Show Version History

2.2: Unity 2018.3

  • Unity 2018.3 version;
  • New Chapters in Documentation:
    • How to set up your own Enemy prefab;
    • How to change Death Animation.
  • Fix StartCanvas, so you can seamlessly add buttons to HUDCanvas if you want

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: New Architecture: Object Pools

EnemyManagersXRControl initializes each zombie type (EnemyManagerXR with Object Pool) now (more performance). There are 3 object pools in total: ZomBunny, ZomBear, Hellephant.

  • Unity 2018.1 version;
  • Object Pool with separate Enemy Manager for each Zombie prefab;
  • Caching of all Components & Animation Parameters for Enemy Prefabs;
  • Start Tutorial in Game Scene.

Optimizations:

  • Merge EnemyMovementXR.cs with EnemyHealthXR.cs;
  • InvokeRepeating () => Coroutine in EnemyManagerXR.cs;
  • Set “navMeshAgent.enabled = false;” once after Death;
  • Enemies are disappearing right after death now.

1.1: More Complete Project as a Separate Game

  • Shoot Animation,
  • Menu Scene,
  • Load Screen Control,
  • Colored Particles for Zombies,
  • Mobile Shaders for enemies,
  • Public Unity Events for more flexibility,
  • And more…

Advantages

  • Feel the effect of presence.
  • Kill the zombies in the real world.
  • Same AR as in Pokemon GO game.
  • Greater coverage of devices.

Bring the enchanting Power of Augmented Reality into your amazing Game or App.

1 Star2 Stars3 Stars4 Stars5 Stars
(2 votes, average: 5.00 out of 5)
Loading...
Support for Unity Assets
I am Andrew Sirota, Founder at Makaka Games and full-time Publisher on Unity Asset Store. First of all, read the latest docs online. If it didn’t help, get the support.
Related Articles
4 Comments
  1. Andrew, Can I play this before buy to see features runing or have a problem to deploy this to the playstore (android)?
    maybe I know answare but we need ask…

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.