In this chapter, we started out slowly by first understanding how to store the player's caught monsters. After that, we looked at a couple of database options before deciding on a cross-platform object relational mapping tool for SQLite, called SQLite4Unity3d. We wrapped the database into our new Inventory service and then wrote CRUD operations for our monster inventory items. From that, we determined we needed a better way to randomly generate monsters, so we developed a monster factory. That allowed us to loop back and complete the Catch scene by incorporating the monster factory for generating monsters and inventory service for storing caught monsters. With monsters being stored in the database, we then developed a new inventory scene ...

Get Augmented Reality Game Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.