Thread:getKeys

Thread:getKeys Available since LÖVE 0.8.0 and removed in LÖVE 0.9.0 This method is not supported in earlier or later versions. Returns a table with the names of all messages in the message box. Function Synopsis msgNames = Thread:getKeys() Arguments None. Returns table msgNames A sequence with all the message names. See Also Thread

love.event.poll

love.event.poll Returns an iterator for messages in the event queue. Function Synopsis i = love.event.poll( ) Arguments None. Returns function i Iterator function usable in a for loop. Examples Checking for events in 0.8.0 for e, a, b, c, d in love.event.poll() do if e == "quit" then -- Quit! end end Checking for events in 0.7.2 for e, a, b, c in love.event.poll() do if e == "q" then -- Quit! end end See Also love.event love.event.wait

PolygonShape:getPoints

PolygonShape:getPoints Get the local coordinates of the polygon's vertices. This function has a variable number of return values. It can be used in a nested fashion with love.graphics.polygon. Function Synopsis x1, y1, x2, y2, ... x8, y8 = PolygonShape:getPoints( ) Arguments None. Returns number x1 The x-component of the first vertex. number y1 The y-component of the first vertex. number x2 The x-component of the second vertex. number y2 The y-component of the second vertex. And so on,

Fixture:isSensor

Fixture:isSensor Available since LÖVE 0.8.0 This method is not supported in earlier versions. Returns whether the fixture is a sensor. Function Synopsis sensor = Fixture:isSensor( ) Arguments None. Returns boolean sensor If the fixture is a sensor. See Also Fixture Fixture:setSensor

love.joystick.loadGamepadMappings

love.joystick.loadGamepadMappings Available since LÖVE 0.9.2 This function is not supported in earlier versions. Loads a gamepad mappings string or file created with love.joystick.saveGamepadMappings. It also recognizes any SDL gamecontroller mapping string, such as those created with Steam's Big Picture controller configure interface, or this nice database. Function Loads a gamepad mappings string from a file. Synopsis love.joystick.loadGamepadMappings( filename ) Arguments string filen

Thread:isRunning

Thread:isRunning Available since LÖVE 0.9.0 This function is not supported in earlier versions. Returns whether the thread is currently running. Threads which are not running can be (re)started with Thread:start. Function Synopsis running = Thread:isRunning( ) Arguments None. Returns boolean value True if the thread is running, false otherwise. See Also Thread Thread:start

love.font.newRasterizer

love.font.newRasterizer Available since LÖVE 0.7.0 This function is not supported in earlier versions. Creates a new Rasterizer. Function Synopsis rasterizer = love.font.newRasterizer( filename ) Arguments string filename The font file. Returns Rasterizer rasterizer The rasterizer. Function Synopsis rasterizer = love.font.newRasterizer( data ) Arguments FileData data The FileData of the font file. Returns Rasterizer rasterizer The rasterizer. Create a TrueTypeRasterizer. Funct

PrismaticJoint:isMotorEnabled

PrismaticJoint:isMotorEnabled Checks whether the motor is enabled. Function Synopsis enabled = PrismaticJoint:isMotorEnabled( ) Arguments None. Returns boolean enabled True if enabled, false if disabled. See Also PrismaticJoint

Contact:getRestitution

Contact:getRestitution Get the restitution between two shapes that are in contact. Function Synopsis restitution = Contact:getRestitution( ) Arguments None. Returns number restitution The restitution between the two shapes. See Also Contact

Source:isPlaying

Source:isPlaying Available since LÖVE 0.9.0 This function is not supported in earlier versions. Returns whether the Source is playing. Function Synopsis playing = Source:isPlaying( ) Arguments None. Returns boolean playing True if the Source is playing, false otherwise. See Also Source