Distributing your games (making a .love file)

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
User avatar
tio
Citizen
Posts: 61
Joined: Thu Dec 12, 2013 1:04 pm
Location: BR BR?
Contact:

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

Post by tio »

You can compile code using luac (on official Lua page).
Or you can crypt your files and decrypt them the time you load them.

edit:
(still, the code that decrypts files need to be decrypted so it's pretty much pointless).
User avatar
Rukiri
Citizen
Posts: 68
Joined: Mon Jun 27, 2011 5:52 am

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

Post by Rukiri »

I know how to make a .love file/project but how do I make a .exe, or .dmg, or random linux executable?
User avatar
tio
Citizen
Posts: 61
Joined: Thu Dec 12, 2013 1:04 pm
Location: BR BR?
Contact:

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

Post by tio »

Rukiri wrote:I know how to make a .love file/project but how do I make a .exe, or .dmg, or random linux executable?
http://love2d.org/wiki/Game_Distribution ;)
User avatar
Rucikir
Party member
Posts: 129
Joined: Tue Nov 05, 2013 6:33 pm

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

Post by Rucikir »

Rukiri wrote:I know how to make a .love file/project but how do I make a .exe, or .dmg, or random linux executable?
If you're using OS X or Linux, try love-release.sh, a Bash script that can do all of these, and much more.
On Github | Forum thread.
User avatar
R-BG
Prole
Posts: 11
Joined: Sat Jan 11, 2014 11:37 pm
Contact:

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

Post by R-BG »

I appear to have a problem with my MacOSX distribution (Löve 0.9.1).
It runs fine on MacOSX 10.9.4, but there is a problem with 10.10.

See: http://blau.gr/up/file/5115/errormessage.jpg

Are there any known problems about this?
User avatar
slime
Solid Snayke
Posts: 3166
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

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

Post by slime »

I'm not able to test on Yosemite at the moment, but your issue might have to do with the symlinks in the Frameworks folder inside your .app all being resolved or broken, rather than staying preserved (i.e. what happened here.)
Bindie
Party member
Posts: 151
Joined: Fri Jan 23, 2015 1:29 pm

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

Post by Bindie »

When making a love file, does it automatically lowe case all image adresses and such? Such as love.graphics.newImage(image, "Assets/Player/Still.png") to "assets/player/still.png"?
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

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

Post by Robin »

No? You need to take care that the cases in the filenames in the .love and the filenames in your code match.
Help us help you: attach a .love.
Bindie
Party member
Posts: 151
Joined: Fri Jan 23, 2015 1:29 pm

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

Post by Bindie »

Ok.
Bindie
Party member
Posts: 151
Joined: Fri Jan 23, 2015 1:29 pm

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

Post by Bindie »

So, I have made a love file. I want to make it .exe. I tried this sentence within CMD: copy /b love.exe+SuperGame.love SuperGame.exe

However, where should I put my .love file and the love.exe? Alternatively, how do I specify the adress within the command line?
Post Reply

Who is online

Users browsing this forum: Bing [Bot], kov_serg and 8 guests