SpriteBatch:getImage

SpriteBatch:getImage Available since LÖVE 0.8.0 This method is not supported in earlier versions. Removed in LÖVE 0.10.0 Use SpriteBatch:getTexture instead. Returns the image used by the SpriteBatch. Function Synopsis image = SpriteBatch:getImage( ) Arguments None Returns Image image The image for the sprites. See Also SpriteBatch SpriteBatch:setImage

Shape:setData

Shape:setData Removed in LÖVE 0.8.0 Use Fixture:setUserData instead. Set data to be passed to the collision callback. When a shape collides, the value set here will be passed to the collision callback as one of the parameters. Typically, you would want to store a table reference here, but any value can be used. Function Synopsis Shape:setData( v ) Arguments any v Any Lua value. Returns Nothing. See Also Shape Shape:getData

ParticleSystem:getOffsetY

ParticleSystem:getOffsetY Removed in LÖVE 0.9.0 It has been moved to ParticleSystem:getOffset. Get the y coordinate of the particle rotation offset. Function Synopsis yOffset = ParticleSystem:getOffsetY( ) Arguments None. Returns number yOffset The y coordinate of the rotation offset. See Also ParticleSystem ParticleSystem:getOffsetX ParticleSystem:setOffset

Channel:count

Channel:count Available since LÖVE 0.9.0 This function is not supported in earlier versions. Retrieves the number of messages in the thread Channel queue. Function Synopsis value = Channel:getCount( ) Arguments None. Returns number count The number of messages in the queue. See Also Channel Channel:pop

love.physics.newPrismaticJoint

love.physics.newPrismaticJoint Creates a PrismaticJoint between two bodies. A prismatic joint constrains two bodies to move relatively to each other on a specified axis. It does not allow for relative rotation. Its definition and operation are similar to a revolute joint, but with translation and force substituted for angle and torque. Function Available since LÖVE 0.8.0 This variant is not supported in earlier versions. Synopsis joint = love.physics.newPrismaticJoint( body1, body2, x,

ParticleSystem:setRotation

ParticleSystem:setRotation Sets the rotation of the image upon particle creation (in radians). Function Synopsis ParticleSystem:setRotation( min, max ) Arguments number min The minimum initial angle (radians). number max (min) The maximum initial angle (radians). Returns Nothing. See Also ParticleSystem

Text:addf

Text:addf Available since LÖVE 0.10.0 This function is not supported in earlier versions. Adds additional formatted / colored text to the Text object at the specified position. Function Synopsis index = Text:addf( textstring, wraplimit, alignmode, x, y, angle, sx, sy, ox, oy, kx, ky ) Arguments string textstring The text to add to the object. number wraplimit The maximum width in pixels of the text before it gets automatically wrapped to a new line. AlignMode align The alignment of the

love.graphics.setColorMode

love.graphics.setColorMode Available since LÖVE 0.2.0 and removed in LÖVE 0.9.0 This function is not supported in earlier or later versions. Sets the color mode (which controls how images are affected by the current color). Function Synopsis love.graphics.setColorMode( mode ) Arguments ColorMode mode The color mode to use. Returns Nothing. See Also love.graphics love.graphics.getColorMode

BezierCurve:insertControlPoint

BezierCurve:insertControlPoint Available since LÖVE 0.9.0 This function is not supported in earlier versions. Insert control point after the i-th control point. Indices start with 1. Negative indices wrap around: -1 is the last control point, -2 the one before the last, etc. Function Synopsis BezierCurve:insertControlPoint(x, y, i) Arguments number x Position of the control point along the x axis. number y Position of the control point along the y axis. number i (-1) Index of the contro

love.graphics.isSupported

love.graphics.isSupported Available since LÖVE 0.8.0 and removed in LÖVE 0.10.0 It has been replaced by love.graphics.getSupported. Checks if certain graphics functions can be used. Older and low-end systems do not always support all graphics extensions. Function Synopsis isSupported = love.graphics.isSupported( support1, support2, support3, ... ) Arguments GraphicsFeature supportN The graphics feature to check for. Returns boolean isSupported True if everything is supported, false ot