playMaker

Author Topic: advice on saving data [SOLVED]  (Read 4746 times)

Splankton

  • Sr. Member
  • ****
  • Posts: 268
advice on saving data [SOLVED]
« on: May 24, 2014, 12:01:00 PM »
Hi, what is the best way to save data on mobile?
Is player prefs secure enough?
What about easy 2 save. Is that more secure?  I don't want the saved data to be accessed in any way.
Thanks for any advice.
« Last Edit: May 25, 2014, 06:20:18 AM by Splankton »

cenab

  • Playmaker Newbie
  • *
  • Posts: 16
Re: advice on saving data
« Reply #1 on: May 24, 2014, 12:09:53 PM »
i am also looking mobile save
easy save i dont know how it is working for playmaker
there is no tutorial about that

jess84

  • Hero Member
  • *****
  • Posts: 515
Re: advice on saving data
« Reply #2 on: May 24, 2014, 12:43:25 PM »
I'm using EasySave2 and it works perfectly on mobile.

It supports encryption.

The PlayMaker actions are very simple to use - e.g. Save Variable or Load Variable, all variable types seem to be supported.

cenab

  • Playmaker Newbie
  • *
  • Posts: 16
Re: advice on saving data
« Reply #3 on: May 24, 2014, 02:00:09 PM »
can you attach here some example?

jess84

  • Hero Member
  • *****
  • Posts: 515
Re: advice on saving data
« Reply #4 on: May 24, 2014, 02:14:13 PM »
See the attachment.

You set the info you want to save (or load), that's it.


cenab

  • Playmaker Newbie
  • *
  • Posts: 16
Re: advice on saving data
« Reply #5 on: May 24, 2014, 02:45:03 PM »
Save.txt you are typing manually?
i try like this
but txt inside nothing was after saving

Splankton

  • Sr. Member
  • ****
  • Posts: 268
Re: advice on saving data
« Reply #6 on: May 24, 2014, 02:56:33 PM »
I'm using EasySave2 and it works perfectly on mobile.

It supports encryption.

The PlayMaker actions are very simple to use - e.g. Save Variable or Load Variable, all variable types seem to be supported.

Ok Thanks Jess :)

cenab

  • Playmaker Newbie
  • *
  • Posts: 16
Re: advice on saving data
« Reply #7 on: May 24, 2014, 03:27:51 PM »
please can you attach a scene deleting playmaker

jess84

  • Hero Member
  • *****
  • Posts: 515
Re: advice on saving data
« Reply #8 on: May 24, 2014, 03:30:23 PM »
Save.txt you are typing manually?
i try like this
but txt inside nothing was after saving

I have no idea what you mean.

You tell it what you want the save file to be called. (in this example save.txt)

Then when you want to load that the item that you have saved, the tag name you gave it, use that tag name again on the Load action.

The screenshot I gave you shows what you would need to do to save an Int, and restore the int.

cenab

  • Playmaker Newbie
  • *
  • Posts: 16
Re: advice on saving data
« Reply #9 on: May 24, 2014, 04:33:29 PM »
i have int global  it is cash
normally it is 800
value=800
duaring the game the cash int changing buy buying and selling think and so on
now i want to know how can save and load it when the next time i am going to start game 

jess84

  • Hero Member
  • *****
  • Posts: 515
Re: advice on saving data
« Reply #10 on: May 24, 2014, 06:33:42 PM »
You would put the action to Save immediately after the actions you use to buy/sell items. And put the action to Load the value when you start your game.

cenab

  • Playmaker Newbie
  • *
  • Posts: 16
Re: advice on saving data
« Reply #11 on: May 25, 2014, 03:31:51 AM »
like this?

cenab

  • Playmaker Newbie
  • *
  • Posts: 16
Re: advice on saving data
« Reply #12 on: May 25, 2014, 03:53:15 AM »
thankyyyyyyyyyy
i done like this and it is working

cenab

  • Playmaker Newbie
  • *
  • Posts: 16
Re: advice on saving data
« Reply #13 on: May 25, 2014, 03:54:07 AM »
please make this topic
solved