• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

saving

  1. P

    Game not saving data with Json

    Can anyone help me? I'm about halfway through GMwolfs video and followed the steps but it is not writing any data into the save file. The only adjustments I made to the code were to use my own obj_player instead of the circle he gives in his sample and I left out the color index because I only...
  2. P

    How do I Save and Create my character and objects in a Room Using JSON

    I just followed a tutorial by Shaun Spalding and it was kind of confusing for me to understand and transition my game from an ini saving system to JSON. If anyone can help me figure out what I'm doing wrong with my code that would be a huge help. What I would like to happen is that the game...
  3. samspade

    GameMaker What type of save system?

    I'm not really sure if this is a programming question or a design question, so I'm just picking one. I'm working on a project that is pretty small, but basically needs to save at least some information from every instance of every object in every room. Saving is necessary for both exiting the...
  4. JesterOC

    (SOLVED) Help with GMFileSystem

    So i'm having an issue... My script below uses GMFileSystem extension... It's supposed to copy a file from inside some folders in working_directory.... However, it shows my message "No OUT file" meaning the file didn't get copied out of the sandbox. FS_file_copy() and/or FS_file_exists() MUST...
  5. B

    Cameras and files question

    EDIT: Putting this at top because its now the main question but i am still not sure whats with the playerachievementcache.dat file in the programs files i think i probably posted this in the wrong area before so i'll repost it here: ok so i have a script that will either create a new game and...
  6. R

    [Solved] Error Saving: Cannot create the file.

    "Error Saving: Cannot create the file. The game has not been saved!Try saving your work under a different name." When trying to save under a different name a new saving error is presented: "File not found. Check the file name and try again." I am using GameMaker 8.1 Lite. I have also...
  7. Event Horizons

    GML (Solved) How to save updating variable

    Hi there, I struggle with one thing simple thing. I have a changing variable every half of a second. And I need to save for example past 6 values for 3 seconds and then rewrite them from the beginning. Can someone help me out with this? Many thanks EH
  8. D

    Saving Game Progress via Facebook

    Hey Guys, I want to save the game progress between my game versions for iOS/Android/Web. As I understand there should be a server-part where all the game data for each facebook user will be stored. What is the best way to do it? Could you pls recommend me some tutorials/extensions to do that...
  9. 0TastyPie0

    GameMaker An easy way to save many collectables?

    So I have a platformer game where you can collect a specific collectable that is then saved in an ini file (if collected or not). One variable for each collectable. It's geting really hard to keep track of so many variables, is there an easier way (without having to have one variable for each)?
  10. N

    GameMaker Saving and Loading JSON

    Whenever I startup my game, I get this error: Data structure with index does not exist. at gml_Script_load_game (line 21) - for (var a = 0; a < 36; a += 1;) global.lc[a] = levelslist[? a]; That's funny, because in my save game code I have this: var levelslist = ds_list_create(); for (var a =...
  11. W

    Android Google Play Cloud Saving

    I trying to save data on cloud but i never done this before. obj_service is object for testing if it works. When i reinstall game, nothing is loaded. There is probably a lot of mistakes, can you help me fix it? :(
  12. P

    Windows Endless building/saving when you press a button RUN (F5)

    Dear participants of the forum, help to deal with the problem of the endless building of the project when you click RUN (F5). building time ∞ I shoveled the Internet including this forum, but I did not find a similar problem. Perhaps the solution was somewhere nearby ... :( P.S. sorry for my...
  13. D

    iOS Documents and Data size keeps increasing

    I just started using Testflight to do the final testing of my game on my iPhone. My game does some saving using .ini files. Not much gets saved, just a few variables and a ds grid to store the game board. Basically I just save the game automatically after the player makes a move. The game...
  14. E

    Legacy GM need help with saving and loading stats!

    so i want to save my stats in gamemaker but when i restart the game even when saving it will not save th current stats (still a bit of a noob at saving so im using a drag and drop system) my game uses physics so what im doing is that when you save the game you go to a non physics room and save...
  15. I

    GML Saving nested maps to .ini with json_encode and its issues

    Hey guys, I'm running into an issue and I'm not sure if it's me or GMS2. I'm using GMS2 and working with saving and loading to an .ini, I'm sure many of you have done this before. I have a map with nested maps and I've added them with ds_map_add_map(). When saving, I use json_encode, write it...
  16. C

    Question - IDE Problem saving projects at the start of debugging

    I'm using Windows 10 and IDE 2.1.4.285 Steam. when I start debugging, the projects should be saved.But sometimes it failed and shows an error window: And the output window prints these: SourceControlAction:SaveModel: The process cannot access the file...
  17. Josef Scroggins

    GameMaker Saving and Loading a Persistent object (INI)

    Edit #2: I thought I had this figured out but now the player's coordinates don't change and the camera won't snap onto the player. //Loading CL = objCallList; if file_exists("Save.helix") { ini_open("Save.helix"); var LoadedRoom = ini_read_real("Room","Room",Overworld0); CL.hp...
  18. Pfap

    Saving boolean .ini

    I need to save a variable as being set to true, would I use the ini_write_real or ini_write_string function? My gut is telling me to just save it as the real 0, but can anyone confirm? Edit: I just checked the manual Boolean section "A boolean is simply a value that can either be true or...
  19. W

    saving .ini files when updating

    i'm currently working on some savegame files and i've noticed that every time i test on my android device, the save gets reset. on the pc it stays fine, but on the mobile platform, is it supposed to do that or is there some other way that i'm missing? things i've tried : googling and re-running...
  20. J

    HTML5 Can't use ini files with html5

    My game requires a lot of data stored, so I use .ini files. The game works fine as a .exe but makes this error when running on the micro web server. ERROR: /html5game/test.ini It seems to work with internet explorer, but not at all with Chrome. Here is the code that causes the error...
Top