W
White_heart_of_Blood
Guest
I have been thinking of a game where the game creates a file on your computer but I have no clue how to set it up. I know the code to create a txt with a ds_map and file_text_open. But dont know how to make it go to the desktop of a computer.
Here is the code for the creating txt file:
Here is the code for the creating txt file:
Code:
help = "Something";
word = ds_map_create()
word[? "Run"] = help;
var word_string = json_encode(word);
ds_map_destroy(word);
var file = file_text_open_write(working_directory + "READ ME.txt");
file_text_write_string(file, word_string);
file_text_close(file);
show_message('Goto C:\Users\Pc name\AppData\Local\Test_my_Game_idea');