Page 6 of 27

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

Posted: Thu Jan 14, 2010 2:42 pm
by TechnoCat
main.lua:20

Code: Select all

logo = love.graphics.newImage("Taehl.png"),
not (depending on the filename of course)

Code: Select all

logo = love.graphics.newImage("taehl.png"),
Windows doesn't care about case, but other OS filesystems and the LOVE filesystem (when running from a love file) do.
PPT.love
(16.85 KiB) Downloaded 110 times

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

Posted: Thu Jan 14, 2010 2:56 pm
by Taehl
Aah, I see. I would have never thought of that. Thanks for the help.

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

Posted: Sun Jan 31, 2010 10:10 pm
by Xoria
Is there any portable version of love 0.6.0? One that's just an exe that you don't have to install? If not, how do you make one?

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

Posted: Sun Jan 31, 2010 10:17 pm
by bartbes
Yes, the zipped binaries one on the downloads page, for your convenience also linked here.

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

Posted: Mon Feb 01, 2010 2:45 am
by Xoria
Thanks, got I got another question. The love docs says to merge "love".
Here's how to do it on Windows. In a console, type this:

copy /b love.exe+game.love game.exe
Where IS this console, and how do you get it?

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

Posted: Mon Feb 01, 2010 3:01 am
by TechnoCat
On Windows, hit windows+r, type cmd, and hit enter.

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

Posted: Mon Feb 01, 2010 7:27 pm
by Xoria
Thanks alot.


For the zipped binaries, how do you make it run with a .love folder? I drag it to the love.exe but it won't work.

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

Posted: Mon Feb 01, 2010 8:59 pm
by Robin
Make sure main.lua is top-level: LÖVE won't run it otherwise.

To make a zip such as that, zip all the files in the right folder, not the folder itself.

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

Posted: Mon Feb 01, 2010 10:09 pm
by Xoria
It worked. :D

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

Posted: Fri Feb 26, 2010 7:38 am
by adrywalsh
Greetings!

When I attempt to run my executable it tells me my png "test.png" does not exist.
Why can't it find it?

I've tried putting the png file inside the zip and including it separately, as with the dlls, but neither seems to work.

Please, help!

Windows XP

****
Code:
g_EffectImage = love.graphics.newImage('test.png')
****
png is super small, if that matters