love.thread.getThreads

love.thread.getThreads Available since LÖVE 0.7.0 and removed in LÖVE 0.9.0 This function is not supported in earlier or later versions. Get all threads. Function Synopsis threads = love.thread.getThreads( ) Arguments None. Returns table threads A table containing all threads indexed by their names. See Also love.thread

love.window.getWidth

love.window.getWidth Available since LÖVE 0.9.0 and removed in LÖVE 0.10.0 Use love.graphics.getWidth or love.window.getMode instead. Gets the width of the window. Function Synopsis width = love.window.getWidth( ) Arguments None. Returns number width The width of the window. See Also love.window love.window.getHeight love.window.getDimensions love.window.setMode

love.mouse.setCursor

love.mouse.setCursor Available since LÖVE 0.9.0 This function is not supported in earlier versions. Sets the current mouse cursor. Function Synopsis love.mouse.setCursor( cursor ) Arguments Cursor cursor The Cursor object to use as the current mouse cursor. Returns Nothing. Function Synopsis love.mouse.setCursor( ) Arguments None. Returns Nothing. Notes Resets the current mouse cursor to the default. Examples function love.load() cursor = love.mouse.getSystemCursor("hand") -

RandomGenerator:randomNormal

RandomGenerator:randomNormal Available since LÖVE 0.9.0 This function is not supported in earlier versions. Get a normally distributed pseudo random number. Function Synopsis number = RandomGenerator:randomNormal( stddev, mean ) Arguments number stddev (1) Standard deviation of the distribution. number mean (0) The mean of the distribution. Returns number number Normally distributed random number with variance (stddev)² and the specified mean. See Also RandomGenerator love.math.r

love.filedropped

love.filedropped Available since LÖVE 0.10.0 This function is not supported in earlier versions. Callback function triggered when a file is dragged and dropped onto the window. Function Synopsis love.filedropped( file ) Arguments File file The unopened File object representing the file that was dropped. Returns Nothing. Notes File:open must be called on the file before reading from or writing to it. File:getFilename will return the full platform-dependent path to the file. See Also l

enet.peer:disconnect now

enet.peer:disconnect now Force immediate disconnection from peer. Foreign peer not guaranteed to receive disconnect notification. Function Synopsis peer:disconnect_now(data) Arguments number data Optional integer value to be associated with the disconnect. Returns Nothing. See Also lua-enet enet.peer

love.graphics.setBackgroundColor

love.graphics.setBackgroundColor Sets the background color. Function Synopsis love.graphics.setBackgroundColor( red, green, blue ) Arguments number red The red component (0-255). number green The green component (0-255). number blue The blue component (0-255). Returns Nothing. Function Available since LÖVE 0.8.0 This variant is not supported in earlier versions. Synopsis love.graphics.setBackgroundColor( red, green, blue, alpha ) Arguments number red The red component (0-255). numbe

love.graphics.getPointSize

love.graphics.getPointSize Gets the point size. Function Synopsis size = love.graphics.getPointSize( ) Arguments None. Returns number size The current point size. Examples Increase the point size by 1 by using love.graphics.setPointSize. function love.draw() local s = love.graphics.getPointSize() + 1; love.graphics.setPointSize(s); love.graphics.point(100, 100); end See Also love.graphics love.graphics.point love.graphics.setPointSize love.graphics.getMaxPointSize

Fixture:getMask

Fixture:getMask Available since LÖVE 0.8.0 This method is not supported in earlier versions. Returns which categories this fixture should NOT collide with. Function Synopsis mask1, mask2, ... = Fixture:getMask( ) Arguments None. Returns number mask1 The first category selected by the mask. number mask2 The second category selected by the mask. See Also Fixture Fixture:setMask

love.physics.newCircleShape

love.physics.newCircleShape Script Example Missing love.physics.newCircleShape needs a script example, help out by writing one. Creates a new CircleShape. Function Available since LÖVE 0.8.0 These variants are not supported in earlier versions. Synopsis shape = love.physics.newCircleShape( radius ) Arguments number radius The radius of the circle. Returns CircleShape shape The new shape. Function Synopsis shape = love.physics.newCircleShape( x, y, radius ) Arguments number x The