-1

I am intend to savegame save and load all the player data in json to mysql database using database unity with PHP. Is it effective ?.

My analysis that we don't need to use binary formatter to make a savegame file and if saving and convert the savegame data to mysql database our game can login and load continues play in any devices. We also have a big capacity i think in the disk.

If we save to database mysql we also don't need to used a transfer device feature to move to another devices if want to continues playing with the different mobile devices. All we need just login to database to get the savegame that store i Database Mysql.

Is this sense a problem with this way ? Like maybe making it lag or slowdown the game and soon.

Many Thanks

Toastgeraet
  • 371
  • 1
  • 11
Dennis Liu
  • 303
  • 5
  • 21

1 Answers1

0

Well the strong reply to your question is it depends on different things. Two consideration according to my understanding with respect to your question,

  1. If you want to maintain user score-board or access of user game data across different devices then you have to store data on server. No matter what are the loading/unloading time concerns

else

  1. You can store it in user mobile like use writing text file or PlayerPrefs

You can also read Best Way to store data in Unity3d

Community
  • 1
  • 1
Muhammad Faizan Khan
  • 10,013
  • 18
  • 97
  • 186