How to Save/Load DS_Grid in INI
Okay, so I need to save/load Player INI files..
I have figured out that my Coins INI file seems to be working..
But my other INI is a bit more complicated as I'm trying to save a Grid.
How do I save/load a DS_Grid to one of these ini? Is it possible?
Replies (1)
Last message on 18 Aug 2016
Size43
(Administrator)
on
18 Aug 2016, 16:13:41
You'll need to encode the grid as a string. One way to do this is to use the built-in ds_grid_write and ds_grid_read functions.
Keep in mind there's a limit on how big each individual key in an INI can be (~60 kb, I believe)