Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
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.