Hello there! I am working on a newer version of a game, and this newer version allows users to make their own custom games which will be saved into a simple textfile, but while I can save a textbox to a textfile, I am running into a headache of a problem I hope others can help clear :)
I have a textbox called GameNameTXT.text. In this textbox, the user types in the name of their newly made custom game. I would like whatever they type into the box to be the FILENAME of the textfile.
I also have 25 label captions. 0-24, called SelectedBlock(0), 1, 2,etc all the way to 24. I know how to save 1 label to a textfiile, but not an array. Would there be a simple way to loop through the array and write their captions into the textfile line for line, so for ex. the SelectedBlock(0), would write to the top line of the new textfile, 1, goes to the line under, and etc..
Would anyone know of a simple way to do that? Thanks a ton!!!
I have a textbox called GameNameTXT.text. In this textbox, the user types in the name of their newly made custom game. I would like whatever they type into the box to be the FILENAME of the textfile.
I also have 25 label captions. 0-24, called SelectedBlock(0), 1, 2,etc all the way to 24. I know how to save 1 label to a textfiile, but not an array. Would there be a simple way to loop through the array and write their captions into the textfile line for line, so for ex. the SelectedBlock(0), would write to the top line of the new textfile, 1, goes to the line under, and etc..
Would anyone know of a simple way to do that? Thanks a ton!!!