Page 1 of 1
List of all LOVE functions including parameters
Posted: Tue May 13, 2014 7:49 pm
by Ratchet
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
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.
Re: List of all LOVE functions including parameters
Posted: Tue May 13, 2014 8:07 pm
by slime
Santos has created a nice (very long) single-page list of everything here:
http://santos.nfshost.com/love.html
Re: List of all LOVE functions including parameters
Posted: Tue May 13, 2014 8:44 pm
by XxSolidJelloxX
Thanks for this, did not know it existed.
Re: List of all LOVE functions including parameters
Posted: Tue May 13, 2014 9:00 pm
by Ratchet
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...
Re: List of all LOVE functions including parameters
Posted: Wed May 14, 2014 6:03 am
by Plu
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.
Re: List of all LOVE functions including parameters
Posted: Wed May 14, 2014 1:27 pm
by Ratchet
I need it for the autocompletion feature of a text editor.
Using Ctrl+A will need still a lot of extra work :/
Re: List of all LOVE functions including parameters
Posted: Wed May 14, 2014 1:51 pm
by Plu
What editor? There's a few editors that already have working files for this, maybe you can use or modify one of those?
Re: List of all LOVE functions including parameters
Posted: Wed May 14, 2014 2:40 pm
by Ratchet
My own editor
I didn't found a file from an existig editor that includes the function parameters...