Skip to content

Releases: love2d-community/love-api

0.10.0

01 Jan 10:55
Compare
Choose a tag to compare
  • Updated to LÖVE 0.10.0

0.9.2f

03 Jun 09:40
Compare
Choose a tag to compare
  • Added love.graphics.setScissor variants
  • Added Mesh:setDrawRange variant

0.9.2e

07 Apr 15:10
Compare
Choose a tag to compare

Additions

  • Added missing Event Constants (see PR #5)
  • Added description fields for variants of love.graphics.push
  • Added description fields for variant of love.graphics.newFont

Structure changes

  • The field containing function variants is now called 'variants' instead of 'functions' (see PR #6 and #2)
  • Variants now have an (optional) description field

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
    -- ...
    },
}

Fixes

  • Moved getDopplerScale and setDopplerScale from Source to love.audio

Other Changes

  • Updated description of love.audio.getDistanceModel

0.9.2d

02 Apr 11:34
Compare
Choose a tag to compare

Additions

  • Added Thread:isRunning (See PR #1)
  • Added Thread:start variant
  • Added love.graphics.newMesh variant
  • Added love.graphics.push variant
  • Added StackType

Fixes

  • Fixed Channel:push (See PR #1)
  • Fixed Channel:supply (See PR #1)

Other Changes

  • Updated love.graphics.push
  • Updated love.graphics.newThread (See PR #1)
  • Updated MeshDrawMode
  • Updated CanvasFormat

0.9.2c

27 Mar 17:02
Compare
Choose a tag to compare
  • Fixed faulty escape sequence in love.filesystem

0.9.2b

27 Mar 16:26
Compare
Choose a tag to compare
  • Added love.filesystem.mount
  • Added love.filesystem.unmount
  • Added love.filesystem.setSource
  • Added love.filesystem.setSourceBaseDirectory

0.9.2a

25 Mar 13:11
Compare
Choose a tag to compare

Updated require statements.

0.9.2

25 Mar 12:24
Compare
Choose a tag to compare

Additions introduced by LÖVE 0.9.2 have been added to the documentation.

0.9.1

27 Mar 16:27
Compare
Choose a tag to compare

Documentation based on LÖVE 0.9.1.