Author Topic: Save Inventory to xml or json  (Read 9468 times)

binsint

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 16
    • View Profile
Save Inventory to xml or json
« on: September 04, 2013, 02:57:36 AM »
hi everyone! i have made an inventory for my character.. is there a way i can save it in xml or json?

and when i start the game it will retrieve the data and displays what items are currently equipped...
thank you

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Save Inventory to xml or json
« Reply #1 on: September 04, 2013, 04:01:24 AM »
Nope. Not yet. It's a planned future for the Unity GUI migration tool I have in mind, but for now -- not yet.

binsint

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 16
    • View Profile
Re: Save Inventory to xml or json
« Reply #2 on: September 04, 2013, 05:44:29 AM »
oh!  :-\ hope there will be saving tool for it in the future... anyways thank you arenMook :) :) :) :) even though there's no save/load yet,still NGUI IS THE BESSSSSTTTT!!!! 

sisso

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 46
    • View Profile
Re: Save Inventory to xml or json
« Reply #3 on: September 06, 2013, 08:18:16 AM »
I can't see relation of serialized inventory with and NGUI. But reading @ArenMook answer I got lost.

Are you saying that serialize ngui components are in roadmap?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Save Inventory to xml or json
« Reply #4 on: September 07, 2013, 12:29:51 AM »
Yeah.