Hi,
Im new to löve and was doing the "hello world" tutorial and im quite sure i did everything right.
But when i try to run the code, it wont allow me"
sollutions?
Löve wont take my folder.
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Löve wont take my folder.
I folowd every stepp but löve wont take my folder.
Re: Löve wont take my folder.
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]].
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.
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.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]].
Il try the console command version tomorrow.
Re: Löve wont take my folder.
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.
- tentus
- Inner party member
- Posts: 1060
- Joined: Sun Oct 31, 2010 7:56 pm
- Location: Appalachia
- Contact:
Re: Löve wont take my folder.
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
Re: Löve wont take my folder.
Hrmm...retract my either/or. I'm running on linux so I don't have that option to drag. (Takes foot out of mouth).
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Löve wont take my folder.
I can't check this for you, but it might be some permission problem.
Help us help you: attach a .love.
Re: Löve wont take my folder.
If windows 7 isnt allowing the transformation where cold i chang it?Robin wrote:I can't check this for you, but it might be some permission problem.
Who is online
Users browsing this forum: Ahrefs [Bot], Amazon [Bot] and 6 guests