love.threaderror

love.threaderror Available since LÖVE 0.9.0 This callback is not supported in earlier versions. Callback function triggered when a Thread encounters an error. Function Synopsis love.threaderror( thread, errorstr ) Arguments Thread thread The thread which produced the error. string errorstr The error message. Returns Nothing. Example function love.load() mythread = love.thread.newThread("thread.lua") mythread:start() end   function love.threaderror(thread, errorstr) print("Thread

Fixture:setMask

Fixture:setMask Available since LÖVE 0.8.0 This method is not supported in earlier versions. Fixture:setMask works in NOT.Categories selected will NOT collide with this fixture. If you want to work as Box2d works with Mask use instead Fixture:setFilterData Sets the category mask of the fixture. There can be up to 16 categories represented as a number from 1 to 16. This fixture will NOT collide with the fixtures that are in the selected categories if the other fixture also has a category

WheelJoint:getSpringDampingRatio

WheelJoint:getSpringDampingRatio Available since LÖVE 0.8.0 This method is not supported in earlier versions. Returns the damping ratio. Function Synopsis ratio = WheelJoint:getSpringDampingRatio( ) Arguments None. Returns number ratio The damping ratio. See Also WheelJoint WheelJoint:setSpringDampingRatio

ParticleSystem:setSizeVariation

ParticleSystem:setSizeVariation Sets the amount of size variation (0 meaning no variation and 1 meaning full variation between start and end). Function Synopsis ParticleSystem:setSizeVariation( variation ) Arguments number variation The amount of variation (0 meaning no variation and 1 meaning full variation between start and end). Returns Nothing. See Also ParticleSystem

love.filesystem.getAppdataDirectory

love.filesystem.getAppdataDirectory Returns the application data directory (could be the same as getUserDirectory) Function Synopsis path = love.filesystem.getAppdataDirectory( ) Arguments None. Returns string path The path of the application data directory See Also love.filesystem

love.graphics.newVideo

love.graphics.newVideo Available since LÖVE 0.10.0 This function is not supported in earlier versions. Creates a new drawable Video. Currently only Ogg Theora video files are supported. 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 video = love.graphics.newVideo( filename, loadaudio ) Arguments string filename The file path

Joystick:getAxisCount

Joystick:getAxisCount Available since LÖVE 0.9.0 It has been moved from love.joystick.getNumAxes. Gets the number of axes on the joystick. Function Synopsis axes = Joystick:getAxisCount( ) Arguments None. Returns number axes The number of axes available. See Also Joystick Joystick:getAxis Joystick:getAxes

World:setContactFilter

World:setContactFilter Available since LÖVE 0.8.0 This method is not supported in earlier versions. Sets a function for collision filtering. If the group and category filtering doesn't generate a collision decision, this function gets called with the two fixtures as arguments. The function should return a boolean value where true means the fixtures will collide and false means they will pass through each other. Function Synopsis World:setContactFilter( filter ) Arguments function filter

Contact:setEnabled

Contact:setEnabled Available since LÖVE 0.8.0 This function is not supported in earlier versions. Enables or disables the contact. Function Synopsis Contact:setEnabled( enabled ) Arguments boolean enabled True to enable or false to disable. Returns Nothing. See Also Contact Contact:isEnabled

World:getBodyList

World:getBodyList Available since LÖVE 0.8.0 This method is not supported in earlier versions. Returns a table with all bodies. Function Synopsis bodies = World:getBodyList( ) Arguments None. Returns table bodies A sequence with all bodies. See Also World