.love file
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
.love file
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.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: .love file
Could you upload your .love? That might shed some light on the situation.
Help us help you: attach a .love.
Re: .love file
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?
Does it work if you drag your project folder onto love.exe?
Re: .love file
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
- Attachments
-
HelloWorld.love
- Love file
- (559 Bytes) Downloaded 102 times
Re: .love file
"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...
An annoying little Windows "feature/bug". Windows doesn't care about the capitation of files. But the "zipped" file do care...
Artal, A .PSD loader: https://github.com/EvineDev/Artal
Re: .love file
Haha, thats stupid. Thank you so much
its working now.

Who is online
Users browsing this forum: Ahrefs [Bot] and 2 guests