playMaker

Author Topic: How to store data online?  (Read 1675 times)

szomaza

  • Sr. Member
  • ****
  • Posts: 253
How to store data online?
« on: October 01, 2016, 10:47:59 AM »
Hi All,

I am making an app an I store a bunch of achievements, progress and stats for the player from one play session to the other but only locally in playerprefs.
It would be a disaster to lose all the when the player gets a new device, or simply deletes and reinstalls the app.

Is there any plugin/extension that would help with this easily: just connect to google game services, iOS or Facebook and save/sync/store/reload the playerprefs?

I have searched the forum but found only EasySave and similar ones which don't solve the server part of the saving.

Please help with some ideas I should investigate.

Thanks in advance,
szomaza

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: How to store data online?
« Reply #1 on: October 01, 2016, 01:11:46 PM »
Hi,
android-native-plugin has a saved game service from google and also has playmaker actions.
ios native does not seem to have a save game service.

If you want the saves to be cross platform i would suggest maybe to use SQLite, XML or JSON

easy save 2 can work with sql and has some information here

for the MySQL server there are several tutorials on youtube :)

szomaza

  • Sr. Member
  • ****
  • Posts: 253
Re: How to store data online?
« Reply #2 on: October 02, 2016, 09:47:01 AM »
Thanks for replying djaydino!

Looks like another thing I might have to learn, just to get something basic functionality done.  :-(

I guess you mean android-native-plugin from Stan's Assets, right?
https://www.assetstore.unity3d.com/en/#!/content/10825

I'll ask him to comment here to make it crystal clear what would be possible with his plugin.