The whole LÖVE wiki in a Lua table.
The structure of a function in the api looks like this now:
-- Functions
functions = {
{ -- Function 1
name = 'Name of the function',
description = 'The description of what the function does',
variants = {
{
description = 'The description detailing what this variant does',
arguments = { -- (optional)
{
type = 'The variable type',
name = 'The variable name',
description = 'The description of the variable.'
},
{
-- Argument 2
-- ...
},
},
returns = { -- (optional)
{
type = 'The returned variable type',
name = 'The variable name',
description = 'The description of the variable.'
},
{
-- Return statement 2
-- ...
},
}
},
},
},
{
-- Function 2
-- ...
},
}
Documentation based on LÖVE 0.9.1.
Updated require statements.
Additions introduced by LÖVE 0.9.2 have been added to the documentation.