Joint:getReactionForce

Joint:getReactionForce Returns the reaction force in newtons on the second body Function Available since LÖVE 0.8.0 This variant is not supported in earlier versions. Synopsis x, y = Joint:getReactionForce( invdt ) Arguments number x How long the force applies. Usually the inverse time step or 1/dt. Returns number x The x-component of the force. number y The y-component of the force. Function Removed in LÖVE 0.8.0 This variant is not supported in that and later versions. Synopsi

SpriteBatch:setColor

SpriteBatch:setColor Available since LÖVE 0.8.0 This method is not supported in earlier versions. Sets the color that will be used for the next add and set operations. Calling the function without arguments will disable all per-sprite colors for the SpriteBatch. In version 0.9.2 and older, the global color set with love.graphics.setColor will not work on the SpriteBatch if any of the sprites has its own color. Function Synopsis SpriteBatch:setColor( r, g, b, a ) Arguments number r The am

enet.peer:throttle configure

enet.peer:throttle configure Changes the probability at which unreliable packets should not be dropped. Function Synopsis peer:throttle_configure(interval, acceleration, deceleration) Arguments number interval Interval in milliseconds to measure lowest mean RTT. number acceleration Rate at which to increase throttle probability as mean RTT declines. number deceleration Rate at which to decrease throttle probability as mean RTT increases. Returns Nothing. See Also lua-enet enet.peer

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

Source:setDistance

Source:setDistance Available since LÖVE 0.8.0 This function is not supported in earlier versions. Removed in LÖVE 0.9.0 It has been renamed to Source:setAttenuationDistances. Sets the reference and maximum distance of the source. Function Synopsis Source:setDistance( ref, max ) Arguments number ref The new reference distance. number max The new maximum distance. Returns Nothing. See Also Source

love.mouse.setY

love.mouse.setY Available since LÖVE 0.9.0 This function is not supported in earlier versions. Sets the current Y position of the mouse. The coordinates of the mouse pointer are always whole numbers, but even if you try setting a non-integer, löve will floor it internally. Function Synopsis love.mouse.setY( y ) Arguments number y The new position of the mouse along the y-axis. Returns Nothing. See Also love.mouse love.mouse.setPosition love.mouse.setX love.mouse.getY

ParticleSystem:getInsertMode

ParticleSystem:getInsertMode Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the mode used when the ParticleSystem adds new particles. Function Synopsis mode = ParticleSystem:getInsertMode( ) Arguments None. Returns ParticleInsertMode mode The mode used when the ParticleSystem adds new particles. See Also ParticleSystem ParticleSystem:setInsertMode

love.touch.getPosition

love.touch.getPosition Available since LÖVE 0.10.0 This function is not supported in earlier versions. Gets the current position of the specified touch-press, in pixels. Function Synopsis x, y = love.touch.getPosition( id ) Arguments light userdata id The identifier of the touch-press. Use love.touch.getTouches, love.touchpressed, or love.touchmoved to obtain touch id values. Returns number x The position along the x-axis of the touch-press inside the window, in pixels. number y The p

love.filesystem.getUserDirectory

love.filesystem.getUserDirectory Returns the path of the user's directory Function Synopsis path = love.filesystem.getUserDirectory( ) Arguments None. Returns string path The path of the user's directory See Also love.filesystem

love.graphics.setPointStyle

love.graphics.setPointStyle Removed in LÖVE 0.10.0 This function is not supported in that and later versions. Sets the point style. Smooth points are notoriously buggy on a lot of graphics drivers. Use "rough" point style for increased consistency between different drivers. Function Synopsis love.graphics.setPointStyle( style ) Arguments PointStyle style The new point style. Returns Nothing. Examples Toggle between point styles with the help of love.graphics.getPointStyle. if love.g