love.window.hasMouseFocus

love.window.hasMouseFocus Available since LÖVE 0.9.0 This function is not supported in earlier versions. Checks if the game window has mouse focus. Function Synopsis focus = love.window.hasMouseFocus( ) Arguments None. Returns boolean focus True if the window has mouse focus or false if not. See Also love.window

ParticleSystem:getAreaSpread

ParticleSystem:getAreaSpread Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the area-based spawn parameters for the particles. Function Synopsis distribution, dx, dy = ParticleSystem:getAreaSpread( ) Arguments None. Returns AreaSpreadDistribution distribution The type of distribution for new particles. number dx The maximum spawn distance from the emitter along the x-axis for uniform distribution, or the standard deviation along the x-axis for normal

Mesh:getImage

Mesh:getImage Available since LÖVE 0.9.0 This function is not supported in earlier versions. Removed in LÖVE 0.10.0 Use Mesh:getTexture instead. Gets the Image used when drawing the Mesh. Function Synopsis image = Mesh:getImage( ) Arguments None. Returns Image image (nil) The Image used to texture the Mesh when drawing. May be nil if no Image is being used with the Mesh. See Also Mesh Mesh:setImage

Quad:setViewport

Quad:setViewport Sets the texture coordinates according to a viewport. Function Synopsis Quad:setViewport( x, y, w, h ) Arguments number x The top-left corner along the x-axis. number y The top-right corner along the y-axis. number w The width of the viewport. number h The height of the viewport. Returns Nothing. See Also Quad

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

Source:setDirection

Source:setDirection Available since LÖVE 0.7.0 This function is not supported in earlier versions. Sets the direction vector of the Source. A zero vector makes the source non-directional. Function Synopsis Source:setDirection( x, y, z ) Arguments number x The X part of the direction vector. number y The Y part of the direction vector. number z The Z part of the direction vector. Returns Nothing. See Also Source

Source:clone

Source:clone Available since LÖVE 0.9.1 This function is not supported in earlier versions. Creates an identical copy of the Source in the stopped state. Static Sources will use significantly less memory and take much less time to be created if Source:clone is used to create them instead of love.audio.newSource, so this method should be preferred when making multiple Sources which play the same sound. Function Synopsis source = Source:clone( ) Arguments None. Returns Source source The n

Source:getDuration

Source:getDuration Available since LÖVE 0.10.0 This function is not supported in earlier versions. Gets the duration of the Source. For streaming Sources it may not always be sample-accurate, and may return -1 if the duration cannot be determined at all. Function Synopsis duration = Source:getDuration( unit ) Arguments TimeUnit unit ("seconds") The time unit for the return value. Returns number duration The duration of the Source, or -1 if it cannot be determined. See Also Source

Source:isRelative

Source:isRelative Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets whether the Source's position, velocity, direction, and cone angles are relative to the listener. Function Synopsis relative = Source:isRelative( ) Arguments None. Returns boolean relative True if the position, velocity, direction and cone angles are relative to the listener, false if they're absolute. See Also Source Source:setRelative

Thread:set

Thread:set Available since LÖVE 0.8.0 and removed in LÖVE 0.9.0 It has been moved to the Channel API. Sets a value in the message box of the thread. The name of the message can be any string. The value of the message can be a boolean, string, number or a LÖVE userdata. Foreign userdata (Lua's files, LuaSocket, ...), functions or tables are not supported. Function Synopsis Thread:set(name, value) Arguments string name The name of the message. boolean, string, number or LÖVE userdata value