Confused by Getting started
Posted: Mon Feb 18, 2013 5:29 pm
So,I created the lua script like it says: https://love2d.org/wiki/Getting_Started
But how do I turn it into a love file?!
But how do I turn it into a love file?!
Try this:noatom wrote:ubuntu
Source: https://love2d.org/wiki/Game_DistributionFrom the command line:
Go to your project directory a la cd ~/Projects/EpicGame
Run zip -r ../${PWD##*/}.love *
Your fully-prepared .love file shall be located right outside of your project directory
Cake!
Code: Select all
folder/main.lua
Code: Select all
love folder
You can also domicha wrote:If you only want to run the code, then you don't need to create a .love file. In that case, to run the script injust typeCode: Select all
folder/main.lua
Replace "folder" by the name of the folder.Code: Select all
love folder
Code: Select all
cd folder
Code: Select all
love .