Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Augmented Reality Game Development

You're reading from   Augmented Reality Game Development Create your own augmented reality games from scratch with Unity 5

Arrow left icon
Product type Paperback
Published in Jan 2017
Publisher Packt
ISBN-13 9781787122888
Length 334 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Micheal Lanham Micheal Lanham
Author Profile Icon Micheal Lanham
Micheal Lanham
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Augmented Reality Game Development
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
1. Getting Started FREE CHAPTER 2. Mapping the Player's Location 3. Making the Avatar 4. Spawning the Catch 5. Catching the Prey in AR 6. Storing the Catch 7. Creating the AR World 8. Interacting with an AR World 9. Finishing the Game 10. Troubleshooting

Summary


For most of this chapter, we wrote and updated the various core scripts needed to track the monsters on the map. We first started by understanding some fundamental math to calculate spatial distances. Then, we moved on to to understanding GPS accuracy and the factors that influence accuracy. After that, we jumped into scripting the monster service script and other dependent scripts. Next, we added prefab instantiation code to the monster script in order to show a simple prefab on the map. Then, we imported a new monster character into the game and configured a new monster prefab. Through testing, we determined there were a few issues yet to be resolved. These we then resolved through a script update and review. Then, finally we implemented a way to track audible monsters using a simple footstep icon that we added as a new UI element.

In the next chapter, we allow the player to try and catch the monsters inside an alternate reality view. This will be the first chapter where we will...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images