How to get/dump LÖVE documentation for use in IDE?
Posted: Thu Nov 22, 2018 1:44 pm
I'm currently working on a small IDE for LÖVE and I want to add quick help feature that shows information about a function. I already wrote a Lua script that dumps all stuff from the love table. But of cause I only got the names of functions etc.
What I need is a summary of the wiki entry for each function including
And so on. Any ideas how to get that?
What I need is a summary of the wiki entry for each function including
- Name
- Arguments
- Return values
- Description
- Version
- (Example)
Code: Select all
love.graphics.draw( drawable, x, y, r, sx, sy, ox, oy, kx, ky )
0.9.0 | love.graphics.draw( texture, quad, x, y, r, sx, sy, ox, oy, kx, ky )
11.0 | love.graphics.draw( drawable, transform )
11.0 | love.graphics.draw( texture, quad, transform )
Draws a Drawable object (an Image, Canvas, SpriteBatch, ParticleSystem, Mesh, Text object, or Video) on the screen with optional rotation, scaling and shearing.
Code: Select all
love.graphics.line( x1, y1, x2, y2, ... )
love.graphics.line( points )
Draws lines between points.