Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

I have also tried downloading the Zip from github and I am unable to open the project. I get a failed to load error.

I resorted to opening the files in notepad and copying all the code into a new project and I am running into an issue.  the scripts __scr_ssave_value and __scr_ssave_header are giving errors because of the lines (respectively)  * return (__value ?? __defaultValue); * and *__protection = (_protection ?? __protection); * the script for __scr_ssave_manager is blank. 

I also get duplicate script name errors for the scripts but i just copied and pasted them

(1 edit)

I figured out the issue, I was using a really old version of game maker. I updated it and it worked.

Also i have another question. Am i able to convert a ds map into an array to save and back to a ds map? Its just that was the way i learned to handle quests trees so its what I'm used to using to store them.

Thank you

Glad you sorted your problem out! Yeah, this was written for GameMaker Studio 2 V2.3+, anything older than that won't work.

To answer your question, yes, you can do that using json_encode to turn it into a struct. Then, when loading it in you can read through the struct's values and re-create the DS map. (note that you cannot directly set the DS map as a value in SSave, so when re-creating it you will have to store the DS map in a variable somewhere else).

Hope that helps!!