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 explore AR in our game , together with number of other game concepts such as rigid body physics, animation, and particle effects.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.146.255.127