• 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!

Windows Getting file names in folder

Z

zendraw

Guest
Is it possible with game maker to get a file name from a folder?
like when you make a map in some strategy game and save it and then you can reopen it from the editor.
 
I would only know so for Windows platforms. As far as I can tell there's now way to make that work on other platforms:
get_open_ and get_save functions open the windows file-picker-dialogue and return the path-string you can then use for loading and saving.
To save outside the working directory you'll need a dll in your included files. Either write one or get one from the marketplace. I did use the "File Copy In And Out":
https://marketplace.yoyogames.com/assets/494/file-copy-in-and-out

But I guess there are others.
 
Top