playMaker

Author Topic: XML Save and Load  (Read 4332 times)

Nog

  • Playmaker Newbie
  • *
  • Posts: 47
XML Save and Load
« on: March 13, 2015, 02:21:18 AM »
Hello Everyone,

Is it possible to use an XML file and DataMaker XML to create a save and load system, so the player can save his or her progress while they are playing a game?

Thank you for any information.

Nog


 

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: XML Save and Load
« Reply #1 on: March 13, 2015, 02:27:26 AM »
Hi,

 yep, totally. You would need to use PlayerPrefs to save your xml as a string and store it on the user device, then XmlMaker can create nodes, edit them etc, and then saving it back as a string to be stored in that player pref.

 Bye,

 Jean

Nog

  • Playmaker Newbie
  • *
  • Posts: 47
Re: XML Save and Load
« Reply #2 on: March 14, 2015, 02:47:26 AM »
Hello,

How do you create and save XML files with PlayerPrefs? I believe the XML Select Nodes action can be used to extract data from the XML file using the Xpath query, but how do you save data to XML files?

Thank you for any help.

Nog
« Last Edit: March 14, 2015, 02:58:37 AM by Nog »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: XML Save and Load
« Reply #3 on: March 18, 2015, 02:23:15 AM »
Hi,

 Can you bump me beginning of next week if I haven't come up with a sample to demonstrate it.

 Bye,

 Jean

Nog

  • Playmaker Newbie
  • *
  • Posts: 47
Re: XML Save and Load
« Reply #4 on: March 18, 2015, 11:31:47 AM »
Will do.

Thank you for help.

Nog

Nog

  • Playmaker Newbie
  • *
  • Posts: 47
Re: XML Save and Load
« Reply #5 on: March 23, 2015, 03:46:25 PM »
Bump!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: XML Save and Load
« Reply #6 on: March 24, 2015, 04:06:53 AM »
Hi,

 On the case, wrapping up the demo and will push a new update with this demo.

 Bye,

 Jean

Nog

  • Playmaker Newbie
  • *
  • Posts: 47
Re: XML Save and Load
« Reply #7 on: March 24, 2015, 04:33:15 PM »
That sounds fantastic! I can't wait to try it out.

Thank you,

Nog

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: XML Save and Load
« Reply #8 on: March 27, 2015, 03:55:18 AM »
Hi,

I have pm you with a early build. I need to go over all samples to clean them up before making a public release.

 Bye

 Jean

Nog

  • Playmaker Newbie
  • *
  • Posts: 47
Re: XML Save and Load
« Reply #9 on: March 27, 2015, 09:45:29 PM »
Thank you!

PlaymakerNOOB

  • Full Member
  • ***
  • Posts: 219
Re: XML Save and Load
« Reply #10 on: March 28, 2015, 11:09:40 PM »
Any chance that this would be added to be a part of 1.8's release?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: XML Save and Load
« Reply #11 on: March 29, 2015, 07:49:45 AM »
Hi,

I don't think this is the plan to put more in, at least on the front.


 Bye,

 Jean

lkmad

  • Beta Group
  • Playmaker Newbie
  • *
  • Posts: 24
Re: XML Save and Load
« Reply #12 on: April 20, 2015, 12:00:35 PM »
I'd like to also see this if possible! :) complete newbie and been pulling my hair for days trying to figure out how to get a database of sorts, working.

thanks!