• Hey! Guest! The 40th (!!!) GMC Jam will take place between February 25th, 12:00 UTC to March 1st 12:00 UTC. Why not join in this very special anniversary jam! Click here to find out more!


  1. mbeytekin

    GMS 2.3+ Saving each time in the localappdata folder instead of the file's installation folder

    I have a folder that I created earlier in the datafiles folder in my project. After compiling, I want the user to save something in this previously created folder while the program is running. However, the gamemaker always redirects to the localappdata \ project folder instead of this...
  2. jf_knight

    GML Exporting a scaled sprite image

    I'd like to scale a sprite (in half horizontally) and then export it as an image file. I'm able to export it but it does not scale. What can I do to fix this? var s = get_save_filename("PNG images|*.png", ""); if (s != "") { obj_image.image_xscale *= .50...
  3. Slashyboiii

    Windows Failed to Load Image/could not open file.

    I started a new project and am starting to have a problem with all of my projects. The starting room (or title screen) is supposed to look like this: But instead, when I run the game for testing, it tells me this: And then proceeds to show this screen: I'm not really sure what to do...
  4. GonerBits

    SOLVED How to get players to access an INI file from the internet?

    I'm trying to do something a bit strange with Game Maker, and I'm not sure if it will work. Basically, I want to be able to make an INI file, host it somewhere, and have the game read from the online version. Then I could update the file, and the values shown in the game would change to reflect...
  5. I

    SOLVED GM:S New file structure

    Just a quick question if anyone does know. I've noticed that after update to 2.3 project files are invalid JSON now as everything has a traling comma. I havent run into any issues with removing them yet, but does GM:S have any reason for it that might break project later on in some cases?
  6. FrostyCat

    Asset - Scripts JSON Struct: Use structs and arrays to work with JSON

    JSON Struct Bringing out the true potential of JSON parsing in GMS 2.3+ Overview This library allows encoding and decoding JSON as structs, arrays and other first-order data types as of GMS 2.3. In addition to encoding and decoding functions, it also contains utilities for encryption and...
  7. mbeytekin

    file_text_open_read() doesn't open file for reading with associated files

    My code like this if projectfile = "" || !file_exists(projectfile) { exit; } var _fname=file_text_open_read(projectfile) ... as you see I checked file exists and then open it for reading. Normally it works, but if I try to double click my programs own associated file and...
  8. F

    Question - IDE I don't have my game's yyp, but I have exe & win and I want to decomiple it

    Hi, I'm coming here with pretty unusual question. So, I was working on an undertale fan-game, but my hard drive broke. I still have game's exe and win files because I uploaded it on mediafire. I'm not sure how can I prove I made it, but I have many screenshots of me working on game in gms2 and...
  9. SubWolf

    Android Wifi is loading a save file?

    Hello, I'm having a strange problem that I don't have a clue what is causing it... I have a script to LOAD my game data from a file (let's say the file name is "save.sav"), when the game starts I have an object that checks if the file exists: if (file_exists(working_directory + "save.sav"))...
  10. Kyrieru

    GMS 2 Seperate numbers in a string into an array? (solved)

    I'm loading a text file with lines like; 1,5,12 And I need to convert it into an array. I understand (more or less) how I would have to do this, but frankly as more of an artist than a programmer; when I think about it my soul tries to leave my body. Because I know I will stumble over it...
  11. S

    Help with file system

    So I am trying to make a system to save/load high scores, and to do that I need to know how to use the ds_grid and ini files. I need nine different sets of high scores, each containing up to ten entries, each entry consisting of a 4-letter name input by the player, followed by the score, and if...
  12. Posho

    Windows Proper Progress Display Within Loop?

    Hello, Hope you're all comfy and safe at home. I'm working on a project that exports like a thousand images upon clicking a button in-game. The game freezes until all images are exported, which takes about 15 seconds. As of now, I keep track of the exportation's progress by writing to the...
  13. Mythi.T

    GMS 2 Few Quick Questions About Image Scaling/Importing

    Hello. Because my brain isn't filled with enough knowledge, there are questions to be answered, and this is the place I've chosen to ask them. The title probably says it all about what I am asking about. That's all I have to say before I ask these questions. The GMS documentation page about...
  14. 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...
  15. 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...
  16. Coded Games

    Question - IDE Room and View files randomly duplicating themselves

    Hello all, So I recently noticed that GMS 2 (latest version) is duplicating room files for some reason. These rooms do not show up in GMS but I see the files in Finder (on MacOS). Has anyone else seen this problem or know a solution to it? Here are some screenshots: Some rooms being...
  17. E

    Is it possible to create and open a .bat file with gms?

    Is it possible to create and open a .bat file with gms, can you tell me the codes if possible
  18. JapanGamer29

    GMS 2 Include .ini file within project - advice please

    Hi. I'm making a puzzle game, and the puzzle layout is randomly generated. I've made a bot script that runs through every puzzle, and if it solves it, the random seed gets saved to a .ini file. This list of seeds will eventually number over 1,000, and the game picks one item from it -...
  19. Dilawlaw

    Android Problem with files on android

    Hi everyone, So after finishing a demo version of my android game, I wanted to include some trackers ( number of deaths on levels, time spent..etc) and give the demo to players, then the game save a file with all the stats which the players are supposed to send me back for my analytics The...
  20. Geners

    Is there any way to read ini files from within the project folder?

    I have made two projects, one is the actual game, and one is an editor I made inside game maker that creates ini files that my actual game will use that contains a ton of data the game will need to access. Is there any way I can move all these ini files I'm creating to the game project folder...