save

  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. Yizzard

    GMS 2.3+ Alt-f4 save before exiting

    I was wondering if there was a way to have a game execute some code before closing the application upon alt-f4 or the red close x in the top right corner being clicked. My game is a game partially designed to be speedrun, and one of my beta testers was turning on autosave (which saves at the...
  3. 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...
  4. R

    Windows Save add with no overwrite

    This code always overwrite the last! What a need to do for add without erase the last saved? Exist method to do it without ds_grid? If you don't have a solution, how can you translate the code below to ds_grid or list_grid Thank You ini_open("savefinal.ini"); if ini_read_real("Mon"...
  5. 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 (...
  6. L

    SOLVED help for save

    Hi, I need help for saving the "permadeath" of mobs. I use this code for permadeath: in create of mob1stat for ( var i = 1 ; i <= 30; i++) { for (var j = Room2; j<=Room1;j++) { enemy[j,i] = false } } in step event of mob1 if num == 0...
  7. 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...
  8. Yizzard

    GMS 2 Question about possible future saving glitch

    So my game saves with ini files storing variables in them. I noticed that sometimes when I create new objects gamemaker will automatically reorder the object numbers of each of my objects and it will mess up previous save files. For example, in my save file it has currentParty0 = 14, telling the...
  9. RipRoarinBoogerBenis

    Save system frame drop

    I built this save function a while back. It stores the entire tilemap as a json map so that the player can save / load the tile placement within a level (about 250 tiles on each axis, so 62,500 total). It actually works pretty well, however, when saving and / or loading, if does lag for about...
  10. 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...
  11. Fluury

    Bundle certain files with the project/Placing game sprites in the game's save folder?

    Heya. I'd like to place a few sprites from the game in a strip-format within it's save folder. Originally I thought I could do this by simply doing sprite_save_strip() when I initially create the save file for the game - referencing a sprite within the game etc. .But interestingly enough that...
  12. meme

    How do I save a ds list containing ds map?

    Hello everyone, so I'm implementing some kind of "inventory", so here is my initial code: for (i = 0;i < x;i++) { global.playerMap[i] = ds_map_create(); ds_map_add(global.playerMap[i], "name", "John"); ds_map_add(global.playerMap[i], "hp", "10"); } At first...
  13. Daniel Mallett

    Windows Gamemaker not opening anything

    As of today, I am unable to create new projects. It just flickers and does nothing. The same happens when I open a project. If however, I open a project made before the update, It asks if I want to convert then it errors 'Project load failed. Unable to load /BaseProject/BaseProject.yyp'. I...
  14. jobjorgos

    Legacy GM Is there a way that included files can be saved in the working directory while starting the game?

    I use GM:Studio 1.4 and I was wondering the following: I have a main game hall game, and... I have 8 other included mini games which each can be played in this game hall. Is there a way that the included files can be saved in the working directory while starting the main game so players don't...
  15. XenonMax

    GML Save page and color in 1 variable

    Hello, I want to program something like a Launchpad light show painter(this thing with buttons/music/light). Now I try to save the current buttoncolor in a variable on the right page! Like --> ( If I have page 2 change color(or image_index) to red(or 2) ) (I can't create 100000 variables for...
  16. SubWolf

    Android Cloud Sync Failed (Drive.SCOPE_APPFOLDER)

    Hello everyone, can someone help me with this problem? I used the Yoyogames' Tutorial to put cloud saving in my game... but it's returning this error and I don't have a clear idea what is causing it... The GameMaker's Console shows this: There's another detail, I was having another kind of...
  17. M

    [SOLVED] saving and loading game

    Hey, my game doesn't either save or load the game, not sure which one is the issue, I have the Save Game action in Room End event in an object obj_savegame. In main menu, if I try to ever press Load Game, it does nothing, the game never loads. I tried replacing the drag and drop actions with...
  18. KranoNetwork

    GML Needed some basic help with Arrays for a save system

    I am working on a program which would create a character sheet for a table top system. One of the parts I am working on is an array system which would allow me to set an infinite number of save spaces. Currently I have a menu system which brings me to two pages, one of the pages would edit a...
  19. 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")...
  20. 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...
Top