1. 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...
  2. 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...
  3. 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...
  4. 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")...
  5. 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...
  6. 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.
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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.
  13. 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...
  14. 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...
  15. 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...
  16. 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...
  17. 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?
  18. D

    Windows How to make a save and load game function with json files?

    I have been working on my game for quite some time and I am working on trying to add a save and load game feature to my game. The problem is I can't ever get it to work no matter how many google searches I do or how many YouTube videos I watch. If anyone could help me to understand this so I can...
  19. JasonTomLee

    Why use buffers and json ?

    I've used ini files before for saving / loading but I was wondering why and when you'd use buffers/json. Why would you use one over the others? Thanks!
  20. jr carey

    GMS 2 Loading Screen[SOLVED]

    so, ive been working on a game, and am in the need of a loading screen since it takes a while to generate these rooms, my texture page is small with the images only being 32x32, but I need a way to implement a loading screen, ive tried making a sprite, and throwing it into the room before doing...