love.joystick.getNumBalls

love.joystick.getNumBalls Removed in LÖVE 0.9.0 This function is not supported in that and later versions. Returns the number of balls on the joystick. Function Synopsis balls = love.joystick.getNumBalls( joystick ) Arguments number joystick The joystick to be checked Returns number balls The number of balls available See Also love.joystick

love.window.getFullscreenModes

love.window.getFullscreenModes Available since LÖVE 0.9.0 Moved from love.graphics.getModes. Gets a list of supported fullscreen modes. Function Synopsis modes = love.window.getFullscreenModes( display ) Arguments number display (1) The index of the display, if multiple monitors are available. Returns table modes A table of width/height pairs. (Note that this may not be in order.) Examples Format of the returned table modes = love.window.getFullscreenModes()   -- modes = { -- { wid

Mesh:setVertexAttribute

Mesh:setVertexAttribute Available since LÖVE 0.10.0 This function is not supported in earlier versions. Sets the properties of a specific attribute within a vertex in the Mesh. Meshes without a custom vertex format specified in love.graphics.newMesh have position as their first attribute, texture coordinates as their second attribute, and color as their third attribute. Function Synopsis Mesh:setVertexAttribute( vertexindex, attributeindex, value1, value2, ... ) Arguments number vertexind

love.window.getDisplayCount

love.window.getDisplayCount Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the number of connected monitors. Function Synopsis count = love.window.getDisplayCount( ) Arguments None. Returns number count The number of currently connected displays. See Also love.window love.window.setMode love.window.getMode love.window.getFullscreenModes love.window.getDesktopDimensions

love.graphics.getPointStyle

love.graphics.getPointStyle Removed in LÖVE 0.10.0 This function is not supported in that and later versions. Gets the current point style. Function Synopsis style = love.graphics.getPointStyle( ) Arguments None. Returns PointStyle style The current point style. Examples Toggle between point styles with the help of love.graphics.setPointStyle. if love.graphics.getPointStyle() == "rough" then love.graphics.setPointStyle("smooth") else love.graphics.setPointStyle("rough") end See

ParticleSystem:isActive

ParticleSystem:isActive Checks whether the particle system is actively emitting particles. Function Synopsis active = ParticleSystem:isActive( ) Arguments None. Returns boolean active True if system is active, false otherwise. See Also ParticleSystem ParticleSystem:isPaused ParticleSystem:isStopped

love.graphics.setPointSize

love.graphics.setPointSize Sets the point size. The sizes of points are not affected by love.graphics.scale – they're always in pixels. Function Synopsis love.graphics.setPointSize( size ) Arguments number size The new point size. Returns Nothing. Examples Increase the point size by 1, by using love.graphics.getPointSize. function love.draw() local s = love.graphics.getPointSize() + 1 love.graphics.setPointSize(s) love.graphics.point(100, 100) end See Also love.graphics lo

love.keyboard.getKeyRepeat

love.keyboard.getKeyRepeat Removed in LÖVE 0.9.0 This function is not supported in that and later versions. Returns the delay and interval of key repeating. Function Synopsis delay, interval = love.keyboard.getKeyRepeat( ) Arguments None. Returns number delay The amount of time before repeating the key (in seconds) number interval The amount of time between repeats (in seconds) See Also love.keyboard

CompressedImageData:getMipmapCount

CompressedImageData:getMipmapCount Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the number of mipmap levels in the CompressedImageData. The base mipmap level (original image) is included in the count. Function Synopsis mipmaps = CompressedImageData:getMipmapCount( ) Arguments None. Returns number mipmaps The number of mipmap levels stored in the CompressedImageData. Notes Mipmap filtering cannot be activated for an Image created from a CompressedI

World:getContactCount

World:getContactCount Available since LÖVE 0.8.0 This method is not supported in earlier versions. Returns the number of contacts in the world. Function Synopsis n = World:getContactCount( ) Arguments None. Returns number n The number of contacts in the world. See Also World