Page 28 of 28

Re: Distributing your games (making a .love file)

Posted: Sat Dec 21, 2019 7:57 pm
by ivan
You can use my (cross-platform) library which can export to .love from Lua
https://github.com/2dengine/love.maker

Re: Distributing your games (making a .love file)

Posted: Sat Feb 20, 2021 4:15 am
by Anase Skyrider
I've made a Windows solution to the game distribution process, with automatic creation of the .exe file and everything. It uses the powershell method of archiving.
https://love2d.org/forums/viewtopic.php ... 49#p238749

Re: Distributing your games (making a .love file)

Posted: Wed Jul 21, 2021 1:33 am
by RocketSocketGames
whats a modern way of doing this?

Re: Distributing your games (making a .love file)

Posted: Wed Jul 21, 2021 9:01 am
by ToastersUnited
Is this outdated? From 2009?

Re: Distributing your games (making a .love file)

Posted: Wed Jul 21, 2021 10:41 am
by ReFreezed
You create .zip/.love files the same way you always have. It's not outdated and will probably never be.

Re: Distributing your games (making a .love file)

Posted: Wed Jul 21, 2021 10:45 am
by Gunroar:Cannon()
RocketSocketGames wrote: Wed Jul 21, 2021 1:33 am whats a modern way of doing this?
Is it the .love file or exe(or something else I may be missing)? If it's the .love file then I just zip everything in the folder the "game" is in then change its extension name from ".zip" to ".love". Works vice versa for me too :P .

Edit:dang, ReFreezed, I was 4 minutes late :rofl:

Re: Distributing your games (making a .love file)

Posted: Wed Jul 28, 2021 4:44 pm
by RocketSocketGames
Gunroar:Cannon() wrote: Wed Jul 21, 2021 10:45 amchange its extension name from ".zip" to ".love". Works vice versa for me too :P .
easier said than done. i use windows 10 and the .zip part of the file doesnt show up in the name. so i cant do that.

Re: Distributing your games (making a .love file)

Posted: Wed Jul 28, 2021 4:57 pm
by tio
RocketSocketGames wrote: Wed Jul 28, 2021 4:44 pm
Gunroar:Cannon() wrote: Wed Jul 21, 2021 10:45 amchange its extension name from ".zip" to ".love". Works vice versa for me too :P .
easier said than done. i use windows 10 and the .zip part of the file doesnt show up in the name. so i cant do that.
google "windows 10 show files extensions".

Re: Distributing your games (making a .love file)

Posted: Thu Dec 30, 2021 9:08 pm
by idbrii
RocketSocketGames wrote: Wed Jul 21, 2021 1:33 am whats a modern way of doing this?
makelove works really well. If you have python, it's easy to install and use. I use it on Windows, but it builds for multiple platforms and on multiple platforms.

You can even configure it to build for lovejs and host a server so you can test your lovejs build without uploading it anywhere:

Code: Select all

postbuild = [
    "unzip {build_directory}/lovejs/projectname-lovejs.zip -d {build_directory}/lovejs",
    "start http://127.0.0.1:8000", # use open or xdg-open on macos/linux
    "python -m http.server 8000 --bind 127.0.0.1 --directory {build_directory}/lovejs/projectname",
]
I've been fixing and contributing changes and my fork can even automatically push builds to itch.io. (But you'll have to know how to install python packages from github to be able to use it until those changes are accepted upstream.)