Joystick:getGamepadMapping

Joystick:getGamepadMapping Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the button, axis or hat that a virtual gamepad input is bound to. Function Synopsis inputtype, inputindex, hatdirection = Joystick:getGamepadMapping( axis ) Arguments GamepadAxis axis The virtual gamepad axis to get the binding for. Returns JoystickInputType inputtype The type of input the virtual gamepad axis is bound to. number inputindex The index of the Joystick's button,

CircleShape:getLocalCenter

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

Shader:getWarnings

Shader:getWarnings Available since LÖVE 0.9.0 It has been renamed from PixelEffect:getWarnings. Returns any warning and error messages from compiling the shader code. This can be used for debugging your shaders if there's anything the graphics hardware doesn't like. Function Synopsis warnings = Shader:getWarnings( ) Arguments None. Returns string warnings Warning and error messages (if any). See Also Shader

love.image.isCompressed

love.image.isCompressed Available since LÖVE 0.9.0 This function is not supported in earlier versions. Determines whether a file can be loaded as CompressedImageData. Function Synopsis compressed = love.image.isCompressed( filename ) Arguments string filename The filename of the potentially compressed image file. Returns boolean compressed Whether the file can be loaded as CompressedImageData or not. Function Synopsis compressed = love.image.isCompressed( fileData ) Arguments FileDat

love.event.clear

love.event.clear Clears the event queue. Function Synopsis love.event.clear() Arguments None. Returns Nothing. See Also love.event

Body:getContactList

Body:getContactList Available since LÖVE 0.9.2 This method is not supported in earlier versions. Gets a list of all Contacts attached to the Body. The list can change multiple times during a World:update call, so some collisions may be missed if the World collide callbacks are not used at all. Function Synopsis contacts = Body:getContactList( ) Arguments None. Returns table contacts A list with all contacts associated with the Body. See Also Body

WeldJoint:setDampingRatio

WeldJoint:setDampingRatio Available since LÖVE 0.8.0 This method is not supported in earlier versions. Sets a new damping ratio. Function Synopsis WeldJoint:setDampingRatio( ratio ) Arguments number ratio The new damping ratio. Returns Nothing. See Also WeldJoint WeldJoint:getDampingRatio

love.filesystem.enumerate

love.filesystem.enumerate Removed in LÖVE 0.9.0 It has been renamed to love.filesystem.getDirectoryItems. Returns a table with the names of files and subdirectories in the specified path. The table is not sorted in any way; the order is undefined. If the path passed to the function exists in the game and the save directory, it will list the files and directories from both places. Function Synopsis files = love.filesystem.enumerate( dir ) Arguments string dir The directory. Returns tab

love.window.getPixelScale

love.window.getPixelScale Available since LÖVE 0.9.1 This function is not supported in earlier versions. Gets the DPI scale factor associated with the window. The pixel density inside the window might be greater (or smaller) than the "size" of the window. For example on a retina screen in Mac OS X with the highdpi window flag enabled, the window may take up the same physical size as an 800x600 window, but the area inside the window uses 1600x1200 pixels. love.window.getPixelScale() would r

Fixture:isDestroyed

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