Why I can't start love in Mac~

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
CharAznable
Prole
Posts: 1
Joined: Sun Jun 22, 2014 2:25 am

Why I can't start love in Mac~

Post by CharAznable »

I download the 0.91version for macosx-x64.
Then I put it in the /Application
Using the Terminal I press "love" and return.
It shows that " -bash: love: command not found"
SOMEBODY could help me?
User avatar
Jasoco
Inner party member
Posts: 3726
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Why I can't start love in Mac~

Post by Jasoco »

Welcome to the forum.

The reason it isn't running from the Terminal is because the love binary (Inside the love.app package) is not on your PATH.

You can run it by using this command instead: /Applications/love.app/Contents/MacOS/love

Either way, just launching the love binary/application isn't going to run anything other than the No Game screen. You'll need to have a .love project to launch. At which point you can use the command as follows: /Applications/love.app/Contents/MacOS/love /Path/To/Love/Project.love

Someone can come along and help you figure out how to put the love binary on your PATH. I've never been able to figure that out myself.

Also, for the future, remember to use the Support forum instead of General. It has a better chance of gathering attention when you need help.
User avatar
slime
Solid Snayke
Posts: 3162
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Why I can't start love in Mac~

Post by slime »

Another option is to just drag your game's folder onto the love application to run it, or double-click a .love file to launch LÖVE automatically.
The terminal command is nice when you're rapidly reopening your game or you want to see the output of lua's print function, though.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests