PacktLib: Developing AR Games for iOS and Android

Developing AR Games for iOS and Android

Credits

About the Authors

About the Reviewers

www.PacktPub.com

Preface

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

Summary

Setting Up the Environment

Downloading and installing Unity 3D

Downloading and installing Vuforia

Vuforia sample projects

Starting a Unity project

Build settings

Summary

Understanding Vuforia

Creating a Unity project with Vuforia

Vuforia prefabs

Summary

Trackables and Tracking

What are trackables for image targets?

Creating image targets

Trackable score

What decides trackable score?

Exporting datasets to Unity

Summary

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

Summary

Index