List of all LOVE functions including parameters

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
User avatar
Ratchet
Citizen
Posts: 67
Joined: Mon Apr 08, 2013 10:32 am

List of all LOVE functions including parameters

Post by Ratchet » Tue May 13, 2014 7:49 pm

What is the easiest way to get a list of all available LOVE functions from all modules including their parameters?
And no, I don't want to go through the Wiki manually :megagrin:

Code: Select all

love.update(dt)
love.draw()
love.keypressed(key)
...
love.math.random(min, max)
love.graphics.draw(drawable, x, y, r, sx, sy, ox, oy, kx, ky)
P.S. Need all types, too.
macOS 10.14 Mojave | LÖVE 11.2

User avatar
slime
Solid Snayke
Posts: 2853
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: List of all LOVE functions including parameters

Post by slime » Tue May 13, 2014 8:07 pm

Santos has created a nice (very long) single-page list of everything here: http://santos.nfshost.com/love.html

User avatar
XxSolidJelloxX
Prole
Posts: 25
Joined: Sun Jul 14, 2013 2:46 am
Location: The Stars

Re: List of all LOVE functions including parameters

Post by XxSolidJelloxX » Tue May 13, 2014 8:44 pm

slime wrote:Santos has created a nice (very long) single-page list of everything here: http://santos.nfshost.com/love.html
Thanks for this, did not know it existed.

User avatar
Ratchet
Citizen
Posts: 67
Joined: Mon Apr 08, 2013 10:32 am

Re: List of all LOVE functions including parameters

Post by Ratchet » Tue May 13, 2014 9:00 pm

That's really nice, great work indeed, but I need it as a plain text. I see no simple way to filter out all the HTML tags...
macOS 10.14 Mojave | LÖVE 11.2

User avatar
Plu
Inner party member
Posts: 722
Joined: Fri Mar 15, 2013 9:36 pm

Re: List of all LOVE functions including parameters

Post by Plu » Wed May 14, 2014 6:03 am

You probably have some sort of goal in mind here beyond just using it as a reference. If you want to strip the html, you could just Ctrl+A and then paste it into notepad, if you don't care about the format all too much.

Otherwise, what are you planning? Maybe we can come up with something.

User avatar
Ratchet
Citizen
Posts: 67
Joined: Mon Apr 08, 2013 10:32 am

Re: List of all LOVE functions including parameters

Post by Ratchet » Wed May 14, 2014 1:27 pm

I need it for the autocompletion feature of a text editor.

Using Ctrl+A will need still a lot of extra work :/
macOS 10.14 Mojave | LÖVE 11.2

User avatar
Plu
Inner party member
Posts: 722
Joined: Fri Mar 15, 2013 9:36 pm

Re: List of all LOVE functions including parameters

Post by Plu » Wed May 14, 2014 1:51 pm

What editor? There's a few editors that already have working files for this, maybe you can use or modify one of those?

User avatar
Ratchet
Citizen
Posts: 67
Joined: Mon Apr 08, 2013 10:32 am

Re: List of all LOVE functions including parameters

Post by Ratchet » Wed May 14, 2014 2:40 pm

My own editor ^^

I didn't found a file from an existig editor that includes the function parameters...
macOS 10.14 Mojave | LÖVE 11.2

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests