PixelEffect:send

PixelEffect:send Available since LÖVE 0.8.0 This function is not supported in earlier versions. Sends one or more values to a special (extern) variable inside the pixel effect. Extern variables have to be marked using the extern keyword, e.g. extern number time; extern vec2 light_pos; extern vec4 colors[4]; The corresponding send calls would be effect:send("time", t) effect:send("light_pos", {light_x, light_y}) effect:send("colors", {r1, g1, b1, a1}, {r2, g2, b2, a2}, {r3, g3, b3, a3},

DistanceJoint:getFrequency

DistanceJoint:getFrequency Gets the response speed. Function Synopsis Hz = DistanceJoint:getFrequency( ) Arguments None. Returns number Hz The response speed. See Also DistanceJoint

love.timer.sleep

love.timer.sleep Pauses the current thread for the specified amount of time. This function causes the entire thread to pause for the duration of the sleep. Graphics will not draw, input events will not trigger, code will not run, and the window will be unresponsive if you use this as "wait()" in the main thread. Use love.update or a Timer library for that instead. Function Available since LÖVE 0.8.0 This behaviour is not supported in earlier versions. Synopsis love.timer.sleep( s ) Argume

love.filesystem.setSymlinksEnabled

love.filesystem.setSymlinksEnabled Available since LÖVE 0.9.2 This function is not supported in earlier versions. Sets whether love.filesystem follows symbolic links. It is enabled by default in version 0.10.0 and newer, and disabled by default in 0.9.2. Function Synopsis love.filesystem.setSymlinksEnabled( enable ) Arguments boolean enable Whether love.filesystem should follow symbolic links. Returns Nothing. See Also love.filesystem love.filesystem.areSymlinksEnabled love.filesy

(Image):setWrap

(Image):setWrap Sets the wrapping properties of an Image. This function sets the way an Image is repeated when it is drawn with a Quad that is larger than the image's extent. An image may be clamped or set to repeat in both horizontal and vertical directions. Clamped images appear only once, but repeated ones repeat as many times as there is room in the Quad. N.B. If you use a Quad that is larger than the image extent and do not use repeated tiling, there may be an unwanted visual effect of

SoundData:getDuration

SoundData:getDuration Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the duration of the sound data. Function Synopsis duration = SoundData:getDuration( ) Arguments None. Returns number duration The duration of the sound data in seconds. See Also SoundData

Video:getWidth

Video:getWidth Available since LÖVE 0.10.0 This function is not supported in earlier versions. Gets the width of the Video in pixels. Function Synopsis width = Video:getWidth( ) Arguments None. Returns number width The width of the Video. See Also Video Video:getHeight Video:getDimensions

Channel:demand

Channel:demand Available since LÖVE 0.9.0 This function is not supported in earlier versions. Retrieves the value of a Channel message and removes it from the message queue. It waits until a message is in the queue then returns the message value. Function Synopsis value = Channel:demand( ) Arguments None. Returns Variant value The contents of the message. See Also Channel Channel:supply Channel:pop

enet.peer:reset

enet.peer:reset Forcefully disconnects peer. The peer is not notified of the disconnection. Function Synopsis peer:reset() Arguments None. Returns Nothing. See Also lua-enet enet.peer

love.graphics.newFont

love.graphics.newFont Creates a new Font. Created fonts are not cached, in that calling this function with the same arguments will always create a new Font object. This function can be slow if it is called repeatedly, such as from love.update or love.draw. If you need to use a specific resource often, create it once and store it somewhere it can be reused! Function Synopsis font = love.graphics.newFont( filename, size ) Arguments string filename The filepath to the font file. number size (12