Hi, lövers
I've been making games with löve for about ten years now, and so I have a collection of projects throughout löve versions ranging from 0.7 to 11.3 now, and it's a bit of a hassle working with these, because of the breaking API changes from version to version
I've used a conf.lua file with the correct version tagged each time, and so I'd like to be able to run the correct löve executable automatically when launching these projects from the command line. Similar to how nvm works for node.js
Right now I've just made myself a love-apps folder that contains all of the love.app versions I've used so far, and I make symbolic links in my local ~/bin folder so I can use whichever I like (love090 ./src if I want to run löve 0.9.0, for instance)
So main question is: is there a tool similar to nvm that will auto-run the correct löve version depending on the conf.lua file?
And if not: How do you manage your löve versions and projects if like me you have projects across a broad range of versions?
Is there anything like a version manager for Löve?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Is there anything like a version manager for Löve?
everything moves
Re: Is there anything like a version manager for Löve?
You could make a batch file that read the love.version variable inside your projects & launch the good version of löve accordingly.
I saw a löve project that did exactly some times ago that but I can't find it.
I saw a löve project that did exactly some times ago that but I can't find it.
Re: Is there anything like a version manager for Löve?
Right, yeah, that was what I was thinking about, but before I went ahead and made it, I figured I'd check and see if someone made it already, or if there was some other solution that others were using
everything moves
Re: Is there anything like a version manager for Löve?
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."
Re: Is there anything like a version manager for Löve?
Or even this: https://love2d.org/forums/viewtopic.php?f=14&t=85935 but I don't think it goes back as far as 0.7.
Re: Is there anything like a version manager for Löve?
I store required love version inside every project Good thing it is small. And run script looks at inside folder for love.exe, not for global installed love.
Also that way it is easy to share with friends / contributors. Just download my folder / repository and click at run.bat
Instead of "you need to download love 0.9.2 I forget where and you need to remove your installed love if you have one and install that."
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot] and 4 guests