Rubber Piggey

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
littlediobolic
Prole
Posts: 2
Joined: Thu Jan 03, 2013 5:11 pm

Rubber Piggey

Post 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.
User avatar
srcn
Citizen
Posts: 59
Joined: Fri Dec 28, 2012 2:22 am
Location: Tartu
Contact:

Re: Rubber Piggey

Post 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
I am a mad scientist!
littlediobolic
Prole
Posts: 2
Joined: Thu Jan 03, 2013 5:11 pm

Re: Rubber Piggey

Post by littlediobolic »

Yes but how do i get the love command line that they were talking about
User avatar
josefnpat
Inner party member
Posts: 955
Joined: Wed Oct 05, 2011 1:36 am
Location: your basement
Contact:

Re: Rubber Piggey

Post 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 .`
Missing Sentinel Software | Twitter

FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests