Page 1 of 2
Löve wont take my folder.
Posted: Wed Jan 04, 2012 11:27 pm
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 (131.79 KiB) Viewed 596 times
But when i try to run the code, it wont allow me"
- MhXf4.jpeg (133.44 KiB) Viewed 596 times
sollutions?
Re: Löve wont take my folder.
Posted: Thu Jan 05, 2012 12:03 am
by MarekkPie
Re: Löve wont take my folder.
Posted: Thu Jan 05, 2012 1:28 am
by vinacus
I folowd every stepp but löve wont take my folder.
Re: Löve wont take my folder.
Posted: Thu Jan 05, 2012 1:35 am
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]].
Re: Löve wont take my folder.
Posted: Thu Jan 05, 2012 1:55 am
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.
Re: Löve wont take my folder.
Posted: Thu Jan 05, 2012 2:01 am
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.
Re: Löve wont take my folder.
Posted: Thu Jan 05, 2012 4:06 am
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?
Re: Löve wont take my folder.
Posted: Thu Jan 05, 2012 4:08 am
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).
Re: Löve wont take my folder.
Posted: Thu Jan 05, 2012 8:36 am
by Robin
I can't check this for you, but it might be some permission problem.
Re: Löve wont take my folder.
Posted: Thu Jan 05, 2012 2:22 pm
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?