Loading data from a file?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
TheP3
Citizen
Posts: 62
Joined: Tue Dec 20, 2011 9:20 pm

Loading data from a file?

Post by TheP3 »

How do I make love2D read a file? Like a txt, or .lua file. I prefer it to be a .lua file. I want to store data and read data.



Thanks!
I write rules for my computer... I'm not the ruler of the world(yet)... Also, I livestream stuff http://NateAGeek.com/Live
User avatar
TechnoCat
Inner party member
Posts: 1611
Joined: Thu Jul 30, 2009 12:31 am
Location: Denver, CO
Contact:

Re: Loading data from a file?

Post by TechnoCat »

User avatar
Ellohir
Party member
Posts: 235
Joined: Sat Oct 22, 2011 11:12 pm

Re: Loading data from a file?

Post by Ellohir »

This has been asked before. There are several ways. Take a look at viewtopic.php?f=4&t=7884
Post Reply

Who is online

Users browsing this forum: Google [Bot], Semrush [Bot] and 6 guests