Cannot run .love File

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
User avatar
kaiwegner
Prole
Posts: 2
Joined: Fri Jan 15, 2010 5:37 am
Location: Magdeburg, Germany
Contact:

Cannot run .love File

Post by kaiwegner »

Hi guys,

first of all great library / framework you have here. I got excited by the screenshots and started to try some developing. The last 3 days I learned a lot about lua and created a game. It's nice to see an engine that actually helps you get what you want and not makes you do thinks you don't like.

Now - my problem is, that I can run the developed game from the commandline like so:

Code: Select all

peta:Grane kaiwegner$ love . 
or like this (one directory up):

Code: Select all

peta:Build kaiwegner$ love Grane
what I cannot do is pack this into a .love file. when I use my macs builtin compress to zip-file and rename it to .love I end up with a black screen with no title in love.

Please help me distribute my first game.
User avatar
kaiwegner
Prole
Posts: 2
Joined: Fri Jan 15, 2010 5:37 am
Location: Magdeburg, Germany
Contact:

Re: Cannot run .love File

Post by kaiwegner »

Solved: As a mac user you should not pack the directory where your project is in but all the files inside. So that the main.lua file is in the root of the zip-file. And then rename it to .love.

Thanks anjo!
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Cannot run .love File

Post by bartbes »

The next version will warn you when the .love is wrongly packaged. (the current repo version already does that)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests