AR Shooter (Unity Asset) — first-person AR Survival Shooter: kill the zombies and save your life with full immersion in the game! Feel the power of Unity FPS AR Shooter. AR Safety First.
Augmented Reality Shooting Game uses 2 AR Engines with auto selection:
- AR Foundation (ARCore, ARKit) with the next features:
- Real Plane Detection (includes tutorial, visual plane confirmation/resetting, placing the game around the player).
- AR Safe Zone. The player needs to stay in the Safe Zone to avoid accidents during the game, meet enemies with honor and continue the game itself! The game will be paused when leaving the Safe Zone. Learn More on the page of AR Shadow.
- AR Onboarding UX with Transparent Video Manuals & AR States.
- AR Light Estimation: estimates light data in physical space and applies it to game space. Learn More on the page of AR Shadow.
- AR Camera Lite will be used when AR Foundation is not supported by the mobile device. It’s also used when Testing in Unity Editor: the game in Editor is always run with this Engine.
Features of AR Shooter
Bring the enchanting Power of Augmented Reality into your amazing AR Shooting Game or App:
- Feel the Effect of Presence with AR.
- Kill 3 Types of Zombies in Real World: Bunnies, Bears & Elephants.
- Defend “Iron Throne” from Enemy Damage.
- Be Warned about Enemy Attacks through Red Fullscreen Flashes & Health Bar.
- Restart the Game without Scene Reloading.
- Real-Time AR Shadows (docs).
- Mobile Optimizations:
- Unified Demo Scene for both AR Engines with Tutorial.
- AR Camera Lite (docs).
- AR Shadows (docs).
- Menu Scene with AR Safety Tutorial.
- Permission Scene with Camera Permission Request using free Native Camera.
- Loading Screen to switch scenes seamlessly.
Check the Map of Unity Assets to choose the product that best suits your needs.
Learn Limitations separately for Each Asset included in the package.
This tutorial is relevant for AR Shooter 3.5+.
Tutorial for the previous version can be found only in the asset folder.
Getting Started with AR Shooter
Folders & Files in the package by default:
- Makaka Games;
If you have any issues with the first launch then just Reach Support with Invoice Number and Get Help.
If you read this tutorial from PDF, first check the latest docs online to get actual information.
- Create New Unity Project with Unity 2021.3.19 & “3D” Template.
- File > Build Settings > iOS or Android > Switch Platform.
- Next Packages must be manually installed with Git & Unity Package Manager:
- Download and import AR Shooter into Unity.
- Warning Windows:
- Click “Import” to overwrite the Project Settings with predefined ones.
- Click “Install/Upgrade” for Package Manager Dependencies.
- Click “No” when enabling the backends for the new input system.
- Warning Windows:
- Next Packages are provided with Unity Package Manager, and they are already installed for this Asset by default. If packages are missing (Warning Window did not appear) then install them again with Unity Package Manager (with advanced settings enabled: “Pre-release Packages” & “Show Dependencies”):
- TextMesh Pro 3.0.6:
- Always Required: Window > TextMeshPro > Import TMP Essential Resources.
- AI Navigation 1.0.0-exp.4;
- AR Foundation 4.2.7;
- AR Subsystems 4.2.7;
- ARCore XR Plugin 4.2.7;
- ARKit XR Plugin 4.2.7;
- Editor Coroutines 1.0.0;
- Input System 1.5.0;
- Subsystem Registration 1.1.2;
- XR Legacy Input Helpers 2.1.10;
- XR Plugin Management 4.2.1.
- TextMesh Pro 3.0.6:
- Reopen Unity Project.
- Open Scene: Makaka Games > AR > AR Shooter > Scenes > Demo.
- Test in the Unity Editor or Build for Mobile.
How to set up your own Enemy prefab and customize Enemy Amount
- Duplicate one of the customized prefabs: ZomBunnyAR.
- Indicate your 3D-model, audio, etc. inside the new prefab.
- In $ game object select appropriate Enemy Manager: EnemyManagerZomBunny.
- In Random Object Pooler component indicate your own (duplicated & customized) prefab & Maximum Enemy Amount (Init Pooled Amount).
- In Enemy Manager XR set up Spawn Points & Timing as you need.
Learn the Testing Section of AR Throwing.
Tested with Mobile Devices
- iOS on iPhone XS Max.
- Android on Samsung Galaxy A71.
Check the current version of AR Shooter on Asset Store.
The latest versions will be added as soon as possible.
- AR Onboarding UX with Transparent Video Manuals & AR States;
- AR Light Estimation: estimates light data in physical space and applies it to game space.
- Unity 2021.1.28;
- Plane Detection Tutorial: Loading Animation, Clearer Guidance;
- Modern Standards of Project Settings (based on New Unity Project);
- Blocking Player Shooting until Game Start;
- AR Shadow 3.0 (docs);
- AR Camera Lite 4.2 (docs);
- Native Camera 1.3.1;
- AI Navigation 1.0.0-exp.4 package in UPM.
- iOS: “Error Domain=com.apple.arkit.error Code=102 “Required sensor failed.”
- AI Navigation 1.0.0-exp.3 package in UPM (replacement for “NavMeshComponents” folder);
- Unity 2021.1.12.
- Unity 2021.1.5;
- Game Version with AR Foundation (ARCore, ARKit) & Plane Detection. It will run by default if the device supports it, otherwise, Game Version with AR Camera Lite will be run.
- AR Safe Zone for Game Version with AR Foundation. The player needed to stay in the Safe Zone to avoid accidents during the game and meet enemies with honor! The game will be paused when leaving the Safe Zone.
- Using of Native Camera to check Camera Permission before the main scene.
- Restart Button on Game Over screen: restart without Reloading of Scene.
- Menu Button.
- Unity 2019.2.9;
- Unified UI Layout to match different resolutions (iPhone XS Max => iPhone 6);
- TextMesh Pro 2.0.1 is provided with Unity Package Manager now.
- Unity 2018.3;
- New Chapters in AR Shooter’s Documentation:
- How to set up your own Enemy prefab;
- How to change Death Animation.
- Unity 2018.2;
- TextMesh Pro texts for Menu Scene.
- Fix StartCanvas, so you can seamlessly add buttons to HUDCanvas if you want.
New Architecture of AR Shooter with 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;
- Object Pool with separate Enemy Manager for each Zombie prefab;
- Caching of all Components & Animation Parameters for Enemy Prefabs;
- Start Tutorial in Game Scene.
- 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…