Page 1 of 1
.love file
Posted: Sat Mar 21, 2015 3:50 pm
by Crossing
Hello im having trouble with making the .love file. Ive read and tried many diffrent things but none of them work exactly. I have a simple hello world program, however the problem isnt making the .love file its after making it the program just shows a blank black window. It acts as if there is no code. I even made it into a exe and still its a program that does nothing or shows nothing when its supposed to show hello world.
Re: .love file
Posted: Sat Mar 21, 2015 4:59 pm
by Robin
Could you upload your .love? That might shed some light on the situation.
Re: .love file
Posted: Sat Mar 21, 2015 6:21 pm
by Goober
Make sure your main.lua file is in the lowest level of the ZIP (renamed .love instead of .zip, of course). So if you normally have MyProject/main.lua, don't bring in the MyProject folder. Just it's contents.
Does it work if you drag your project folder onto love.exe?
Re: .love file
Posted: Sun Mar 22, 2015 12:44 am
by Crossing
Yes it works if I drag the project folder. It prints "Hello World", bit if I make it a love file and open it then it does not print it anymore. Also I have to use winrar to even make the love file, I select the files not the project folder then "add to archive" then save it as file type zip and name HelloWorld.Love instead of zip and it creates the love file. On windows 8 I could never find a way to just rename a zip folder to .love and it switch to a love file. Heres the .love file
Re: .love file
Posted: Sun Mar 22, 2015 1:04 am
by Evine
"main.lua" not "Main.lua"
An annoying little Windows "feature/bug". Windows doesn't care about the capitation of files. But the "zipped" file do care...
Re: .love file
Posted: Sun Mar 22, 2015 1:09 am
by Crossing
Haha, thats stupid. Thank you so much

its working now.