Hi everybody. I'm stumped on this one. I've been messing around with it for about an hour now, and I just can't figure out what this character is that keeps appearing at the end of a line after converting a txt file of dialogue to a string to use inside the game.
I wrote this function to return...
How do I put a txt file into a buffer then read specific lines from it?
(eg. like how file_text_open_read() and file_text_readln() do without a buffer)
I need to read strings with both numbers, and letters then feed it to a variable for display. Also I want to be able to add lines together in...
Been a while since I've been working with game maker...
I talked about this before, but I said that I knew how to do this... I have either misunderstood something or I completely forgot how to do this. I tried to search this up, but I can't find anything.
Is there a command for creating a new...
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:
help =...
Hello GMC,
I have been writing a program and I want to create and save a text file so that I can use it later, but I am having trouble with the file_text_open_write() command. I am currently using it in a script that takes no arguments in this format:
var file
file =...
Hello,
I read somewhere that putting all the dialoge into a txt file
would make it easier to for example fix spelling mistakes, and translating the text.
And that it would make everything easier to look over etc.
My question is is it really a good way? And if yes, how is the best way to do it...
I'm currently working on a small project where the player can load/save INI/Text files and save PNG screenshots of the game.
These are currently saved in the working directory but I'd like to know if there is a way to let the player "Save as". You know, the player clicks "save", then a pop-up...
What code creates a text file that, and what code could load that same file and save it when the player saves? I'm sorry I just don't get these mechanisms.
*Edit* I'm using GMS... :v