Source:getType

Source:getType Available since LÖVE 0.10.0 This function is not supported in earlier versions. Gets the type (static or stream) of the Source. Function Synopsis sourcetype = Source:getType( ) Arguments None. Returns SourceType sourcetype The type of the source. See Also Source love.audio.newSource SourceType

enet.peer:last round trip time

enet.peer:last round trip time Returns or sets the round trip time of the previous round trip time computation. If value is nil the current value of the peer is returned. Otherwise the the previous round trip time computation is set to the specified value and returned. ENet performs some filtering on the round trip times and it takes some time until the parameters are accurate. To speed it up you can set the value of the last round trip time to a more accurate guess. Function Synopsis peer:l

Contact:resetRestitution

Contact:resetRestitution Available since LÖVE 0.8.0 This function is not supported in earlier versions. Resets the contact restitution to the mixture value of both fixtures. Function Synopsis Contact:resetRestitution( ) Arguments None. Returns Nothing. See Also Contact

Fixture:setSensor

Fixture:setSensor Available since LÖVE 0.8.0 This method is not supported in earlier versions. Sets whether the fixture should act as a sensor. Sensors do not cause collision responses, but the begin-contact and end-contact World callbacks will still be called for this fixture. Function Synopsis Fixture:setSensor( sensor ) Arguments boolean sensor The sensor status. Returns Nothing. See Also Fixture Fixture:isSensor

Joint:isDestroyed

Joint:isDestroyed Available since LÖVE 0.9.2 This function is not supported in earlier versions. Gets whether the Joint is destroyed. Destroyed joints cannot be used. Function Synopsis destroyed = Joint:isDestroyed( ) Arguments None. Returns boolean destroyed Whether the Joint is destroyed. See Also Joint Joint:destroy

World:update

World:update Update the state of the world. Function Synopsis World:update( dt ) Arguments number dt The time (in seconds) to advance the physics simulation. Returns Nothing. See Also World

love.window.getDisplayName

love.window.getDisplayName Available since LÖVE 0.9.2 This function is not supported in earlier versions. Gets the name of a display. Function Synopsis name = love.window.getDisplayName( displayindex ) Arguments number displayindex (1) The index of the display to get the name of. Returns string name The name of the specified display. See Also love.window love.window.getDisplayCount

love.graphics.triangle

love.graphics.triangle Removed in LÖVE 0.9.0 This function is not supported in that and later versions. Use love.graphics.polygon instead.. Draws a triangle. Function Synopsis love.graphics.triangle( mode, x1, y1, x2, y2, x3, y3 ) Arguments DrawMode mode How to draw the triangle. number x1 The position of first point on the x-axis. number y1 The position of first point on the y-axis. number x2 The position of second point on the x-axis. number y2 The position of second point on the y-

love.graphics.getCompressedImageFormats

love.graphics.getCompressedImageFormats Available since LÖVE 0.9.2 This function is not supported in earlier versions. Gets the available compressed image formats, and whether each is supported. Function Synopsis formats = love.graphics.getCompressedImageFormats( ) Arguments None. Returns table formats A table containing CompressedImageFormats as keys, and a boolean indicating whether the format is supported as values. Not all systems support all formats. Examples Display a list of the

WeldJoint:setFrequency

WeldJoint:setFrequency Available since LÖVE 0.8.0 This method is not supported in earlier versions. Sets a new frequency. Function Synopsis WeldJoint:setFrequency( freq ) Arguments number freq The new frequency in hertz. Returns Nothing. See Also WeldJoint WeldJoint:getFrequency