Developing AR Games for iOS and Android

Develop and deploy augmented reality apps using Vuforia SDK and Unity 3D

Developing AR Games for iOS and Android

Starting
Hassan EL Habbak, Dominic Cushnan

Develop and deploy augmented reality apps using Vuforia SDK and Unity 3D
$19.99
$32.99
RRP $19.99
RRP $32.99
eBook
Print + eBook
$12.99 p/month

Want this title & more? Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.
+ Collection
Free Sample

Book Details

ISBN 139781783280032
Paperback130 pages

About This Book

  • Deploy full augmented reality experiences on iOS and Android
  • Build a fully-functional augmented reality game and deploy it on iOS and Android
  • Achieve better trackable performance for a robust experience
  • Understand the prefabs and components that make up Vuforia SDK
  • Explore the Unity environment to maximize your game development experience

Who This Book Is For

This book is great for people who are either new to Vuforia and/or new to Unity. It is a great introductory guide for anyone with a very basic knowledge of xCode and iOS as well as a very basic knowledge of deploying to Android to start developing 3D-powered augmented reality apps.

Table of Contents

Chapter 1: 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
Chapter 2: Setting Up the Environment
Downloading and installing Unity 3D
Downloading and installing Vuforia
Vuforia sample projects
Starting a Unity project
Build settings
Summary
Chapter 3: Understanding Vuforia
Creating a Unity project with Vuforia
Vuforia prefabs
Summary
Chapter 4: Trackables and Tracking
What are trackables for image targets?
Creating image targets
Trackable score
What decides trackable score?
Exporting datasets to Unity
Summary
Chapter 5: 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

What You Will Learn

  • Import your assets and packages in a Unity environment
  • Create perfect Image Targets for AR tracking
  • Understand how to deploy to iOS and Android from Unity
  • Add colliders to a scene and learn how to respond to events on them
  • Add forces to objects in a scene in a seamless physics-based environment
  • Learn about transformation and positioning in Unity
  • Listen to Vuforia events and respond to them

In Detail

While augmented reality has been around for years, it has never reached its full potential. Now, the vast majority of people are walking around with powerful smartphones that are perfectly suited to house the AR experience. This is the reason why the technology has become as popular as it is now. Augmented reality can deliver a level of immersion that is unrivalled by any other method of development, as it blends our reality with overlaid computer generated data.

Developing AR Games for iOS and Android is a well-structured guide that introduces you to the augmented reality world using a step-by-step approach. It will help you understand how to create powerful AR apps using Unity as well as how to create immersive experiences for users.

Developing AR Games for iOS and Android examines the structures of Vuforia and Unity and how they work together to create augmented reality. The book will introduce you to the structure of the Unity environment and how Vuforia facilitates creating AR apps.You will also see how easy it is to build a whole world in Unity’s Editor. You will go through the process of using Vuforia prefabs like the AR camera and Image Target in Unity, where you can build the AR experience in a what-you-see-is-what-you-get fashion.

In Developing AR Games for iOS and Android, you will learn both basic and advanced techniques that can be applied to achieve truly immersive AR apps and then how to deploy them on iOS and Android devices.

Authors

Table of Contents

Chapter 1: 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
Chapter 2: Setting Up the Environment
Downloading and installing Unity 3D
Downloading and installing Vuforia
Vuforia sample projects
Starting a Unity project
Build settings
Summary
Chapter 3: Understanding Vuforia
Creating a Unity project with Vuforia
Vuforia prefabs
Summary
Chapter 4: Trackables and Tracking
What are trackables for image targets?
Creating image targets
Trackable score
What decides trackable score?
Exporting datasets to Unity
Summary
Chapter 5: 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

Book Details

ISBN 139781783280032
Paperback130 pages
Read More