.love file not working

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.
Post Reply
r3tr0-64
Prole
Posts: 1
Joined: Sun Oct 13, 2019 10:03 am

.love file not working

Post by r3tr0-64 »

I cannot get my .love file to work.
I followed everything exactly but I cannot get it to work. My 'main.lua' file is in the main directory and I've zipped it and renamed it to 'file'.love, but it still doesn't work and I don't have a single clue why.
I can give more information if needed.
Help is appreciated. :/
User avatar
raidho36
Party member
Posts: 2063
Joined: Mon Jun 17, 2013 12:00 pm

Re: .love file not working

Post by raidho36 »

Make sure your package structure looks like this:

Code: Select all

game.love /
  +-main.lua
  +-conf.lua
  |
User avatar
zorg
Party member
Posts: 3465
Joined: Thu Dec 13, 2012 2:55 pm
Location: Absurdistan, Hungary
Contact:

Re: .love file not working

Post by zorg »

(conf.lua is not required)
In any case, more importantly, make sure you zipped the project folder *contents*, not the folder itself, as raidho was hinting at.
Me and my stuff :3True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot] and 3 guests