You can use my (cross-platform) library which can export to .love from Lua
https://github.com/2dengine/love.maker
Distributing your games (making a .love file)
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Distributing your games (making a .love file)
Last edited by ivan on Sat Dec 11, 2021 8:20 am, edited 1 time in total.
-
- Prole
- Posts: 16
- Joined: Sun Jan 31, 2021 12:47 am
Re: Distributing your games (making a .love file)
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
https://love2d.org/forums/viewtopic.php ... 49#p238749
- RocketSocketGames
- Prole
- Posts: 8
- Joined: Tue Jul 20, 2021 5:51 pm
Re: Distributing your games (making a .love file)
whats a modern way of doing this?
Ha, i totally know lua!
-
- Prole
- Posts: 5
- Joined: Mon Jul 12, 2021 8:22 am
Re: Distributing your games (making a .love file)
Is this outdated? From 2009?
Re: Distributing your games (making a .love file)
You create .zip/.love files the same way you always have. It's not outdated and will probably never be.
Tools: Hot Particles, LuaPreprocess, InputField, (more) Games: Momento Temporis
"If each mistake being made is a new one, then progress is being made."
"If each mistake being made is a new one, then progress is being made."
- Gunroar:Cannon()
- Party member
- Posts: 1142
- Joined: Thu Dec 10, 2020 1:57 am
Re: Distributing your games (making a .love file)
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 .
Edit:dang, ReFreezed, I was 4 minutes late
- RocketSocketGames
- Prole
- Posts: 8
- Joined: Tue Jul 20, 2021 5:51 pm
Re: Distributing your games (making a .love file)
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.Gunroar:Cannon() wrote: ↑Wed Jul 21, 2021 10:45 amchange its extension name from ".zip" to ".love". Works vice versa for me too .
Ha, i totally know lua!
Re: Distributing your games (making a .love file)
google "windows 10 show files extensions".RocketSocketGames wrote: ↑Wed Jul 28, 2021 4:44 pmeasier 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.Gunroar:Cannon() wrote: ↑Wed Jul 21, 2021 10:45 amchange its extension name from ".zip" to ".love". Works vice versa for me too .
Re: Distributing your games (making a .love file)
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",
]
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 5 guests