love.graphics.newShader

love.graphics.newShader Available since LÖVE 0.9.0 It has been renamed from love.graphics.newPixelEffect. This function can be slow if it is called repeatedly, such as from love.update or love.draw. If you need to use a specific resource often, create it once and store it somewhere it can be reused! Creates a new Shader object for hardware-accelerated vertex and pixel effects. A Shader contains either vertex shader code, pixel shader code, or both. Shaders are small programs which are ru

(File):seek

(File):seek Seek to a position in a file Function Synopsis success = File:seek( pos ) Arguments number pos The position to seek to Returns boolean success Whether the operation was successful See Also File

ParticleSystem:isPaused

ParticleSystem:isPaused Available since LÖVE 0.9.0 This function is not supported in earlier versions. Checks whether the particle system is paused. Function Synopsis paused = ParticleSystem:isPaused( ) Arguments None. Returns boolean paused True if system is paused, false otherwise. See Also ParticleSystem ParticleSystem:isActive ParticleSystem:isStopped

ParticleSystem:getInsertMode

ParticleSystem:getInsertMode Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the mode used when the ParticleSystem adds new particles. Function Synopsis mode = ParticleSystem:getInsertMode( ) Arguments None. Returns ParticleInsertMode mode The mode used when the ParticleSystem adds new particles. See Also ParticleSystem ParticleSystem:setInsertMode

World:getCallbacks

World:getCallbacks Returns functions for the callbacks during the world update. Function Available since LÖVE 0.8.0 This variant is not supported in earlier versions. Synopsis beginContact, endContact, preSolve, postSolve = World:getCallbacks( ) Arguments None. Returns function beginContact Gets called when two fixtures begin to overlap. function endContact Gets called when two fixtures cease to overlap. function preSolve Gets called before a collision gets resolved. function postSolve

Rasterizer:hasGlyphs

Rasterizer:hasGlyphs Available since LÖVE 0.7.0 This function is not supported in earlier versions. TODO See Also Rasterizer GlyphData

RevoluteJoint:setLimits

RevoluteJoint:setLimits Sets the limits. Function Synopsis RevoluteJoint:setLimits( lower, upper ) Arguments number lower The lower limit, in radians. number upper The upper limit, in radians. Returns Nothing. See Also RevoluteJoint

love.joystickpressed

love.joystickpressed Called when a joystick button is pressed. Function Available since LÖVE 0.9.0 This variant is not supported in earlier versions. Synopsis love.joystickpressed( joystick, button ) Arguments Joystick joystick The joystick object. number button The button number. Returns Nothing. Examples Use getPosition to help draw a custom mouse image function love.joystickpressed(joystick,button) player:jumping() end   --inside playerClass function player:jumping() if joySt

love.window.minimize

love.window.minimize Available since LÖVE 0.9.2 This function is not supported in earlier versions. Minimizes the window to the system's task bar / dock. Function Synopsis love.window.minimize( ) Arguments None. Returns Nothing. See Also love.window

love.graphics.polygon

love.graphics.polygon Draw a polygon. Following the mode argument, this function can accept multiple numeric arguments or a single table of numeric arguments. In either case the arguments are interpreted as alternating x and y coordinates of the polygon's vertices. When in fill mode, the polygon must be convex and simple or rendering artifacts may occur. love.math.triangulate and love.math.isConvex can be used in 0.9.0+. Function Synopsis love.graphics.polygon( mode, ... ) Arguments DrawMode