playMaker

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

Splankton

  • Sr. Member
  • ****
  • Posts: 260
    • View Profile
advice on saving data [SOLVED]
« on: May 24, 2014, 09:01:00 AM »
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, 03:20:18 AM by Splankton »

cenab

  • Playmaker Newbie
  • *
  • Posts: 16
    • View Profile
Re: advice on saving data
« Reply #1 on: May 24, 2014, 09:09:53 AM »
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: 506
    • View Profile
Re: advice on saving data
« Reply #2 on: May 24, 2014, 09:43:25 AM »
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
    • View Profile
Re: advice on saving data
« Reply #3 on: May 24, 2014, 11:00:09 AM »
can you attach here some example?

jess84

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
Re: advice on saving data
« Reply #4 on: May 24, 2014, 11:14:13 AM »
See the attachment.

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


cenab

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

Splankton

  • Sr. Member
  • ****
  • Posts: 260
    • View Profile
Re: advice on saving data
« Reply #6 on: May 24, 2014, 11:56:33 AM »
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
    • View Profile
Re: advice on saving data
« Reply #7 on: May 24, 2014, 12:27:51 PM »
please can you attach a scene deleting playmaker

jess84

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
Re: advice on saving data
« Reply #8 on: May 24, 2014, 12: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
    • View Profile
Re: advice on saving data
« Reply #9 on: May 24, 2014, 01: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: 506
    • View Profile
Re: advice on saving data
« Reply #10 on: May 24, 2014, 03: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
    • View Profile
Re: advice on saving data
« Reply #11 on: May 25, 2014, 12:31:51 AM »
like this?

cenab

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

cenab

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