Search found 2 matches

by EchoFive
Mon May 19, 2014 1:17 am
Forum: Support and Development
Topic: How Do I Use love.filesystem.remove?
Replies: 1
Views: 1053

How Do I Use love.filesystem.remove?

I believed that I was using it right -- I used it the same way it was used in the example on the wiki, but it doesn't remove the file. love.filesystem.remove("test.rand") test.rand is in the same directory as main.lua. I put the above code at the top of main.lua to test if it worked, and t...
by EchoFive
Sat May 03, 2014 5:25 pm
Forum: Support and Development
Topic: Difference Between love.load() and Top of File?
Replies: 3
Views: 2101

Difference Between love.load() and Top of File?

What's the difference between love.load() and the top of the file? To my understanding, the main.lua file is only run once, so wouldn't the top of the file be equivalent to putting the same data in love.load()? If so, what is the purpose of love.load()?