I'm starting the cs50 harverd course and i dont know how to install the love2d! i mean i installed it and everything and when i clicked the folder .love thing it says boot.lua:575: no code to run
your game might be packaged incorrectly.
make sure main.lua is at the top level of the zip.
and the other thing is i dont even know how to set up lua! or even a main.lua file! and i dont know how to use .love! i followed the wiki but all it did was just make me more confused because it didnt even work! i've been tryint to set up .love for litterly 2 days and i havent gotten past making a folder into a .love file! im really new to all of this so if anyone can help i'll be really greatful!
please i need help
- CogentInvalid
- Prole
- Posts: 27
- Joined: Sat Dec 14, 2013 12:15 am
Re: please i need help
The format of a Love game is a folder with a file called main.lua in it (and optionally other files and folders too). The program love.exe can run these games in various ways. One way is to drag the folder onto the icon for love.exe. Another way is to package the contents of the folder into a .zip file, then rename it to have a .love file extension. You can run a .love file by double-clicking on it.
The error you're getting says that the .love file you're trying to run doesn't contain a main.lua file at the top level of the zip. You need to put the code for your game in a file called main.lua and make sure it's at the top level of the zip file.
The error you're getting says that the .love file you're trying to run doesn't contain a main.lua file at the top level of the zip. You need to put the code for your game in a file called main.lua and make sure it's at the top level of the zip file.
Re: please i need help
For more detailed and platform specific instructions see wiki
- zorg
- Party member
- Posts: 3470
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: please i need help
what didn't work, exactly?
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 3 guests