Hey there, I wasn’t able to play your project. It seems like you didn’t zip up your files into the love file (you’ll notice it’s only 1.1kb). Try checking out the instructions on this page. Let me know if you have any questions.

notapipe
Creator of
Recent community posts
Hi all, here’s how to take your project and make it into a .love file so that others can run it.
The main idea is you want to take your project files (including L5.lua, main.lua and anything else) and compress them into a .zip file, then rename the extension from .zip to .love. Make sure you don’t just zip your folder but instead zip up the contents of the folder!
Windows
Inside your project folder, select all of the project files, then right click and choose Send to > Compressed zip folder. It will create that zipped file right there. Then right click on it and choose to rename it. Change the .zip ending to .love. If you don’t see the zip extension, you can choose the View Menu > Show > Filename Extensions.
Mac
Inside your project folder, select the files (and any needed asset folders), right-click/Ctrl+click and pick Compress n items. Then rename the resulting .zip file to have a .love ending.
Alternatively, you can use the terminal. Navigate inside the project folder. You can do this by opening the Terminal, typing cd (that’s cd with a space after) and then drag in the folder you want to navigate to and then hit enter.
Then type in and run the following (hit enter after typing or copy/pasting this exactly):
zip -r ProjectName.love .
Change the ProjectName to whatever your project name should be. You can find that love file on your desktop/file system and upload that.
Linux
Assuming your current directory is ProjectName/ you can create the .love file from command line directly by navigating to the folder and using:
zip -r ProjectName.love .
Instructions are adapted from LOVE’s Game Distribution GNU FDL 1.3.
I am sort of trying to emulate a photocopier, so it places the new image on top of the page. Maybe i can make it easier to drag separate uploaded images around. I’ll try that if i have some time.
Good question about where it saves. By default, on Windows, it saves to C:\Users\user\AppData\Roaming\LOVE, on Mac it should save to /Users/user/Library/Application Support/LOVE/ and on Linux to $XDG_DATA_HOME/love/. This info comes from the Love wiki. The project is currently “in development” and I may work out a way for the user to select the save directory, but not sure yet :)
Thanks for trying it out!
Submitting a .love file is great, and will allow your project to run on any computer with a copy of LOVE. If you’re also interested in hosting your project online, alexjgriffith built the LoveJS Player, which should work with many L5 projects.
Hello! L5 is a creative coding library in the family of Processing/p5, for making code-based artwork on the computer.
There are tutorials, a L5lua extension for VS Code and VS Codium that makes it easy to get started, and example programs and the L5 reference.
Selected submissions to the L5 Community Jam may be exhibited at Processing Community Day NYC on Saturday Oct 3. You do not need to be in NYC to participate.
Thanks! This was helpful. Now I’m currently on my v4 and used your great tips for shrinking setting the enemy positions and having them move 4-ways only. I also used your tip to set the temp vars in init too.
I updated the code above.
I’m still having some issues with the GOTO jumps after reading a bit but getting stuck on the limitations with nested functions. I only want the enemies to move only one step rather than continuously and wasn’t able to get this to work correctly.



















