Make A Game Like Pokemon in Unity | #47 - Saving Player Party

Опубликовано: 13 Декабрь 2024
на канале: Game Dev Experiments
5,862
245

This is Part 47 of Make a Game Like Pokemon Series in Unity. In the previous video, we looked at how we can save & load simple data like the player's position. In this video, we'll look at how to save more complex data like the player's party. We'll store the HP, level, moves etc. for all the pokemons in the party.

Join my Patreon to support this series and get access to the Complete Project files (Also contains some extra features not covered on youtube)
  / complete-project-39632268  

Script files for each part of this series (You can use this to compare with your script and find any mistakes)
  / script-files-for-38708232  

Download the art assets needed to follow along with this series
https://github.com/GameDevExperiments...

0:00 - Intro
1:02 - Saving a class
5:41 - How to save pokemon data?
7:56 - Create PokemonSaveData class
10:24 - Functions to save/restore pokemon data
16:08 - Create Pokemon Database
22:41 - Get Pokemon data by it's name
25:07 - Initialize thing after restoring
27:25 - Save & Restore player's party
32:40 - Saving moves of the pokemon

If you like this series, consider subscribing to the channel and leave a like on the video to help this channel grow.