O'Reilly logo

Building a Game with Unity and Blender by Lee Zhi Eng

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding save points

We want to allow the player to save his/her game progression and continue playing the game in some other days. Some games allow the player to save the game anytime, but some require the player to reach the save point in order to do so. For the first option, you'll need to save a lot more data, especially if the game is action-heavy and not turn-based; otherwise, problems may occur. This is because an action-heavy genre, such as action RPG and FPS, has so many events happening at the same time that if you don't save the current states of all the AIs, events, movements, physics, and so on, the game will not be correctly restored when the player tries to load back the saved game next time.

With the save point, problems like this ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required