txt

  1. G

    GameMaker Empty Boxes at newline locations after converting a txt file to string

    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...
  2. 2

    Legacy GM Using Txt file: Write to Buffer, Read String from Line, Send to Var to Display Character Dialog

    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...
  3. X

    GML Creating a new file while the game is running?

    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...
  4. W

    Windows Creating a txt file to the desktop of your computer

    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 =...
  5. A

    GameMaker [SOLVED] Writing txt Files Not Working in GMS2

    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 =...
  6. P

    Dialoge in a txt 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...
  7. Posho

    Legacy GM "Save As"

    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...
  8. A

    Create & Load Text Files

    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
Top