Source:isPaused

Source:isPaused Returns whether the Source is paused. Function Synopsis paused = Source:isPaused( ) Arguments None. Returns boolean paused True if the Source is paused, false otherwise. See Also Source

enet.peer:reset

enet.peer:reset Forcefully disconnects peer. The peer is not notified of the disconnection. Function Synopsis peer:reset() Arguments None. Returns Nothing. See Also lua-enet enet.peer

Shape:getData

Shape:getData Removed in LÖVE 0.8.0 Use Fixture:getUserData instead. Get the data set with setData. Function Synopsis v = Shape:getData( ) Arguments None. Returns any v The data previously set, or nil if none. See Also Shape Shape:setData

ImageData:paste

ImageData:paste Paste into ImageData from another source ImageData. Function Synopsis ImageData:paste( source, dx, dy, sx, sy, sw, sh ) Arguments ImageData source Source ImageData from which to copy. number dx Destination top-left position on x-axis. number dy Destination top-left position on y-axis. number sx Source top-left position on x-axis. number sy Source top-left position on y-axis. number sw Source width. number sh Source height. Returns Nothing. Notes Note that this functio

love.run

love.run The main function, containing the main loop. A sensible default is used when left out. Function Synopsis love.run( ) Arguments None. Returns Nothing. Examples The default function for 0.10.0, 0.10.1, and 0.10.2, used if you don't supply your own. function love.run()   if love.math then love.math.setRandomSeed(os.time()) end   if love.load then love.load(arg) end   -- We don't want the first frame's dt to include time taken by love.load. if love.timer then love.timer.step() en

Body:getX

Body:getX Get the x position of the body in world coordinates. Function Synopsis x = Body:getX( ) Arguments None. Returns number x The x position in world coordinates. See Also Body

enet.host:flush

enet.host:flush Sends any queued packets. This is only required to send packets earlier than the next call to host:service, or if host:service will not be called again. Function Synopsis host:flush() Arguments None. Returns Nothing. See Also lua-enet enet.host:service enet.host

ParticleSystem:getSizes

ParticleSystem:getSizes Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the series of sizes by which the sprite is scaled. 1.0 is normal size. The particle system will interpolate between each size evenly over the particle's lifetime. Function Synopsis size1, size1, ..., size8 = ParticleSystem:getSizes( ) Arguments Nothing. Returns number size1 The first size. number size2 The second size. number size8 The eighth size. See Also ParticleSystem Pa

Source:setDirection

Source:setDirection Available since LÖVE 0.7.0 This function is not supported in earlier versions. Sets the direction vector of the Source. A zero vector makes the source non-directional. Function Synopsis Source:setDirection( x, y, z ) Arguments number x The X part of the direction vector. number y The Y part of the direction vector. number z The Z part of the direction vector. Returns Nothing. See Also Source

Source:setPosition

Source:setPosition Available since LÖVE 0.7.0 This function is not supported in earlier versions. Sets the position of the Source. Please note that this only works for mono (i.e. non-stereo) sound files! Function Synopsis Source:setPosition( x, y, z ) Arguments number x The X position of the Source. number y The Y position of the Source. number z The Z position of the Source. Returns Nothing. See Also Source love.audio.setPosition