Löve wont take my folder.

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.
vinacus
Prole
Posts: 6
Joined: Wed Jan 04, 2012 10:24 pm

Löve wont take my folder.

Post by vinacus »

Hi,
Im new to löve and was doing the "hello world" tutorial and im quite sure i did everything right.
SLVpd.jpeg
SLVpd.jpeg (131.79 KiB) Viewed 281 times
But when i try to run the code, it wont allow me"
MhXf4.jpeg
MhXf4.jpeg (133.44 KiB) Viewed 281 times
sollutions?
User avatar
MarekkPie
Inner party member
Posts: 587
Joined: Wed Dec 28, 2011 4:48 pm
Contact:

Re: Löve wont take my folder.

Post by MarekkPie »

vinacus
Prole
Posts: 6
Joined: Wed Jan 04, 2012 10:24 pm

Re: Löve wont take my folder.

Post by vinacus »

I folowd every stepp but löve wont take my folder.
User avatar
MarekkPie
Inner party member
Posts: 587
Joined: Wed Dec 28, 2011 4:48 pm
Contact:

Re: Löve wont take my folder.

Post by MarekkPie »

There are two ways you can load a love game. Either create a .love file following the instructions below...
http://love2d.org/wiki/Game_Distribution
...or follow the console commands for your OS in my first reply.

It looks like you are trying to put the actual love engine (or in your case, a shortcut to the love engine) into the folder, thinking that will make you a .love file. It doesn't work that way. Try making a .love file using the above link, then double click on that file. If that doesn't work, then follow the console command version (where you type love [[directory holding your main.lua]].
vinacus
Prole
Posts: 6
Joined: Wed Jan 04, 2012 10:24 pm

Re: Löve wont take my folder.

Post by vinacus »

MarekkPie wrote:There are two ways you can load a love game. Either create a .love file following the instructions below...
http://love2d.org/wiki/Game_Distribution
...or follow the console commands for your OS in my first reply.

It looks like you are trying to put the actual love engine (or in your case, a shortcut to the love engine) into the folder, thinking that will make you a .love file. It doesn't work that way. Try making a .love file using the above link, then double click on that file. If that doesn't work, then follow the console command version (where you type love [[directory holding your main.lua]].
You have it mixed up im not trying to put the shortcut to löve into the folder im trying to put the folder (with the code to hello world) into the shortcut to löve.
Il try the console command version tomorrow.
User avatar
MarekkPie
Inner party member
Posts: 587
Joined: Wed Dec 28, 2011 4:48 pm
Contact:

Re: Löve wont take my folder.

Post by MarekkPie »

Either/or that's still not how it works. When you run build a .love file, the engine (no matter where it is) will recognize that take over from there. So you aren't touching the engine at all. LOVE.exe (which is what I assume you are trying to put the thing in) doesn't make .love files. You make .love files, and do so using the methods described in the Game Distribution link above.
User avatar
tentus
Inner party member
Posts: 1060
Joined: Sun Oct 31, 2010 7:56 pm
Location: Appalachia
Contact:

Re: Löve wont take my folder.

Post by tentus »

Alright, you've got a shortcut to love.exe, and a folder holding main.lua. Great so far. You drag the folder onto the shortcut and it doesn't run it? That's not supposed to happen. Are you sure the shortcut works, there's nothing going on with permissions or anything?
Kurosuke needs beta testers
User avatar
MarekkPie
Inner party member
Posts: 587
Joined: Wed Dec 28, 2011 4:48 pm
Contact:

Re: Löve wont take my folder.

Post by MarekkPie »

Hrmm...retract my either/or. I'm running on linux so I don't have that option to drag. (Takes foot out of mouth).
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Löve wont take my folder.

Post by Robin »

I can't check this for you, but it might be some permission problem.
Help us help you: attach a .love.
vinacus
Prole
Posts: 6
Joined: Wed Jan 04, 2012 10:24 pm

Re: Löve wont take my folder.

Post by vinacus »

Robin wrote:I can't check this for you, but it might be some permission problem.
If windows 7 isnt allowing the transformation where cold i chang it?
Post Reply

Who is online

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