(File):eof

(File):eof Removed in LÖVE 0.10.0 It has been renamed to File:isEOF. If the end-of-file has been reached Function Synopsis eof = File:eof( ) Arguments None. Returns boolean eof Whether EOF has been reached See Also File

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

Fixture:testPoint

Fixture:testPoint Available since LÖVE 0.8.0 This method is not supported in earlier versions. Checks if a point is inside the shape of the fixture. Function Synopsis isInside = Fixture:testPoint( x, y ) Arguments number x The x position of the point. number y The y position of the point. Returns boolean isInside True if the point is inside or false if it is outside. See Also Fixture

love.audio.stop

love.audio.stop Stops currently played sources. Function This function will stop all currently active sources. Synopsis love.audio.stop( ) Arguments None. Returns Nothing. Function This function will only stop the specified source. Synopsis love.audio.stop( source ) Arguments Source source The source on which to stop the playback. Returns Nothing. See Also love.audio

Cursor:getType

Cursor:getType Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the type of the Cursor. Function Synopsis ctype = Cursor:getType( ) Arguments None. Returns CursorType ctype The type of the Cursor. See Also Cursor

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

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.errhand

love.errhand The error handler, used to display error messages. Function Synopsis love.errhand( msg ) Arguments string msg The error message. Returns Nothing. Examples Available since LÖVE 0.10.0 This variant is not supported in earlier versions. The default function used if you don't supply your own. local function error_printer(msg, layer) print((debug.traceback("Error: " .. tostring(msg), 1+(layer or 1)):gsub("\n[^\n]+$", ""))) end   function love.errhand(msg) msg = tostring(msg)

enet.peer:index

enet.peer:index Returns the index of the peer. All peers of an ENet host are kept in an array. This function finds and returns the index of the peer of its host structure. Function Synopsis peer:index() Arguments None. Returns number index The index of the peer. See Also lua-enet enet.peer enet.host

love.mousefocus

love.mousefocus Available since LÖVE 0.9.0 This callback is not supported in earlier versions. Callback function triggered when window receives or loses mouse focus. Function Synopsis love.mousefocus( focus ) Arguments boolean focus Wether the window has mouse focus or not. Returns Nothing. Example function love.load() text = "Mouse is in the window!" end   function love.draw() love.graphics.print(text,0,0) end   function love.mousefocus(f) if not f then text = "Mouse is not