Page 1 of 1

Rubber Piggey

Posted: Thu Jan 03, 2013 5:14 pm
by littlediobolic
I am completly new to Love and was wondering how to get rid of the rubber piggey and get the love command line.

Re: Rubber Piggey

Posted: Thu Jan 03, 2013 5:21 pm
by srcn
1 - get Notepad++
2 - write your code save it as main.lua
3 - create a shortcut of löve
4 - drag the folder that has your main.lua on löve's shortcut

Code: Select all

function love.draw()
love.graphics.print("Hello world")
end
You can use this for beginning

Re: Rubber Piggey

Posted: Thu Jan 03, 2013 6:28 pm
by littlediobolic
Yes but how do i get the love command line that they were talking about

Re: Rubber Piggey

Posted: Thu Jan 03, 2013 7:09 pm
by josefnpat
littlediobolic wrote:Yes but how do i get the love command line that they were talking about
To get rid of the piggy, please visit: https://love2d.org/wiki/Getting_Started

As for command line, it's dependent on your operating system.

Windows:

Set `t.console = true` in conf.lua (https://love2d.org/wiki/Config_Files)

OS X / Linux:

Ensure that love is properly installed in your command line. Check with `love --version`

Navigate to the directory containing your `main.lua` and run `love .`