the LOVE documentation is absolutely no help to me with this.
According to the documentation, I can drag my main.lua file onto the executable and it'll load the game. It's doesn't work like that in Ubuntu. So how do I do this?
running LOVE games in Ubuntu
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- qubodup
- Inner party member
- Posts: 775
- Joined: Sat Jun 21, 2008 9:21 pm
- Location: Berlin, Germany
- Contact:
Re: running LOVE games in Ubuntu
dragging main.lua....? no: file.love
do you know what a console/terminal/command-line is?
love .
if the main.lua is in the folder
love file.love
if there is a file.love
do you know what a console/terminal/command-line is?
love .
if the main.lua is in the folder
love file.love
if there is a file.love
lg.newImage("cat.png") -- made possible by lg = love.graphics
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
Re: running LOVE games in Ubuntu
yes, I know what a terminal is. I've been using linux for over a year now, mostly ubuntu and fedora. That's not the problem.
now, could you explain what I need to do in coherent sentences?
now, could you explain what I need to do in coherent sentences?
Re: running LOVE games in Ubuntu
open term
goto the folder where your .love file is
type in love name.love
OR
open term
goto the folder where your project's main.lua script is
type in love .
goto the folder where your .love file is
type in love name.love
OR
open term
goto the folder where your project's main.lua script is
type in love .
Re: running LOVE games in Ubuntu
I had the same problem. You need to tell love to open the folder (not the file) of your project. I do it this way
1. Open terminal
2. Type "love "
3. Drag my project folder onto the terminal
4. Press "Enter" on my keyboard!
1. Open terminal
2. Type "love "
3. Drag my project folder onto the terminal
4. Press "Enter" on my keyboard!
Re: running LOVE games in Ubuntu
okay, I think I got it. Now I need to start learning lua.
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: running LOVE games in Ubuntu
A post I made about assigning the filetype to love: http://love2d.org/forum/viewtopic.php?f=3&t=530
Re: running LOVE games in Ubuntu
Sorry, should probably fix that.ac3raven wrote:the LOVE documentation is absolutely no help to me with this.
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 5 guests