playMaker

Author Topic: Create game file system  (Read 784 times)

Seiryu33

  • Full Member
  • ***
  • Posts: 133
Create game file system
« on: June 25, 2019, 07:12:48 AM »
I don't know if I asked about this before, but it was something that I never really got a handle on: how do I create a game file system that records game data like in Zelda or Shantae Half-Genie hero? I use EasySave2, which I used to do a simple auto-save function but my next project uses a more complex system. I haven't seen any tutorials on it. So far the only thing that comes close is character selection, which isn't what I need. Any pointers is greatly appreciated.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Create game file system
« Reply #1 on: June 25, 2019, 08:49:55 AM »
Hi.
For saving inventories i usually use a xml for item data and use id numbers to reference and retrieve the data using DataMaker (Ecosystem)

Then for the inventory i use 'array list' as build in arrays are not so good for this purpose.
and in the list, i use the id numbers and save the array in easysave.

For equipped i do the same thing.

Also lately i tend to use HashTables to build item lists @runtime and use the id as Reference.