Font:setLineHeight

Font:setLineHeight Sets the line height. When rendering the font in lines the actual height will be determined by the line height multiplied by the height of the font. The default is 1.0. Function Synopsis Font:setLineHeight( height ) Arguments number height The new line height. Returns Nothing. See Also Font Font:getLineHeight

enet.host:compress with range coder

enet.host:compress with range coder Toggles an adaptive order-2 PPM range coder for the transmitted data of all peers. Function Synopsis host:compress_with_range_coder() Arguments None. Returns boolean state True if the compression algorithm is active, false if not. See Also lua-enet enet.host

love.audio.setDopplerScale

love.audio.setDopplerScale Available since LÖVE 0.9.2 This function is not supported in earlier versions. Sets a global scale factor for velocity-based doppler effects. The default scale value is 1. Function Synopsis love.audio.setDopplerScale( scale ) Arguments number scale The new doppler scale factor. The scale must be greater than 0. Returns Nothing. See Also love.audio love.audio.getDopplerScale

love.graphics.getDimensions

love.graphics.getDimensions Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the width and height in pixels of the window. Function Synopsis width, height = love.graphics.getDimensions( ) Arguments None. Returns number width The width of the window. number height The height of the window. See Also love.graphics love.graphics.getWidth love.graphics.getHeight

love.filesystem.append

love.filesystem.append Available since LÖVE 0.9.0 This function is not supported in earlier versions. Append data to an existing file. Function Synopsis success, errormsg = love.filesystem.append( name, data, size ) Arguments string name The name (and path) of the file. string data The string data to append to the file. number size (all) How many bytes to write. Returns boolean success True if the operation was successful, or nil if there was an error. string errormsg The error mess

ParticleSystem:start

ParticleSystem:start Starts the particle emitter. Function Synopsis ParticleSystem:start( ) Arguments None. Returns Nothing. See Also ParticleSystem

love.keypressed

love.keypressed Callback function triggered when a key is pressed. Function Available since LÖVE 0.10.0 This variant is not supported in earlier versions. Synopsis love.keypressed( key, scancode, isrepeat ) Arguments KeyConstant key Character of the pressed key. Scancode scancode The scancode representing the pressed key. boolean isrepeat Whether this keypress event is a repeat. The delay between key repeats depends on the user's system settings. Returns Nothing. Notes Scancodes are

PrismaticJoint:setLimitsEnabled

PrismaticJoint:setLimitsEnabled Removed in LÖVE 0.8.0 This function is not supported in that version. Available since LÖVE 0.9.0 It has been renamed again. Enables/disables the joint limit. Function Synopsis enable = PrismaticJoint:setLimitsEnabled( ) Arguments None. Returns boolean enable True if enabled, false if disabled. See Also PrismaticJoint

love.graphics.getMaxPointSize

love.graphics.getMaxPointSize Removed in LÖVE 0.10.0 Use love.graphics.getSystemLimits instead. Gets the max supported point size. Function Synopsis size = love.graphics.getMaxPointSize( ) Arguments None. Returns number size The max supported point size. Examples Draws a point at the maximum supported size. function love.draw() local max = love.graphics.getMaxPointSize(); love.graphics.setPointSize(max); love.graphics.point(100, 100); end See Also love.graphics love.gra

Shape:getChildCount

Shape:getChildCount Available since LÖVE 0.8.0 This function is not supported in earlier versions. Returns the number of children the shape has. Function Synopsis count = Shape:getChildCount( ) Arguments None. Returns number count The number of children. See Also Shape