Chapter 8: Building Data Stores
In this chapter, you will learn how to let players make progress in your game and continue building on this progress even if they decide to leave and rejoin the game. You will learn how to do this by using data stores. We will start with an introduction to data stores that will teach us the basics of how to save and load data. This will help us understand how data stores work. Once we know this, we will learn best practices to make our data stores safer and prevent data loss. Finally, we will learn how to use ordered data stores, which will allow us to make leaderboards that feature the best players of our game.
The following topics will be covered in this chapter:
- Introduction to data stores
- Writing safer data stores
- Working with ordered data stores
- Exercises
By the end of this chapter, you will know how to build data stores using best practices. You will know how to save, load, and remove data. In addition, you will know...