![]() ![]() For example, this:įile_text_open_read(working_directory + "my_file.txt") It is worth noting that in general you do not need to use this and simply specify the file name itself (plus any additional path information), which is sufficient. ![]() If you then choose to write that information to a text file using working_directory, this will write the file to the target platform's local storage, where it will be read from the next time unless you instruct GameMaker to delete the file, in which case working_directory will once more point to the area where the Included Files are stored. NOTE The working_directory variable will return the path including the final backslash.įor example, if you have a default *.txt file included with your game and read it into memory using working_directory, then that file will be taken from the area where the Included Files are stored. However, when reading from disk, working_directory can be either the local storage ( game_save_id) or the area where the Included Files are stored. If you are writing a file to disk, working_directory points to the area of local storage that is reserved for your game on the target device (in Windows this is " %LOCALAPPDATA%/gamedir/" where the "gamedir" is the directory with the name of your game). (Also, it probably lets her track performance and such.Working_directory can actually return two different values depending on what you are using it for. I'm not sure it works any better than just setting the cookie with Plimus, but she wanted to do it this way, so. It's supposed to set it up to install specially so that I will get a cut of any sales. It's tricky to be certain those things work properly. The separate installer deal is something she cooked up to try and be sure the proper affiliate credit gets passed to me. Since we like a lot of the same things, she's offering my game for sale and I'm offering hers. ![]() (Being forum staff on a gigantic forum constantly having to fend off trolls and hack attempts - we were down for a while last week - makes one short-tempered!)Īveyond isn't mine actually, it's made by another designer I know. I'm just irritated because he's continuing to post the same sort of stuff in the GMC as well, and when I *am* staff I try to maintain something resembling politeness. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |