I would like to read in info from a text file to place sprites on the playfield.How do I read in each individual element from the file seperately.It seems that the file object reads in the whole file.
Develop games in your browser. Powerful, performant & highly capable.
I usually load the file into a list box, then I can loop through each line and process them individually. Alternatively, you can use the Text Manipulator, which also has support for reading one line at a time, but it's not as straight forward.