love.event.push

love.event.push Adds an event to the event queue. Function Synopsis love.event.push( e, a, b, c, d ) Arguments Event e The name of the event. Variant a (nil) First event argument. Variant b (nil) Second event argument. Variant c (nil) Third event argument. Variant d (nil) Available since 0.8.0 Fourth event argument. Returns Nothing. Examples Quitting a game in 0.8.0 function love.keypressed(k) if k == 'escape' then love.event.push('quit') -- Quit the game. end end Quitting a g

love.graphics.getBlendMode

love.graphics.getBlendMode Gets the blending mode. Function Available since LÖVE 0.10.0 This variant is not supported in earlier versions. Synopsis mode, alphamode = love.graphics.getBlendMode( ) Arguments None. Returns BlendMode mode The current blend mode. BlendAlphaMode alphamode The current blend alpha mode – it determines how the alpha of drawn objects affects blending. Function Removed in LÖVE 0.10.0 This variant is not supported in that and later versions. Synopsis mode = l

enet.host:service time

enet.host:service time Returns the time-stamp of the last call to host:service() or host:flush(). The time-stamp is in milliseconds of the current time of day. Function Synopsis host:channel_limit(limit) Arguments None. Returns number timestamp A time-stamp in milliseconds. See Also lua-enet enet.host enet.host:service enet.host:flush

Mesh:setVertex

Mesh:setVertex Available since LÖVE 0.9.0 This function is not supported in earlier versions. Sets the properties of a vertex in the Mesh. Function Available since LÖVE 0.10.0 This variant is not supported in earlier versions. Synopsis Mesh:setVertex( index, attributecomponent, ... ) Arguments number index The index of the the vertex you want to modify. number attributecomponent The first component of the first vertex attribute in the specified vertex. number ... Additional componen

Decoder:getChannels

Decoder:getChannels Returns the number of channels in the stream. Function Synopsis channels = Decoder:getChannels( ) Arguments None. Returns number channels 1 for mono, 2 for stereo. See Also Decoder

CompressedImageData:getHeight

CompressedImageData:getHeight Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the height of the CompressedImageData. Function Synopsis height = CompressedImageData:getHeight( ) Arguments None. Returns number height The height of the CompressedImageData. Function Synopsis height = CompressedImageData:getHeight( level ) Arguments number level A mipmap level. Must be in the range of [1, CompressedImageData:getMipmapCount()]. Returns number height Th

Shape:getCategory

Shape:getCategory Removed in LÖVE 0.8.0 Use Fixture:setCategory instead. Gets the categories this shape is a member of. The number of categories the shape is a member of is the number of return values. Categories are used for allowing/disallowing certain collision. Function Synopsis ... = Shape:getCategory( ) Arguments None. Returns numbers ... Numbers from 1-16. See Also Shape

Joystick:getGamepadAxis

Joystick:getGamepadAxis Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the direction of a virtual gamepad axis. If the Joystick isn't recognized as a gamepad or isn't connected, this function will always return 0. Function Synopsis direction = Joystick:getGamepadAxis( axis ) Arguments GamepadAxis axis The virtual axis to be checked. Returns number direction Current value of the axis. Examples Move x and y values based on a gamepad thumbstick funct

love.graphics.setLine

love.graphics.setLine Removed in LÖVE 0.9.0 Use love.graphics.setLineWidth and love.graphics.setLineStyle. Sets the line width and style. Function Synopsis love.graphics.setLine( width, style ) Arguments number width The width of the line. LineStyle style ("smooth") The LineStyle to use. Returns Nothing. Example love.graphics.setLine(2, "smooth") love.graphics.line(15, 25, 69, 89) See Also love.graphics love.graphics.setLineWidth love.graphics.setLineStyle

love.graphics.setWireframe

love.graphics.setWireframe Available since LÖVE 0.9.1 This function is not supported in earlier versions. Sets whether wireframe lines will be used when drawing. This function does nothing on mobile devices and other systems which use OpenGL ES 2. Wireframe mode should only be used for debugging. The lines drawn with it enabled do not behave like regular love.graphics lines: their widths don't scale with the coordinate transformations or with love.graphics.setLineWidth, and they don't use