Text File Help?

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Text File Help?

Post by Robin »

Could you upload a .love of your game? There are a number of things that might be wrong, but we can help you a lot faster if we know what you're actually doing.
Help us help you: attach a .love.
bbdude95
Prole
Posts: 10
Joined: Thu Jun 20, 2013 1:18 am

Re: Text File Help?

Post by bbdude95 »

Here you go.
Attachments
PEI.love
(43.5 KiB) Downloaded 86 times
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Text File Help?

Post by Robin »

You need to replace io.lines by love.filesystem.lines to properly load table.txt. Also, you have no function loadText. There are so many problems I've given up. Sorry, but this is too big of a mess to make sense of for me.
Help us help you: attach a .love.
bbdude95
Prole
Posts: 10
Joined: Thu Jun 20, 2013 1:18 am

Re: Text File Help?

Post by bbdude95 »

Sorry i forgot to comment out that line.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 72 guests