General discussion about LÖVE, Lua, game development, puns, and unicorns.
actionM
Prole
Posts: 2 Joined: Sun Jul 19, 2009 5:39 pm
Post
by actionM » Sun Jul 19, 2009 5:43 pm
How do I run a game I have made in linux? I've been trying to just run the tutorials but nothing seems to work.
I tried in the terminal:
{edit}I do get this when I run the above command as root.
This is LOVE 0.4.0 (Taco Beam).
Code: Select all
INIT love.filesystem [PhysFS]
INIT love.graphics [OpenGL/DevIL/FreeType]
INIT love.audio [SDL_mixer]
INIT love.timer [SDL]
INIT love.mouse [SDL]
INIT love.keyboard [SDL]
INIT love.physics [Box2D]
INIT love.system [Generic]
Game (/home/matt/game.lua) does not exist.
QUIT love.system [Generic]
QUIT love.physics [Box2D]
QUIT love.keyboard [SDL]
QUIT love.mouse [SDL]
QUIT love.timer [SDL]
QUIT love.audio [SDL_mixer]
QUIT love.graphics [OpenGL/DevIL/FreeType]
QUIT love.filesystem [PhysFS]
osgeld
Party member
Posts: 303 Joined: Sun Nov 23, 2008 10:13 pm
Post
by osgeld » Sun Jul 19, 2009 6:14 pm
1) goto the directory where the *.love file is and run love game.love
2) goto the directory where your game's main.lua file is and run love .
actionM
Prole
Posts: 2 Joined: Sun Jul 19, 2009 5:39 pm
Post
by actionM » Sun Jul 19, 2009 7:28 pm
Ok, thanks alot. I'm still only able to do that as root, but I think I can fix that.
[edit] I guess I should explain how to fix that so others can see. I'm on Ubuntu/9.04 and all I had to do was create an alias in the .bashrc file located in the home directory.
PauloftheWest
Prole
Posts: 15 Joined: Mon Jul 20, 2009 4:31 pm
Location: Ravenel, SC
Post
by PauloftheWest » Wed Jul 22, 2009 3:07 pm
I actually have the same problem (with Love 0.5.0), but to get it to work I had to do:
in the directory with main.love. While
would never work for me. It reports that '/home/west/tmp/main.love' DNE, but an 'ls' shows it does. Also, the alias didn't work for me because love isn't located in /usr/game/love.
O-well, at least 'love ./' works.
~PauloftheWest
~less think, more do
Users browsing this forum: Ahrefs [Bot] and 13 guests