PacktLib: Developing AR Games for iOS and Android

Developing AR Games for iOS and Android


About the Authors

About the Reviewers


What is Augmented Reality?

Definition of augmented reality

Smartphones and augmented reality

Immersion factor for delivering content

Vuforia SDK and how it helps in delivering the AR experience

Unity 3D and how it fits with Vuforia


Setting Up the Environment

Downloading and installing Unity 3D

Downloading and installing Vuforia

Vuforia sample projects

Starting a Unity project

Build settings


Understanding Vuforia

Creating a Unity project with Vuforia

Vuforia prefabs


Trackables and Tracking

What are trackables for image targets?

Creating image targets

Trackable score

What decides trackable score?

Exporting datasets to Unity


Advanced Augmented Reality

Augmented reality games

Unity as a game engine

The Whack-A-Mole game

The Whack-A-Mole model

Creating the ball for the ball gun

Adding audio sources

Scripting the ball gun

Vuforia trackable event handler

Adding a Particles prefab

Scripting the mole character

Mask shader