enet.peer:state

enet.peer:state Returns the state of the peer as a string. Function Synopsis peer:state() Arguments None. Returns string state The peer's current state. It can be any of the following: "disconnected" "connecting" "acknowledging_connect" "connection_pending" "connection_succeeded" "connected" "disconnect_later" "disconnecting" "acknowledging_disconnect" "zombie" "unknown" See Also lua-enet enet.peer

love.window.getIcon

love.window.getIcon Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the window icon. Function Synopsis imagedata = love.window.getIcon( ) Arguments None. Returns ImageData imagedata The window icon imagedata, or nil if no icon has been set with love.window.setIcon. See Also love.window love.window.setIcon

enet.peer:ping interval

enet.peer:ping interval Specifies the interval in milliseconds that pings are sent to the other end of the connection (defaults to 500). Function Synopsis peer:ping_interval(interval) Arguments number interval Time in milliseconds to wait before automatically calling peer:ping(). Returns Nothing. See Also lua-enet enet.peer enet.peer:ping

love.graphics.ellipse

love.graphics.ellipse Available since LÖVE 0.10.0 This function is not supported in earlier versions. Draws an ellipse. Function Synopsis love.graphics.ellipse( mode, x, y, radiusx, radiusy ) Arguments DrawMode mode How to draw the ellipse. number x The position of the center along x-axis. number y The position of the center along y-axis. number radiusx The radius of the ellipse along the x-axis (half the ellipse's width.) number radiusy The radius of the ellipse along the y-axis (hal

love.graphics.newStencil

love.graphics.newStencil Available since LÖVE 0.8.0 and removed in LÖVE 0.9.0 Lua functions can be used directly with love.graphics.stencil (or love.graphics.setStencil in 0.9). Creates a new stencil. Function Synopsis myStencil = love.graphics.newStencil( stencilFunction ) Arguments function stencilFunction Function that draws the stencil. Returns function myStencil Function that defines the new stencil. See Also love.graphics love.graphics.setStencil love.graphics.setInvertedS

love.getVersion

love.getVersion Available since LÖVE 0.9.1 This function is not supported in earlier versions. Gets the current running version of LÖVE. Function Synopsis major, minor, revision, codename = love.getVersion( ) Arguments None. Returns number major The major version of LÖVE, i.e. 0 for version 0.9.1. number minor The minor version of LÖVE, i.e. 9 for version 0.9.1. number revision The revision version of LÖVE, i.e. 1 for version 0.9.1. string codename The codename of the current version,

love.filesystem.isFused

love.filesystem.isFused Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets whether the game is in fused mode or not. If a game is in fused mode, its save directory will be directly in the Appdata directory instead of Appdata/LOVE/. The game will also be able to load C Lua dynamic libraries which are located in the save directory. A game is in fused mode if the source .love has been fused to the executable (see Game Distribution), or if "--fused" has been g

BezierCurve:evaluate

BezierCurve:evaluate Available since LÖVE 0.9.0 This function is not supported in earlier versions. Evaluate Bézier curve at parameter t. The parameter must be between 0 and 1 (inclusive). This function can be used to move objects along paths or tween parameters. However it should not be used to render the curve, see BezierCurve:render for that purpose. Function Synopsis x,y = BezierCurve:evaluate(t) Arguments number t Where to evaluate the curve. Returns number x x coordinate of the

PulleyJoint:getLengthA

PulleyJoint:getLengthA Available since LÖVE 0.8.0 This method is not supported in earlier versions. Get the current length of the rope segment attached to the first body. Function Synopsis length = PulleyJoint:getLengthA( ) Arguments None. Returns number length The length of the rope segment. See Also PulleyJoint

Source:setRolloff

Source:setRolloff Available since LÖVE 0.8.0 This function is not supported in earlier versions. Sets the rolloff factor which affects the strength of the used distance attenuation. Extended information and detailed formulas can be found in the chapter "3.4. Attenuation By Distance" of OpenAL 1.1 specification. Function Synopsis Source:setRolloff( rolloff ) Arguments number rolloff The new rolloff factor. Returns Nothing. See Also Source