ini file questions

  1. K00lman

    SOLVED Trigger-esque System

    For my clicker game, I am making, I am having a real tough time figuring out how to add a trigger-esque system to tell when upgrades and story progression can appear. What I have currently come to is storing this data manually in an ini file, then read through that. While I don't know much about...
  2. jaber

    HTML5 working with local storage from multiple HTML files (game maker studio 2)

    Hi all, its been few days and I am still finding no solution and thought to ask here. I am creating HTML5 game with game maker studio. my Idea is: I want to make my game to be divided into multiple HTML pages (multiple indexes); the player will be redirected between them using the url_open...
  3. flykidsblue1

    GMS 2 directory_destroy not working on Android

    Hey everyone! I am currently porting my game to mobile devices and so far the intregration has been easy. However, this line is not working properly: var sav = "Save 0"; if(directory_exists(sav)){ directory_destroy(sav); } This line works perfectly on windows but not working on android. The...
  4. S

    GMS 2 Reading off an ini file

    Can someone help me with this? I am getting a problem where I am trying to save controls to an ini file and load them back in so I can have custom control schemes. This is what I have so far: //Set up player controls lists var buttonTotal = 12; global.controlList = array_create(4)...
  5. B

    GML Problems loading from ini file

    I'm not entirely sure why it doesn't work. So I've got a script that is supposed to load an ini file and then transfer some variables over to an object I have but it never seems to open the file. I want to use a variable name (since its a script for multiple different events) but that seems to...
  6. B

    GMS 2 Saving global variable

    hey all Just had a quick question on saving global variables to an ini file. I have some global variables that every play session they will be a different value. So during a session if there is a save I need to capture the value of those variables for the load game to work properly. Let say...
  7. D

    GMS 2 Questions about ini files

    Hi! Just getting back into game maker Learning GML instead of drag and drop and enjoying it much more. I made a simple high score system using Shaun Spalding's tutorial on saving and loading ini files. The high score is being displayed and is working fine but when I search for the file I can't...
  8. B

    INI? Save Date and Compare?

    Hi, I'm trying to create some streaks in my game in which I reward the player for coming back to play the game the very next day. I know how to save scores with INI files. But how do I save the date in an INI file and then compare that date to the next date? Thanks
  9. C

    Windows (Question) Can you save to another game's ini file.

    Title says it all, can you open up an ini file of another game you've made and alter it through the second game? If so, can you give me the code to do that. Would appreciate if you could change this game code to do that. if (file_exists("Save2.sav")) file_delete("Save2.sav")...
  10. WinuX

    GML ini file

    Hello everyone I have a quick question regarding the use of ini files. I have 4 playable characters and they all have thier own stats. The code for writing in the ini file looks like this for the first 2 characters, they all have thier own section, but the keys that i use in the sections are...
  11. L

    Legacy GM Ini File (Solved)

    So earlier today a guy thought me that I could use ini files for saving and other stuff. And I would like if anyone would give me a tutorial how to make a ini file. I would like to know how I make a code for "On the first start there will be no ini file so it will go to room_1. Then in the...
  12. K

    Question - Code [SOLVED] Inlcuded ini files

    Hey everyone, When my game starts up, I'm trying to read from a .ini file that's in my included files, but for some reason my game can never find it. I also have a .txt file in my included files, which is accessed later in the game with no trouble. Anybody know why this might be happening...
  13. U

    Android HighScore not saving Andriod on Exit

    ive made a basic game in game maker but every time i close the game vie the task manager the highscore doesn't save which is a variable saved in an ini file. however whenever i exit the game with the exit button it saves the score. thanks in advanced
  14. L

    Legacy GM ini files Questions[SOLVED]

    I HAVE A INI QUESTION well a few anyway 1. WHAT ARE THE DIFFERENCES OF .sav .dot or .ini in a ini file I have been using .sav 2. MY INI FILES SAVE GLOBAL VARIABLES FINE AND I CAN REOPEN INI FILES FINE BUT WHENEVER I UPDATE MY PROJECT GAME TO LETS SAY VERSION 2 FROM VERSION 1 i lose all my old...
Top