Hello guys,
Many other people and I have been confused on how to use Löve. Once @SiENcE told me how, I decided to make an Automator script to do this for you. The very first step is to drag the folder that’s extracted into the applications folder. Otherwise it won’t work. Basically, start off by just add this to the top of your main.lua file:
if require ~= nil then
require ("loveCodify.lua")
--Also add any other .lua files that go along with the main
end
Choose the main.lua file, any other .lua files that you use (not loveCodify.lua, vector.lua, conf.lua built in sprite packs, etc.) when my app requests it. Wait, then choose where to put the .love file. Then wait. It’s that easy. But there is a bug that sometimes occurs where it doesn’t entirely empty the “LoveCodeaApps” folder into the trash. Just dismiss the message and empty the contents of the folder into the trash.
But there is much more to come:
- Fixes the bug I was talking about.
- Add’s an icon.
- Allows you to drag files on to the app icon.
- Adds and app icon.
- Allows you to set the name of the .love file.
- Adds an option to automatically open the file when the conversion is done.
You can find it here. Have fun!
-
@Zoyt
P.S. ABSOLUTELY DO NOT ALTER THE CONTENTS OF THE FOLDER THAT IS EXTRACTED OR IT WILL NOT WORK. The only exception is if you are emptying out the “LoveCodeaApps” folder.
RELEASE NOTES:
v0.1.1
- Added an icon
- Added the instructions to put it in the applications folder