love.graphics.getSupported

love.graphics.getSupported Available since LÖVE 0.10.0 It has replaced love.graphics.isSupported. Gets the optional graphics features and whether they're supported on the system. Some older or low-end systems don't always support all graphics features. Function Synopsis features = love.graphics.getSupported( ) Arguments None. Returns table features A table containing GraphicsFeature keys, and boolean values indicating whether each feature is supported. See Also love.graphics Graphi

love.graphics.hasFocus

love.graphics.hasFocus Available since LÖVE 0.8.0 and removed in LÖVE 0.9.0 Moved to the love.window module as love.window.hasFocus. Checks if the game window has keyboard focus. Function Synopsis focus = love.graphics.hasFocus( ) Arguments None. Returns boolean focus True if the window has the focus or false if not. See Also love.graphics

love.graphics.setNewFont

love.graphics.setNewFont Available since LÖVE 0.8.0 This function is not supported in earlier versions. Creates and sets a new Font. 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! Function Synopsis font = love.graphics.setNewFont( size ) Arguments number size (12) The size of the font. Returns Font font The new font. Function Synopsis fo

love.graphics.newPixelEffect

love.graphics.newPixelEffect Available since LÖVE 0.8.0 and removed in LÖVE 0.9.0 It has been renamed to love.graphics.newShader. Creates a new PixelEffect object for hardware-accelerated pixel level effects. A PixelEffect contains at least one function, named effect, which is the effect itself, but it can contain additional functions. Function Synopsis pixeleffect = love.graphics.newPixelEffect( code ) Arguments string code The pixel effect code. Returns PixelEffect pixeleffect A Pix

love.event.quit

love.event.quit Available since LÖVE 0.8.0 This function is not supported in earlier versions. Adds the quit event to the queue. The quit event is a signal for the event handler to close LÖVE. It's possible to abort the exit process with the love.quit callback. Function Synopsis love.event.quit( ) Arguments None. Returns Nothing. Function Available since LÖVE 0.10.0 This variant is not supported in earlier versions. Synopsis love.event.quit( exitstatus ) Arguments number exitstatus

love.physics.newRopeJoint

love.physics.newRopeJoint Available since LÖVE 0.8.0 This function is not supported in earlier versions. Creates a joint between two bodies. Its only function is enforcing a max distance between these bodies. There is a bug in version 0.8.0 where the cooridnates of the anchors are divided by the number from love.physics.getMeter. As a workaround, multiply your anchor coordinates with that number and it should work like expected. Function Synopsis joint = love.physics.newRopeJoint( body1,

love.audio.getPosition

love.audio.getPosition Returns the position of the listener. Please note that positional audio only works for mono (i.e. non-stereo) sources. Function Synopsis x, y, z = love.audio.getPosition( ) Arguments None. Returns number x The X position of the listener. number y The Y position of the listener. number z The Z position of the listener. See Also love.audio

Fixture:setSensor

Fixture:setSensor Available since LÖVE 0.8.0 This method is not supported in earlier versions. Sets whether the fixture should act as a sensor. Sensors do not cause collision responses, but the begin-contact and end-contact World callbacks will still be called for this fixture. Function Synopsis Fixture:setSensor( sensor ) Arguments boolean sensor The sensor status. Returns Nothing. See Also Fixture Fixture:isSensor

ParticleSystem:setSize

ParticleSystem:setSize Removed in LÖVE 0.8.0 It has been replaced with ParticleSystem:setSizes. Sets the size of the particle (1.0 being normal size). The particles will grow/shrink from the starting size to the ending size. The variation affects starting size only. Function Synopsis ParticleSystem:setSize( min, max, variation ) Arguments number min The minimum size (1.0 being normal size). number max (min) The maximum size (1.0 being normal size). number variation (1) The degree of var

ParticleSystem:stop

ParticleSystem:stop Stops the particle emitter, resetting the lifetime counter. Function Synopsis ParticleSystem:stop( ) Arguments None. Returns Nothing. See Also ParticleSystem