L
Lily_WR
Guest
Hello, I'm working on a short experimental game using Game Maker Studio 2 on Windows!
My goal is to have it create and write additional text files that are visible and accessible to the player in the game's folder at certain points throughout the game, however I am not sure how to go about this and have been struggling to find discussion on the topic that doesn't revolve around a save/load system.
Currently I am using this code I found searching for a solution on here:
file = file_text_open_write(working_directory+"hello_world.txt");
file_text_write_string(file,"Hello world!");
file_text_close(file);
Would it be possible to redirect the target of the file's creation to the game folder(what a player would see immediately after opening the folder containing the game and its components)?
My goal is to have it create and write additional text files that are visible and accessible to the player in the game's folder at certain points throughout the game, however I am not sure how to go about this and have been struggling to find discussion on the topic that doesn't revolve around a save/load system.
Currently I am using this code I found searching for a solution on here:
file = file_text_open_write(working_directory+"hello_world.txt");
file_text_write_string(file,"Hello world!");
file_text_close(file);
Would it be possible to redirect the target of the file's creation to the game folder(what a player would see immediately after opening the folder containing the game and its components)?