Page 1 of 1

Support for newer versions of LÖVE

Posted: Sat Sep 03, 2016 7:27 pm
by panther99
Hello everyone! I'm beginner with LÖVE so I downloaded few games to see how powerful it is but it looks like older games are unable to run on newer versions of engine; are there any plans about this or I missed something important reading documentation because technically this will mean that games I make with current version of engine wouldn't be playable in future without refactoring of source code?

Thanks in advance. LÖVE is great engine :) but this is the only thing that bothers me :o:

Re: Support for newer versions of LÖVE

Posted: Sat Sep 03, 2016 8:06 pm
by davisdude
As long as you have the right version of LOVE running the game, it doesn't really matter. You can download (for instance) the .love for a game made for 0.8.0. As long as you have LOVE 0.8.0 installed and run the .love with the 0.8.0 executable it will run fine.

You can also build the game as an executable, that way it's an executable (and version independent).

Re: Support for newer versions of LÖVE

Posted: Sat Sep 03, 2016 8:15 pm
by panther99
So, if I understand you correctly, I need to have same version of engine that was used to build the game? Is there a way to have multiple version of engine installed in same time (something like version manager)?

Alright, executable is way to go :) Thanks for answer!

Re: Support for newer versions of LÖVE

Posted: Sat Sep 03, 2016 8:30 pm
by Beelz
panther99 wrote:Is there a way to have multiple version of engine installed in same time (something like version manager)?
There's this...

Re: Support for newer versions of LÖVE

Posted: Sat Sep 03, 2016 8:50 pm
by davisdude
panther99 wrote:So, if I understand you correctly, I need to have same version of engine that was used to build the game?
Yes
panther99 wrote:Is there a way to have multiple version of engine installed in same time (something like version manager)?
Aside from what Beelz just linked, you can have a setup where you install each version in its own folder. Then, for each game, you can make a .bat file that you click to run the game, i.e.:

Code: Select all

path\to\love080 love080game.love

Re: Support for newer versions of LÖVE

Posted: Sat Sep 03, 2016 9:26 pm
by Daniel Eakins
Executable is best.

Re: Support for newer versions of LÖVE

Posted: Mon Sep 05, 2016 6:49 am
by Germanunkol
It's sort of already been mentioned, but I wanted to stress the point:
This issue is something that end-users usually won't have to worry about, because when you redistribute a game, you usually pack it along with the engine (so users won't have to install anything besides your game, and can have multiple games installed which use different engine versions). At least this is the case on windows and mac.