Hi there guys,
after struggling to get LUA to work on my MacBook I am completely lost
on how to install LÖVE. I have downloaded the .dmg, put the app in my
app folder ... but when I bring up the console there's nothing ... plus, although
all the games launch in LÖVE, their screens are either black or they produce
an error.
attempt to index global 'love' (a nil value)
stack traceback:
helloworld.lua:1: in main chunk
[C]: ?
Any help?
Kind regards
Kevin
Installing and running LÖVE on OS X Snow Leopard
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Prole
- Posts: 4
- Joined: Thu Feb 11, 2010 3:34 pm
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Installing and running LÖVE on OS X Snow Leopard
Are you running it with Lua? Because that doesn't work. See http://love2d.org/docs/getting_started.html.
One of the Mac guys might answer your question better.
One of the Mac guys might answer your question better.
Help us help you: attach a .love.
-
- Prole
- Posts: 4
- Joined: Thu Feb 11, 2010 3:34 pm
Re: Installing and running LÖVE on OS X Snow Leopard
I tried the following:
Double-Click the *.love-File (90% black screen, 10% blue error screen)
Drag & Drop the *.love-File onto Love.app (same as above)
Terminal → love *.love-File (bash-error: command not found)
Double-Click the *.love-File (90% black screen, 10% blue error screen)
Drag & Drop the *.love-File onto Love.app (same as above)
Terminal → love *.love-File (bash-error: command not found)
Re: Installing and running LÖVE on OS X Snow Leopard
What .love files are you using? The demos that come with the DMG should work just fine, but if you're using one written for 0.5.0, that won't work.
Running it from Terminal won't work unless you explicitly point it to the executable inside the .app bundle, but double-clicking .love files, or dragging/dropping them, should work.
Running it from Terminal won't work unless you explicitly point it to the executable inside the .app bundle, but double-clicking .love files, or dragging/dropping them, should work.
-
- Prole
- Posts: 4
- Joined: Thu Feb 11, 2010 3:34 pm
Re: Installing and running LÖVE on OS X Snow Leopard
ah, well! you're right, the examples shipped with the .dmg are working properly,
but I wanted to have a glance at an actual game. Is there any game working
under 0.6?
So there is no command-line-support for Snow Leopard / OS X as for now?
but I wanted to have a glance at an actual game. Is there any game working
under 0.6?
So there is no command-line-support for Snow Leopard / OS X as for now?
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Installing and running LÖVE on OS X Snow Leopard
Yes, but no large game has been finished yet that works under 0.6 (AFAIK).k.smithdesin wrote:ah, well! you're right, the examples shipped with the .dmg are working properly,
but I wanted to have a glance at an actual game. Is there any game working
under 0.6?
You could take a look at LovelyBigPlanet. Development on LBP is frozen for the moment though.
Help us help you: attach a .love.
Re: Installing and running LÖVE on OS X Snow Leopard
Well, LÖVE is designed to work like a standard app on OS X. If you want command line support, though, the easiest way is probably a symbolic link:
You should be able to run love from the command line then without having to worry about long paths.
Code: Select all
ln -s /Applications/love.app/Contents/MacOS/love /somewhere/in/your/PATH
-
- Prole
- Posts: 4
- Joined: Thu Feb 11, 2010 3:34 pm
Re: Installing and running LÖVE on OS X Snow Leopard
Nice! I was just confused that there was no command-line support because the "getting started"
said something about firing up the command-line, so there's defenitely room for some clarification.
Anyhow, thanks for your support! I'll have a look at this little gem. Haven't written a single line of
LUA until know ... we will see.
said something about firing up the command-line, so there's defenitely room for some clarification.
Anyhow, thanks for your support! I'll have a look at this little gem. Haven't written a single line of
LUA until know ... we will see.
Who is online
Users browsing this forum: Bing [Bot], Google [Bot], Google Adsense [Bot] and 2 guests