ParticleSystem:getCount

ParticleSystem:getCount Available since LÖVE 0.9.0 It has been renamed from ParticleSystem:count. Gets the number of particles that are currently in the system. Function Synopsis count = ParticleSystem:getCount( ) Arguments None. Returns number count The current number of live particles. See Also ParticleSystem ParticleSystem:getBufferSize

love.keyboard.getKeyFromScancode

love.keyboard.getKeyFromScancode Available since LÖVE 0.9.2 This function is not supported in earlier versions. Gets the key corresponding to the given hardware scancode. Unlike key constants, Scancodes are keyboard layout-independent. For example the scancode "w" will be generated if the key in the same place as the "w" key on an American keyboard is pressed, no matter what the key is labelled or what the user's operating system settings are. Scancodes are useful for creating default con

Channel:peek

Channel:peek Available since LÖVE 0.9.0 This function is not supported in earlier versions. Retrieves the value of a Channel message, but leaves it in the queue. It returns nil if there's no message in the queue. Function Synopsis value = Channel:peek( ) Arguments None. Returns Variant value The contents of the message. See Also Channel Channel:pop

CircleShape:getWorldCenter

CircleShape:getWorldCenter Removed in LÖVE 0.8.0 This method is not supported in that and later versions. Get the center of the circle in world coordinates. Function Synopsis wx, wy = CircleShape:getWorldCenter( ) Arguments None. Returns number wx The x position of the circle in world coordinates. number wy The y position of the circle in world coordinates. See Also CircleShape Others Languages

love.touchreleased

love.touchreleased Available since LÖVE 0.10.0 This function is not supported in earlier versions. Callback function triggered when the touch screen stops being touched. Function Synopsis love.touchreleased( id, x, y, dx, dy, pressure ) Arguments light userdata id The identifier for the touch press. number x The x-axis position of the touch inside the window, in pixels. number y The y-axis position of the touch inside the window, in pixels. number dx The x-axis movement of the touch in

Shader:send

Shader:send Available since LÖVE 0.9.0 It has been renamed from PixelEffect:send. Sends one or more values to a special (uniform) variable inside the shader. Uniform variables have to be marked using the uniform or extern keyword, e.g. uniform float time; // "float" is the typical number type used in GLSL shaders. uniform float vars[2]; uniform vec2 light_pos; uniform vec4 colors[4]; The corresponding send calls would be shader:send("time", t) shader:send("vars",a,b) shader:send("light_p

Channel:supply

Channel:supply Available since LÖVE 0.9.0 This function is not supported in earlier versions. Send a message to the thread Channel and wait for a thread to accept it. See Variant for the list of supported types. Function Synopsis Channel:supply( value ) Arguments Variant value The contents of the message. Returns None. See Also Channel Channel:demand Channel:push

Body:getWorldPoints

Body:getWorldPoints Available since LÖVE 0.8.0 This method is not supported in earlier versions. Transforms multiple points from local coordinates to world coordinates. Function Synopsis x1, y1, x2, y2, ... = Body:getWorldPoints( x1, y1, x2, y2, ... ) Arguments number x1 The x position of the first point. number y1 The y position of the first point. number x2 The x position of the second point. number y2 The y position of the second point. Returns number x1 The transformed x positio

Shape:getData

Shape:getData Removed in LÖVE 0.8.0 Use Fixture:getUserData instead. Get the data set with setData. Function Synopsis v = Shape:getData( ) Arguments None. Returns any v The data previously set, or nil if none. See Also Shape Shape:setData

BezierCurve:translate

BezierCurve:translate Available since LÖVE 0.9.0 This function is not supported in earlier versions. Move the Bézier curve by an offset. Function Synopsis BezierCurve:translate(dx, dy) Arguments number dx Offset along the x axis. number dy Offset along the y axis. Returns Nothing. See Also BezierCurve:rotate BezierCurve:scale BezierCurve love.math