J
JulianS
Guest
So I am creating a quest system.
A quest can have a title, a questlog of the storyline and some commands like for example "Find the blue flower".
My first Idea was to just create a DS-Grid, with all these Strings in it, which worked but then all this data, which has the potential to get very big is always stored in the RAM.
I also thought about creating an Included File with all this data in it but then i had the idea to just store the data inside a script and just use a giant switch-case construct to get the string i want by calling it with a parameter.
My question now is: Does GameMaker Studio 2 load all scripts into RAM on gamestart or not?
Because then it would not make a real difference to my first solution (using a DS-Grid) and I would think about doing this via an Included File instead.
A quest can have a title, a questlog of the storyline and some commands like for example "Find the blue flower".
My first Idea was to just create a DS-Grid, with all these Strings in it, which worked but then all this data, which has the potential to get very big is always stored in the RAM.
I also thought about creating an Included File with all this data in it but then i had the idea to just store the data inside a script and just use a giant switch-case construct to get the string i want by calling it with a parameter.
My question now is: Does GameMaker Studio 2 load all scripts into RAM on gamestart or not?
Because then it would not make a real difference to my first solution (using a DS-Grid) and I would think about doing this via an Included File instead.
Last edited by a moderator: