#Best way to save/load

18 messages · Page 1 of 1 (latest)

sick kettle
#

JSON + buffers

#

Like the other tutorial I did, only better. A universal approach for when you need to save or load data in GameMaker, using JSON, structs and arrays.

â–¶ Source code: https://www.patreon.com/posts/44109513
â–¶ Support my work: https://www.patreon.com/shaunjs
â–¶ This same tutorial for older versions of GameMaker: https://www.youtube.com/watch?v=QmxQb...

â–¶ Play video
#

JSON & buffers are pretty easy, since JSON can be done via structs and arrays

#

And buffers offer a pretty fast read/write method

chilly isle
#

6 years ago 💀

sick kettle
#

(compared to others, and it keeps the whole json intact, regardless if it's prettified or not)

#

6 years ago is not terrible

#

Oh wait no

#

That is the wrong one

#

lol

#

Sorry

chilly isle
sick kettle
#

You'd be surprised....

#

I updated the link

#

The only difference with the older one is that it used ds_map/ds_lists in stead of structs/arrays

chilly isle
#

Okay

#

Thanks