1. M

    [SOLVED] help with save/load

    Hey, so Im implementing a save/load system for the first time, Im pretty lost. At the end of my game, upon completion, it saves into a different save file than where your process during the story is saved, because you unlock stuff for the game after completing the story once. so at the very end...
  2. giraffeman210

    GMS 2.3+ saving with a parent object

    I followed a tutorial to save objects and it said that if I gave each object the same parent object it would still load the individual objects correctly. However when I save and load, it loads every object as the parent object. Is there something I did wrong? Here is the save code and the load...
  3. G

    GMS 2.3+ Save and Load rooms?

    Hi, I follow the Shaun Spalding Best Save and Load tutorial 2.3.1+ and I'm trying to figure out how to save in what room I'm currently in and later on load the level. What i tried ( rooms : room_get_name(room), ) it saves the Name of the room but I can't access it via load (...
  4. gnysek

    GMS 2.3+ Saving and loading structs with constructor to/from string?

    With 2.3+, there's easy option to save/load struct, using json_stringify() and json_parse(). That however saves only normal struct, not those created using new keyword from constructor functions (they will be converted to normal struct too), so I can't later use instanceof on them. I was...
  5. Yizzard

    Weird Layering Glitch Upon Loading a Save File

    Hey so I have a game where in the intro room there are a bunch of office workers sitting behind desks in their cubicles, basically the worker is an object, the desk is an object and then the cubicles are two objects, a blue background object and a green foreground object. When I start a new game...
  6. Vlad_

    SOLVED How do I change the standard load screen in HTML5 game?

    Greetings to all. I'm developing a game in HTML5. How can I change this standard loading screen? I have already created a simple JS extension to update the page. And I noticed that the extension works from the very beginning of the game until it loads. I got an idea to make a JS extension that...
  7. I

    Problem with Save in the game With Collision tiles

    so... i tried to save my game and after it load it and this is what happen and before it after I loaded the game I cannot move this is my code: in the save obj (Collision with oPlayer): if (keyboard_check_pressed(ord("E"))) { layer_reset_target_room(); game_save("save")...
  8. Sargonnas

    [SOLVED] Save and Load shinanigans

    Hello! I know I'm missing something totally obvious again, but this problem has been plaguing me for months and I keep going back to it and...no progress. I've gone through four or five different tutorials on Youtube, following them as closely as possible but haven't gotten any to work. I'm...
  9. zendraw

    GMS 2 Get list of files

    How do you fill a list with the names of files? like you have multiple saves, then you do a loop and store theyr names in an array. i done this before but cant remember how was it done.
  10. Daniel Mallett

    GMS 2 Load from file sandbox problem

    I want to load an image / sprite from file on disk outside sandbox post runtime. I have asked this question before and get the response you can't do it it's a sandbox. However I have reason to believe this is no longer the case. I have also found a button that says enable disable sandbox so...
  11. G

    GML I have a problem with saving

    I have a variable, that is "GunX". I'm using this variable between object, so I'm using that with "global.". I want to save "global.GunX" because my game have to remember Value of this variable. What should I do? I'm trying do that with "objectname.GunX" but I couln't do with that also. Btw I'm...
  12. Startoz

    Fastest way to load a JSON/text file with tens of thousands of lines?

    Hi, I want to load a large JSON file (more than 40k lines when formatted) and decode it. The system that I'm using at the moment works perfectly fine if all the data is contained in one line (loading the text into a string takes less than 1 second). However, if the JSON is formatted, it takes...
  13. Divinik

    GMS 2 Loading Grid From Json Not Working Properly?

    So in the game I'm currently working on, every companion and their info is stored in a ds_grid (Companions_Grid), and within each companion's column is another inventory grid stored for the companion. The code for storing the inventory grids into the json seems to be working perfectly, I check...
  14. Daniel Mallett


    Not sure if this is the correct place for this question but it's not really a programming question. Sorry in advance if I should have put it there. I have a number of questions regarding spine compatibility. This is my first time using spine so I know next to nothing. 1) When will Game Maker...
  15. Architheutis

    Cannot find the folder of my .ini

    Hi Folks, I cannot find the folder of my .ini-data. Game Maker 2 saves it into Computer/User/Architheuthis/AppData/Local/Filename.ini So... I cannot find the folder "AppData" and folders within. I use Windows 10. Can anybody gimme a hint? Best wishes, Archie.
  16. S

    Legacy GM State Loading issue

    I'm currently having trouble getting my load game script to work across all of my rooms. It's very odd and no matter how much I rack my brain I just can't seem to figure out what is going on! Technically everything is loading in fine except my inventory which I'm just using ds lists to...
  17. H

    GMS 2 What am I doing wrong with my data saving/loading?

    Hello fellow indie devs! This problem has had me stumped forever now (feels like it anyway). I've looked up several "how-to" vids on saving and loading data in gms2. I've dabbled in using json-ds_map, ds_grid_read/write, and even ini files (hate them). For some reason, that has me truly...
  18. GMWolf

    Asset - Scripts Static data - load files right into globals!

    Static Data on the marketplace Static data helps you load your data by completely eliminating the need for calling functions! Just add a file to the included files and have it show up as a global variable! Comes with txt, csv, json and bin file loaders out of the box. Easily add your own...
  19. Kyrieru

    Windows Extreme cases of crashing

    For a while now in GM2, (this happens on multiple PCs, fresh install), GM will randomly crash if I: -Open a project through the home screen, -Click save -Attempt to import a file -Don't treat GM delicately while clicking to run the game. (this one isn't so much of an issue.) I'll be submitting...
  20. Posho

    Legacy GM Loading GIF as Sprite from Filename

    Hello, I'm trying to load multiple animated GIF files from a directory. According to the manual, the function sprite_add only loads the first frame of the GIF. Is there any workaround method for this?