save

  1. 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 (...
  2. 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...
  3. A

    Problem with saving level (room) - ini file

    Hi. I am trying to implement a system where the last level (room) will be saved. Say, a player reached level 15, it will be automatically saved if the player clicks a next button. And then when the player exits the game, reopens the game and clicks the play button, the player will be loaded in...
  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

    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...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. 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...
  15. 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...
  16. 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")...
  17. 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...
  18. F

    Saving System Problem

    Hi, i have some save problems. Im using gms2 and i wanna make game on android. 60% is done but im stucked at save system. If i use classic drag n drop save system, after updating when i load game something is bugged everytime. So i dont wanna know how to make save system where u can save only...
  19. 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...
  20. 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...
Top