SoundData:setSample

SoundData:setSample Sets the sample at the specified position. Function Synopsis SoundData:setSample( i, sample ) Arguments number i The position of the sample (0 means first sample). number sample A normalized sample (range -1.0 to 1.0). Returns Nothing. See Also SoundData

Contact:setFriction

Contact:setFriction Available since LÖVE 0.8.0 This function is not supported in earlier versions. Sets the contact friction. Function Synopsis Contact:setFriction( friction ) Arguments number friction The contact friction. Returns Nothing. See Also Contact

Source:resume

Source:resume Available since LÖVE 0.7.0 This function is not supported in earlier versions. Resumes a paused Source. Function Synopsis Source:resume() Arguments None. Returns Nothing. See Also Source

Video:setFilter

Video:setFilter Available since LÖVE 0.10.0 This function is not supported in earlier versions. Sets the scaling filters used when drawing the Video. Function Synopsis Video:setFilter( min, mag, anisotropy ) Arguments FilterMode min The filter mode used when scaling the Video down. FilterMode mag The filter mode used when scaling the Video up. number anisotropy (1) Maximum amount of anisotropic filtering used. Returns Nothing. See Also Video Video:getFilter FilterMode

love.timer.getFPS

love.timer.getFPS Returns the current frames per second. Function Synopsis fps = love.timer.getFPS( ) Arguments None. Returns number fps The current FPS. Examples Display text at the top left of the screen showing the current FPS. function love.draw() love.graphics.print("Current FPS: "..tostring(love.timer.getFPS( )), 10, 10) end See Also love.timer

love.timer.step

love.timer.step Measures the time between two frames. Calling this changes the return value of love.timer.getDelta. Function Synopsis love.timer.step( ) Arguments None. Returns Nothing. See Also love.timer love.run

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

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.graphics.point

love.graphics.point Removed in LÖVE 0.10.0 It has been replaced by love.graphics.points. Draws a point. Function Synopsis love.graphics.point( x, y ) Arguments number x The position on the x-axis. number y The position on the y-axis. Returns Nothing. Notes The pixel grid is actually offset to the center of each pixel. So to get clean pixels drawn use 0.5 + integer increments. Points are not affected by love.graphics.scale - their size is always in pixels. Examples Render a starfiel

love.graphics.setLineWidth

love.graphics.setLineWidth Sets the line width. Function Synopsis love.graphics.setLineWidth( width ) Arguments number width The width of the line. Returns Nothing. See Also love.graphics love.graphics.setLine