Category:Functions
All Functions
| BezierCurve:evaluate | Evaluate Bézier curve at parameter t. |
| BezierCurve:getControlPointCount | Get the number of control points in the Bézier curve. |
| BezierCurve:getControlPoint | Get coordinates of the i-th control point. |
| BezierCurve:getDegree | Get degree of the Bézier curve. |
| BezierCurve:getDerivative | Get the derivative of the Bézier curve. |
| BezierCurve:insertControlPoint | Insert control point after the i-th control point. |
| BezierCurve:render | Get a list of coordinates to be used with love. |
| BezierCurve:rotate | Rotate the Bézier curve by an angle. |
| BezierCurve:scale | Scale the Bézier curve by a factor. |
| BezierCurve:setControlPoint | Set coordinates of the i-th control point. |
| BezierCurve:translate | Move the Bézier curve by an offset. |
| Body:applyAngularImpulse | Applies an angular impulse to a body. |
| Body:applyForce | Apply force to a Body. |
| Body:applyImpulse | Applies an impulse to a body.. |
| Body:applyLinearImpulse | Applies an impulse to a body. |
| Body:applyTorque | Apply torque to a body. |
| Body:destroy | Explicitly destroys the Body and all fixtures and joints attached to it. |
| Body:getAllowSleeping | Return whether a body is allowed to sleep. |
| Body:getAngle | Get the angle of the body. |
| Body:getAngularDamping | Gets the Angular damping of the Body. |
| Body:getAngularVelocity | Get the angular velocity of the Body. |
| Body:getContactList | Gets a list of all Contacts attached to the Body. |
| Body:getFixtureList | Returns a table with all fixtures. |
| Body:getGravityScale | Returns the gravity scale factor. |
| Body:getInertia | Gets the rotational inertia of the body. |
| Body:getJointList | Returns a table containing the Joints attached to this Body. |
| Body:getLinearDamping | Gets the linear damping of the Body. |
| Body:getLinearVelocityFromLocalPoint | Get the linear velocity of a point on the body. |
| Body:getLinearVelocityFromWorldPoint | Get the linear velocity of a point on the body. |
| Body:getLinearVelocity | Gets the linear velocity of the Body from its center of mass. |
| Body:getLocalCenter | Get the center of mass position in local coordinates. |
| Body:getLocalPoint | Transform a point from world coordinates to local coordinates. |
| Body:getLocalVector | Transform a vector from world coordinates to local coordinates. |
| Body:getMassData | Returns the mass, its center, and the rotational inertia. |
| Body:getMass | Get the mass of the body. |
| Body:getPosition | Get the position of the body. |
| Body:getType | Returns the type of the body. |
| Body:getUserData | Returns the Lua value associated with this Body. |
| Body:getWorldCenter | Get the center of mass position in world coordinates. |
| Body:getWorld | Gets the World the body lives in. |
| Body:getWorldPoint | Transform a point from local coordinates to world coordinates. |
| Body:getWorldPoints | Transforms multiple points from local coordinates to world coordinates. |
| Body:getWorldVector | Transform a vector from local coordinates to world coordinates. |
| Body:getX | Get the x position of the body in world coordinates. |
| Body:getY | Get the y position of the body in world coordinates. |
| Body:isActive | Returns whether the body is actively used in the simulation. |
| Body:isAwake | Returns the sleep status of the body. |
| Body:isBullet | Get the bullet status of a body. |
| Body:isDestroyed | Gets whether the Body is destroyed. |
| Body:isDynamic | Get the dynamic status of the body. |
| Body:isFixedRotation | Returns whether the body rotation is locked. |
| Body:isFrozen | Get the frozen status of the body. |
| Body:isSleepingAllowed | Returns the sleeping behaviour of the body. |
| Body:isSleeping | Get the sleeping status of a body. |
| Body:isStatic | Get the static status of the body. |
| Body:putToSleep | Put the body to sleep. |
| Body:resetMassData | Resets the mass of the body by recalculating it from the mass properties of the fixtures. |
| Body:setActive | Sets whether the body is active in the world. |
| Body:setAllowSleeping | Set the sleep behaviour of a body. |
| Body:setAngle | Set the angle of the body. |
| Body:setAngularDamping | Sets the angular damping of a Body. |
| Body:setAngularVelocity | Sets the angular velocity of a Body. |
| Body:setAwake | Wakes the body up or puts it to sleep. |
| Body:setBullet | Set the bullet status of a body. |
| Body:setFixedRotation | Set whether a body has fixed rotation. |
| Body:setGravityScale | Sets a new gravity scale factor for the body. |
| Body:setInertia | Set the inertia of a body. |
| Body:setLinearDamping | Sets the linear damping of a Body. |
| Body:setLinearVelocity | Sets a new linear velocity for the Body. |
| Body:setMassData | Overrides the calculated mass data. |
| Body:setMassFromShapes | Sets mass properties from attatched shapes. |
| Body:setMass | Sets a new body mass. |
| Body:setPosition | Set the position of the body. |
| Body:setSleepingAllowed | Sets the sleeping behaviour of the body. |
| Body:setType | Sets a new body type. |
| Body:setUserData | Associates a Lua value with the Body. |
| Body:setX | Set the x position of the body. |
| Body:setY | Set the y position of the body. |
| Body:wakeUp | Wake a sleeping body up. |
| Canvas:clear | Clears the contents of a Canvas to a specific color. |
| Canvas:getDimensions | Gets the width and height of the Canvas. |
| Canvas:getFilter | Gets the filter mode of the Canvas. |
| Canvas:getFormat | Gets the texture format of the Canvas. |
| Canvas:getFSAA | Gets the number of antialiasing samples used when drawing to the Canvas. |
| Canvas:getHeight | Gets the height of the Canvas. |
| Canvas:getImageData | Generates ImageData from the contents of the Canvas. |
| Canvas:getMSAA | Gets the number of multisample antialiasing (MSAA) samples used when drawing to the Canvas. |
| Canvas:getPixel | Gets the pixel at the specified position from a Canvas. |
| Canvas:getWidth | Gets the width of the Canvas. |
| Canvas:getWrap | Gets the wrapping properties of a Canvas. |
| Canvas:newImageData | Generates ImageData from the contents of the Canvas. |
| Canvas:renderTo | Render to the Canvas using a function. |
| Canvas:setFilter | Sets the filter mode of the Canvas. |
| Canvas:setWrap | Sets the wrapping properties of a Canvas. |
| ChainShape:getChildEdge | Returns a child of the shape as an EdgeShape. |
| ChainShape:getPoint | Returns a point of the shape. |
| ChainShape:getPoints | Returns all points of the shape. |
| ChainShape:getVertexCount | Returns the number of vertices the shape has. |
| ChainShape:setNextVertex | Sets a vertex that establishes a connection to the next shape. |
| ChainShape:setPreviousVertex | Sets a vertex that establishes a connection to the previous shape. |
| ChainShape:setPrevVertex | Sets a vertex that establishes a connection to the previous shape. |
| Channel:clear | Clears all the messages in the Channel queue. |
| Channel:demand | Retrieves the value of a Channel message and removes it from the message queue. |
| Channel:getCount | Retrieves the number of messages in the thread Channel queue. |
| Channel:peek | Retrieves the value of a Channel message, but leaves it in the queue. |
| Channel:pop | Retrieves the value of a Channel message and removes it from the message queue. |
| Channel:push | Send a message to the thread Channel. |
| Channel:supply | Send a message to the thread Channel and wait for a thread to accept it. |
| CircleShape:getLocalCenter | Get the center of the circle in local coordinates. |
| CircleShape:getPoint | Gets the center point of the circle shape. |
| CircleShape:getRadius | Gets the radius of the circle shape. |
| CircleShape:getWorldCenter | Get the center of the circle in world coordinates. |
| CircleShape:setPoint | Sets the location of the center of the circle shape. |
| CircleShape:setRadius | Sets the radius of the circle. |
| ClientObject:connect | Connect to a server. |
| ClientObject:disableBroadcast | Disables connecting to the broadcast address. |
| ClientObject:disconnect | Disconnects the client from server. |
| ClientObject:doPing | Commence a ping (According to settings), Does a ping whenever needed. |
| ClientObject:enableBroadcast | Enable connecting to the broadcast address. |
| ClientObject:Init | Initializes the client object. |
| ClientObject:receive | Receive data from the server. |
| ClientObject:send | Send data to a server. |
| ClientObject:setCallback | Sets the callbacks for the client. |
| ClientObject:setHandshake | Sets a handshake for the client. |
| ClientObject:setPing | Sets the ping for the client. |
| ClientObject:update | Update the client. |
| cock.addOption | Creates new input option to bind contols into in current layout. |
| cock.setMouseOffset | Sets horizontal and vertical mouse offset. |
| cock.setMouseFactor | Sets horizontal and vertical mouse factor. |
| cock.setJoystickHatMode | Sets joystick hat mode per hat. |
| cock.setJoystickDeadzone | Sets joystick deadzones per axis. |
| cock.remapJoystickHat | Maps exactly 4 joystick button to work as a joystick hat. |
| cock.addJoystick | Adds new joystick to the object by given joystick number. |
| cock.convertAxis | Converts literal to numerical axis names and vice versa. |
| cock.convertDelta | Converts literal to numerical delta mode names and vice versa. |
| cock.convertDevice | Converts literal to numerical device names and vice versa. |
| cock.reloadJoysticks | Attempts to pick up previously used joysticks. |
| cock.convertInverse | Converts literal to numerical inverse mode names and vice versa. |
| cock.convertJoystick | Converts literal to numerical internal joystick names and vice versa. |
| cock.convertJoystickHat | Converts literal to numerical joystick hat names and vice versa. |
| cock.convertJoystickHatMode | Converts literal to numerical joystick hat mode names and vice versa. |
| cock.convertKey | Conditionally converts literal to numerical input key names and vice versa. |
| cock.delete | Deletes control object. |
| cock.deleteJoystick | Deletes specified joystick from the object. |
| cock.deleteOption | Deletes specified option from current layout. |
| cock.explodeCapturedData | Converts "longdata" string passed to the controlcaptured callback into meaningful data. |
| cock.find | Finds control object by ID. |
| cock.setControls | Creates control layouts from specifically formatted data table. |
| cock.getBinded | Returns input devices binded to the map on the corresponding option. |
| cock.getCapture | Returns input capture mode state. |
| cock.getJoystickDeadzone | Gets joystick deadzone. |
| cock.getJoystickHatMode | Gets joystick hat mode. |
| cock.getJoysticksList | Returns a table with joystick names converted to internal format. |
| cock.getMouseFactor | Gets horizontal and vertical mouse factor. |
| cock.getMouseOffset | Gets horizontal and vertical mouse offset. |
| cock.setDefaultXBox360 | Creates a layout for XBox360 controller. |
| cock.unbind | Unbinds specified map and option from current layout. |
| cock.update | Updates control states of an object. |
| cock.setDefault | Restores specified default layout, permanently erasing previously defined bindings. |
| cock.setCallbacks | Enables or disables specified callbacks. |
| cock.updateAll | Updates control states of all objects. |
| cock.setCapture | Assumes "input capture" mode. |
| cock.cancelCapture | Cancels "input capture" mode. |
| cock.bind | Binds controls to the current layout. |
| cock.getEmptyOption | Finds next (in arbitrary order) unused input option in current layout. |
| cock.new | Creates a new control object. |
| CompressedData:getDimensions | Gets the width and height of the CompressedData. |
| CompressedData:getFormat | Gets the format of the CompressedData. |
| CompressedData:getHeight | Gets the height of the CompressedData. |
| CompressedData:getMipmapCount | Gets the number of mipmap levels in the CompressedData. |
| CompressedData:getWidth | Gets the width of the CompressedData. |
| Contact:getChildren | Gets the child indices of the shapes of the two colliding fixtures. |
| Contact:getFixtures | Gets the two Fixtures that hold the shapes that are in contact. |
| Contact:getFriction | Get the friction between two shapes that are in contact. |
| Contact:getNormal | Get the normal vector between two shapes that are in contact. |
| Contact:getPosition | Get the location of the contact point between two shapes. |
| Contact:getPositions | Returns the contact points of the two colliding fixtures. |
| Contact:getRestitution | Get the restitution between two shapes that are in contact. |
| Contact:getSeparation | Get the separation between two shapes that are in contact. |
| Contact:getVelocity | Get the linear impact velocity of a contact. |
| Contact:isEnabled | Returns whether the contact is enabled. |
| Contact:isTouching | Returns whether the two colliding fixtures are touching each other. |
| Contact:resetFriction | Resets the contact friction to the mixture value of both fixtures. |
| Contact:resetRestitution | Resets the contact restitution to the mixture value of both fixtures. |
| Contact:setEnabled | Enables or disables the contact. |
| Contact:setFriction | Sets the contact friction. |
| Contact:setRestitution | Sets the contact restitution. |
| Cursor:getType | Gets the type of the Cursor. |
| Data:getPointer | Gets a pointer to the Data. |
| Data:getSize | Gets the size in bytes of the Data. |
| Data:getString | Gets the full Data as a string. |
| Decoder:getBitDepth | Returns the number of bits per sample. |
| Decoder:getBits | Returns the number of bits per sample. |
| Decoder:getChannels | Returns the number of channels in the stream. |
| Decoder:getSampleRate | Returns the sample rate of the Decoder. |
| DistanceJoint:getDamping | Gets the damping ratio. |
| DistanceJoint:getDampingRatio | Gets the damping ratio. |
| DistanceJoint:getFrequency | Gets the response speed. |
| DistanceJoint:getLength | Gets the equilibrium distance between the two Bodies. |
| DistanceJoint:setDamping | Sets the damping ratio. |
| DistanceJoint:setDampingRatio | Sets the damping ratio. |
| DistanceJoint:setFrequency | Sets the response speed. |
| DistanceJoint:setLength | Sets the equilibrium distance between the two Bodies. |
| EdgeShape:getPoints | Returns the local coordinates of the edge points. |
| enet.event | An event is a table generated by host:service() or peer:recieve() which will always contain a string named type, a enet. |
| enet.host:bandwidth limit | Sets the bandwidth limits of the host in bytes/sec. |
| enet.host:flush | Sends any queued packets. |
| enet.host:get socket address | Returns a string that describes the socket address of the given host. |
| enet.host:total sent data | Returns the number of bytes that were sent through the given host. |
| enet.host:total received data | Returns the number of bytes that were received by the given host. |
| enet.host:service time | Returns the time-stamp of the last call to host:service() or host:flush(). |
| enet.host:peer count | Returns the number of peers that are allocated for the given host. |
| enet.host:get peer | Returns the connected peer at the specified index (starting at 1). |
| enet.peer | An ENet peer which data packets may be sent or received from. |
| enet.peer:disconnect | Requests a disconnection from the peer. |
| enet.peer:disconnect now | Force immediate disconnection from peer. |
| enet.peer:disconnect later | Request a disconnection from peer, but only after all queued outgoing packets are sent. |
| enet.peer:index | Returns the index of the peer. |
| enet.peer:ping | Send a ping request to peer, updates round_trip_time. |
| enet.peer:round trip time | Returns or sets the current round trip time (i. |
| enet.peer:receive | Attempts to dequeue an incoming packet for this peer. |
| enet.peer:send | Queues a packet to be sent to the peer. |
| enet.peer:throttle configure | Changes the probability at which unreliable packets should not be dropped. |
| enet.peer:ping interval | Specifies the interval in milliseconds that pings are sent to the other end of the connection (defaults to 500). |
| enet.peer:timeout | Returns or sets the parameters when a timeout is detected. |
| enet.peer:state | Returns the state of the peer as a string. |
| enet.peer:connect id | Returns the field ENetPeer::connectID that is assigned for each connection. |
| enet.peer:last round trip time | Returns or sets the round trip time of the previous round trip time computation. |
| enet.host:get socket address | Returns a string that describes the socket address of the given host. |
| enet.host:service | Wait for events, send and receive any ready packets. |
| enet.host:check events | Checks for any queued events and dispatches one if available. |
| enet.host:connect | Connects a host to a remote host. |
| enet.host:broadcast | Queues a packet to be sent to all connected peers. |
| enet.host:channel limit | Sets the maximum number of channels allowed. |
| enet:host create | Returns a new host. |
| (File):close | Closes a File. |
| FileData:getExtension | Gets the extension of the FileData. |
| FileData:getFilename | Gets the filename of the FileData. |
| (File):eof | If the end-of-file has been reached. |
| (File):flush | Flushes any buffered written data in the file to the disk. |
| (File):getBuffer | Gets the buffer mode of a file. |
| (File):getMode | Gets the FileMode the file has been opened with. |
| (File):getSize | Returns the file size. |
| (File):isEOF | Gets whether end-of-file has been reached. |
| (File):isOpen | Gets whether the file is open. |
| (File):lines | Iterate over all the lines in a file. |
| (File):open | Open the file for write, read or append. |
| (File):read | Read a number of bytes from a file. |
| (File):seek | Seek to a position in a file. |
| (File):setBuffer | Sets the buffer mode for a file opened for writing or appending. |
| (File):tell | Returns the position in the file. |
| (File):write | Write data to a file. |
| Fixture:destroy | Destroys the fixture. |
| Fixture:getBody | Returns the body to which the fixture is attached. |
| Fixture:getBoundingBox | Returns the points of the fixture bounding box. |
| Fixture:getCategory | Returns the categories the fixture belongs to. |
| Fixture:getDensity | Returns the density of the fixture. |
| Fixture:getFilterData | Returns the filter data of the fixture. |
| Fixture:getFriction | Returns the friction of the fixture. |
| Fixture:getGroupIndex | Returns the group the fixture belongs to. |
| Fixture:getMask | Returns which categories this fixture should NOT collide with. |
| Fixture:getMassData | Returns the mass, its center and the rotational inertia. |
| Fixture:getRestitution | Returns the restitution of the fixture. |
| Fixture:getShape | Returns the shape of the fixture. |
| Fixture:getUserData | Returns the Lua value associated with this fixture. |
| Fixture:isDestroyed | Gets whether the Fixture is destroyed. |
| Fixture:isSensor | Returns whether the fixture is a sensor. |
| Fixture:rayCast | Casts a ray against the shape of the fixture and returns the surface normal vector and the line position where the ray hit. |
| Fixture:setCategory | Sets the categories the fixture belongs to. |
| Fixture:setDensity | Sets the density of the fixture. |
| Fixture:setFilterData | Sets the filter data of the fixture. |
| Fixture:setFriction | Sets the friction of the fixture. |
| Fixture:setGroupIndex | Sets the group the fixture belongs to. |
| Fixture:setMask | Sets the category mask of the fixture. |
| Fixture:setRestitution | Sets the restitution of the fixture. |
| Fixture:setSensor | Sets whether the fixture should act as a sensor. |
| Fixture:setUserData | Associates a Lua value with the fixture. |
| Fixture:testPoint | Checks if a point is inside the shape of the fixture. |
| Font:getAscent | Gets the ascent of the Font. |
| Font:getBaseline | Gets the baseline of the Font. |
| Font:getDescent | Gets the descent of the Font. |
| Font:getFilter | Gets the filter mode for a font. |
| Font:getHeight | Gets the height of the Font. |
| Font:getLineHeight | Gets the line height. |
| Font:getWidth | Determines the horizontal size a line of text needs. |
| Font:getWrap | Returns how many lines text would be wrapped to. |
| Font:hasGlyphs | Gets whether the Font can render a character or string. |
| Font:setFilter | Sets the filter mode for a font. |
| Font:setLineHeight | Sets the line height. |
| Framebuffer:clear | Clears the contents of a Framebuffer. |
| Framebuffer:getImageData | Returns the image data stored in the Framebuffer. |
| Framebuffer:getWrap | Gets the wrapping properties of a Framebuffer. |
| Framebuffer:renderTo | Render to the Framebuffer using a function. |
| Framebuffer:setWrap | Sets the wrapping properties of a Framebuffer. |
| FrictionJoint:getMaxForce | Gets the maximum friction force in Newtons. |
| FrictionJoint:getMaxTorque | Gets the maximum friction torque in Newton-meters. |
| FrictionJoint:setMaxForce | Sets the maximum friction force in Newtons. |
| FrictionJoint:setMaxTorque | Sets the maximum friction torque in Newton-meters. |
| GearJoint:getJoints | Get the Joints connected by this GearJoint. |
| GearJoint:getRatio | Get the ratio of a gear joint. |
| GearJoint:setRatio | Set the ratio of a gear joint. |
| ImageData:encode | Encodes the ImageData and writes it to the save directory. |
| ImageData:getDimensions | Gets the width and height of the ImageData. |
| ImageData:getHeight | Gets the height of the ImageData. |
| ImageData:getPixel | Gets the pixel at the specified position. |
| ImageData:getString | Gets the full ImageData as a string. |
| ImageData:getWidth | Gets the width of the ImageData. |
| ImageData:mapPixel | Transform an image by applying a function to every pixel. |
| ImageData:paste | Paste into ImageData from another source ImageData. |
| ImageData:setPixel | Sets the color of a pixel. |
| (Image):getData | Gets the original ImageData or CompressedData used to create the Image. |
| (Image):getDimensions | Gets the width and height of the Image. |
| (Image):getFilter | Gets the filter mode for an image. |
| (Image):getHeight | Gets the height of the Image. |
| (Image):getMipmapFilter | Gets the mipmap filter mode for an Image. |
| (Image):getWidth | Gets the width of the Image. |
| (Image):getWrap | Gets the wrapping properties of an Image. |
| (Image):isCompressed | Gets whether the Image was created from CompressedData. |
| (Image):refresh | Reloads the Image's contents from the ImageData or CompressedData used to create the image. |
| (Image):setFilter | Sets the filter mode for an image. |
| (Image):setMipmapFilter | Sets the mipmap filter mode for an Image. |
| (Image):setWrap | Sets the wrapping properties of an Image. |
| Joint:destroy | Explicitly destroys the Joint. |
| Joint:getAnchors | Get the anchor points of the joint. |
| Joint:getBodies | Gets the bodies that the Joint is attached to. |
| Joint:getCollideConnected | Gets whether the connected Bodies collide. |
| Joint:getReactionForce | Returns the reaction force in newtons on the second body. |
| Joint:getReactionTorque | Returns the reaction torque on the second body. |
| Joint:getType | Gets an string representing the type. |
| Joint:getUserData | Returns the Lua value associated with this Joint. |
| Joint:isDestroyed | Gets whether the Joint is destroyed. |
| Joint:setCollideConnected | Sets whether the connected Bodies should collide with each other. |
| Joint:setUserData | Associates a Lua value with the Joint. |
| Joystick:getAxes | Gets the direction of each axis. |
| Joystick:getAxisCount | Gets the number of axes on the joystick. |
| Joystick:getAxis | Gets the direction of an axis. |
| Joystick:getButtonCount | Gets the number of buttons on the joystick. |
| Joystick:getGamepadAxis | Gets the direction of a virtual gamepad axis. |
| Joystick:getGamepadMapping | Gets the button, axis or hat that a virtual gamepad input is bound to. |
| Joystick:getGUID | Gets a stable GUID unique to the type of the physical joystick which does not change over time. |
| Joystick:getHatCount | Gets the number of hats on the joystick. |
| Joystick:getHat | Gets the direction of a hat. |
| Joystick:getID | Gets the joystick's unique identifier. |
| Joystick:getName | Gets the name of the joystick. |
| Joystick:getVibration | Gets the current vibration motor strengths on a Joystick with rumble support. |
| Joystick:isConnected | Gets whether the Joystick is connected. |
| Joystick:isDown | Checks if a button on the Joystick is pressed. |
| Joystick:isGamepadDown | Checks if a virtual gamepad button on the Joystick is pressed. |
| Joystick:isGamepad | Gets whether the Joystick is recognized as a gamepad. |
| Joystick:isVibrationSupported | Gets whether the Joystick supports vibration. |
| Joystick:setVibration | Sets the vibration motor speeds on a Joystick with rumble support. |
| love.getVersion | Gets the current running version of LÖVE. |
| love.audio.setDopplerScale | Sets a global scale factor for velocity-based doppler effects. |
| love.audio.getDopplerScale | Gets the current global scale factor for velocity-based doppler effects. |
| love.audio.getPosition | Returns the position of the listener. |
| love.audio.getDistanceModel | Returns the distance attenuation model. |
| love.audio.getNumSources | Gets the current number of simultaneously playing sources. |
| love.audio.getOrientation | Returns the orientation of the listener. |
| love.audio.getVelocity | Returns the velocity of the listener. |
| love.audio.getVolume | Returns the master volume. |
| love.audio.pause | Pauses all audio. |
| love.audio.play | Plays the specified Source. |
| love.audio.resume | Resumes all audio. |
| love.audio.rewind | Rewinds all playing audio. |
| love.audio.setDistanceModel | Sets the distance attenuation model. |
| love.audio.setOrientation | Sets the orientation of the listener. |
| love.audio.setPosition | Sets the position of the listener, which determines how sounds play. |
| love.audio.setVelocity | Sets the velocity of the listener. |
| love.audio.setVolume | Sets the master volume. |
| love.audio.stop | Stops currently played sources. |
| love.audio.getSourceCount | Gets the current number of simultaneously playing sources. |
| love.audio.newSource | Creates a new Source from a filepath, File, Decoder or SoundData. |
| love.event.clear | Clears the event queue. |
| love.event.poll | Returns an iterator for messages in the event queue. |
| love.event.wait | Like love. |
| love.event.pump | Pump events into the event queue. |
| love.event.push | Adds an event to the event queue. |
| love.event.quit | Adds the quit event to the queue. |
| love.filesystem.getSourceBaseDirectory | Returns the full path to the directory containing the . |
| love.filesystem.getWorkingDirectory | Gets the current working directory. |
| love.filesystem.init | Initializes love. |
| love.filesystem.isDirectory | Check whether something is a directory. |
| love.filesystem.load | Load a lua file (but not run it). |
| love.filesystem.read | Read the contents of a file. |
| love.filesystem.setSource | Sets the source of the game, where the code is present. |
| love.filesystem.lines | Iterate over the lines in a file. |
| love.filesystem.newFile | Creates a new File object. |
| love.filesystem.getDirectoryItems | Returns a table with the names of files and subdirectories in the specified path. |
| love.filesystem.mount | Mounts a zip file or folder in the game's save directory for reading. |
| love.filesystem.isFused | Gets whether the game is in fused mode or not. |
| love.filesystem.getIdentity | Gets the write directory name for your game. |
| love.filesystem.append | Append data to an existing file. |
| love.filesystem.getSize | Gets the size in bytes of a file. |
| love.filesystem.unmount | Unmounts a zip file or folder previously mounted for reading with love. |
| love.filesystem.mkdir | Recursively creates a directory. |
| love.filesystem.createDirectory | Recursively creates a directory. |
| love.filesystem.enumerate | Returns a table with the names of files and subdirectories in the specified path. |
| love.filesystem.isSymlink | Gets whether a filepath is actually a symbolic link. |
| love.filesystem.setSymlinksEnabled | Sets whether love. |
| love.filesystem.areSymlinksEnabled | Gets whether love. |
| love.filesystem.getRealDirectory | Gets the platform-specific absolute path of the directory containing a filepath. |
| love.filesystem.getSaveDirectory | Gets the full path to the designated save directory. |
| love.filesystem.getLastModified | Gets the last modification time of a file. |
| love.filesystem.exists | Check whether a file or directory exists. |
| love.filesystem.isFile | Check whether something is a file. |
| love.filesystem.getAppdataDirectory | Returns the application data directory (could be the same as getUserDirectory). |
| love.filesystem.write | Write data to a file in the save directory. |
| love.filesystem.remove | Removes a file or empty directory. |
| love.filesystem.getUserDirectory | Returns the path of the user's directory. |
| love.filesystem.newFileData | Creates a new FileData object. |
| love.filesystem.setIdentity | Sets the write directory for your game. |
| love.font.newGlyphData | Creates a new GlyphData. |
| love.font.newRasterizer | Creates a new Rasterizer. |
| love.font.newFontData | Creates a new FontData. |
| love.graphics.isWireframe | Gets whether wireframe mode is used when drawing. |
| love.graphics.getMaxImageSize | Gets the max supported width or height of Images and Canvases. |
| love.graphics.getMaxPointSize | Gets the max supported point size. |
| love.graphics.scale | Scales the coordinate system in two dimensions. |
| love.graphics.reset | Resets the current graphics settings. |
| love.graphics.print | Draws text on screen. |
| love.graphics.isCreated | Checks if the window has been created. |
| love.graphics.newMesh | Creates a new Mesh. |
| love.graphics.setColorMask | Sets the color mask. |
| love.graphics.origin | Resets the current coordinate transformation. |
| love.graphics.push | Copies and pushes the current coordinate transformation to the transformation stack. |
| love.graphics.quad | Draws a quadrilateral shape. |
| love.graphics.triangle | Draws a triangle. |
| love.graphics.setColorMode | Sets the color mode (which controls how images are affected by the current color). |
| love.graphics.newStencil | Creates a new stencil. |
| love.graphics.setLine | Sets the line width and style. |
| love.graphics.setPoint | Sets the point size and style. |
| love.graphics.setCaption | Sets the window caption. |
| love.graphics.setDefaultFilter | Sets the default scaling filters used with Images, Canvases, and Fonts. |
| love.graphics.getLineWidth | Gets the current line width. |
| love.graphics.getColor | Gets the current color. |
| love.graphics.pop | Pops the current coordinate transformation from the transformation stack. |
| love.graphics.getStats | Gets performance-related rendering statistics. |
| love.graphics.point | Draws a point. |
| love.graphics.rectangle | Draws a rectangle. |
| love.graphics.line | Draws lines between points. |
| love.graphics.getDimensions | Gets the width and height in pixels of the window. |
| love.graphics.setPixelEffect | Sets or resets a PixelEffect as the current pixel effect. |
| love.graphics.setScissor | Sets or disables scissor. |
| love.graphics.polygon | Draw a polygon. |
| love.graphics.toggleFullscreen | Toggles fullscreen. |
| love.graphics.newPixelEffect | Creates a new PixelEffect object for hardware-accelerated pixel level effects. |
| love.graphics.getDefaultFilter | Returns the default scaling filters used with Images, Canvases, and Fonts. |
| love.graphics.setRenderTarget | Sets or resets a Framebuffer as render target. |
| love.graphics.setCanvas | Nothing. |
| love.graphics.circle | Draws a circle. |
| love.graphics.setFont | Set an already-loaded Font as the current font or create and load a new one from the file and size. |
| love.graphics.setBlendMode | Sets the blending mode. |
| love.graphics.getBlendMode | Gets the blending mode. |
| love.graphics.drawq | Draw a Quad with the specified Image on screen. |
| love.graphics.getHeight | Gets the height in pixels of the window. |
| love.graphics.getColorMask | Gets the active color components used when drawing. |
| love.graphics.getColorMode | Gets the color mode (which controls how images are affected by the current color). |
| love.graphics.getLineJoin | Gets the line join style. |
| love.graphics.getLineStipple | Gets the current line stipple. |
| love.graphics.getPixelEffect | Returns the current PixelEffect. |
| love.graphics.getPointSize | Gets the point size. |
| love.graphics.getScissor | Gets the current scissor box. |
| love.graphics.getShader | Gets the current Shader. |
| love.graphics.setColor | Sets the color used for drawing. |
| love.graphics.setInvertedStencil | Defines an inverted stencil for the drawing operations or releases the active one. |
| love.graphics.setLineJoin | Sets the line join style. |
| love.graphics.setPointSize | Sets the point size. |
| love.graphics.rotate | Rotates the coordinate system in two dimensions. |
| love.graphics.translate | Translates the coordinate system in two dimensions. |
| love.graphics.getCaption | Gets the window caption. |
| love.graphics.getModes | Gets a list of supported fullscreen modes. |
| love.graphics.getWidth | Gets the width in pixels of the window. |
| love.graphics.hasFocus | Checks if the game window has keyboard focus. |
| love.graphics.setIcon | Set window icon. |
| love.graphics.clear | Clears the screen to the background color. |
| love.graphics.present | Displays the results of drawing operations on the screen. |
| love.graphics.setMode | Changes the window size, or the display mode if fullscreen. |
| love.graphics.newShader | Creates a new Shader object for hardware-accelerated vertex and pixel effects. |
| love.graphics.ellipse | Draws an ellipse. |
| love.graphics.draw | Draws a Drawable object (an Image, Canvas, SpriteBatch, ParticleSystem, or Mesh) on the screen with optional rotation, scaling and shearing. |
| love.graphics.arc | Draws a filled or unfilled arc at position (x, y). |
| love.graphics.newCanvas | Creates a new Canvas object for offscreen rendering. |
| love.graphics.setShader | Sets or resets a Shader as the current pixel effect or vertex shaders. |
| love.graphics.newSpriteBatch | Creates a new SpriteBatch object. |
| love.graphics.getBackgroundColor | Gets the current background color. |
| love.graphics.shear | Shears the coordinate system. |
| love.graphics.newFramebuffer | Creates a new framebuffer object for offscreen rendering. |
| love.graphics.getSystemLimit | Gets the system-dependent maximum value for a love. |
| love.graphics.getPointStyle | Gets the current point style. |
| love.graphics.getMode | Returns the current display mode. |
| love.graphics.setPointStyle | Sets the point style. |
| love.graphics.newFont | Creates a new Font. |
| love.graphics.newImageFont | Creates a new Font by loading a specifically formatted image. |
| love.graphics.getRendererInfo | Gets information about the system's video card and drivers. |
| love.graphics.newImage | Creates a new Image from a filepath, FileData or an ImageData. |
| love.graphics.isSupported | Checks if certain graphics functions can be used. |
| love.graphics.newParticleSystem | Creates a new ParticleSystem. |
| love.graphics.newQuad | Creates a new Quad. |
| love.graphics.newScreenshot | Creates a screenshot and returns the image data. |
| love.graphics.getCanvas | Gets the current target Canvas. |
| love.graphics.printf | Draws formatted text, with word wrap and alignment. |
| love.graphics.setNewFont | Creates and sets a new Font. |
| love.graphics.checkMode | Checks if a display mode is supported. |
| love.graphics.setLineStyle | Sets the line style. |
| love.graphics.setLineStipple | Sets the line stipple pattern. |
| love.graphics.setStencil | Defines or releases a stencil for the drawing operations. |
| love.graphics.getCanvasFormats | Gets the available Canvas formats, and whether each is supported. |
| love.graphics.getCompressedImageFormats | Gets the available compressed image formats, and whether each is supported. |
| love.graphics.setDefaultImageFilter | Sets the default scaling filters. |
| love.graphics.getFont | Gets the current Font object. |
| love.graphics.getLineStyle | Gets the line style. |
| love.graphics.setLineWidth | Sets the line width. |
| love.graphics.setWireframe | Sets whether wireframe lines will be used when drawing. |
| love.graphics.getDefaultImageFilter | Returns the default scaling filters. |
| love.graphics.setBackgroundColor | Sets the background color. |
| love.image.newCompressedData | Create a new CompressedData object from a compressed image file. |
| love.image.newEncodedImageData | Encodes ImageData. |
| love.image.newImageData | Creates a new ImageData object. |
| love.image.isCompressed | Determines whether a file can be loaded as CompressedData. |
| love.joystick.getAxes | Returns the position of each axis. |
| love.joystick.getAxis | Returns the direction of the axis. |
| love.joystick.getBall | Returns the change in ball position. |
| love.joystick.getHat | Returns the direction of a hat. |
| love.joystick.getJoystickCount | Gets the number of connected joysticks. |
| love.joystick.getJoysticks | Gets a list of connected Joysticks. |
| love.joystick.getNumAxes | Returns the number of axes on the joystick. |
| love.joystick.getNumButtons | Returns the number of buttons on the joystick. |
| love.joystick.getNumHats | Returns the number of hats on the joystick. |
| love.joystick.getNumJoysticks | Returns how many joysticks are available. |
| love.joystick.loadGamepadMappings | Loads a gamepad mappings string or file created with love. |
| love.joystick.isOpen | Checks if the joystick is open. |
| love.joystick.open | Opens up a joystick to be used. |
| love.joystick.saveGamepadMappings | Saves the virtual gamepad mappings of all Joysticks that are recognized as gamepads. |
| love.joystick.setGamepadMapping | Binds a virtual gamepad input to a button, axis or hat for all Joysticks of a certain type. |
| love.joystick.isDown | Checks if a button on a joystick is pressed. |
| love.joystick.getName | Returns the name of a joystick. |
| love.joystick.close | Closes a joystick, i. |
| love.joystick.getNumBalls | Returns the number of balls on the joystick. |
| love.keyboard.getKeyRepeat | Returns the delay and interval of key repeating. |
| love.keyboard.getScancodeFromKey | Gets the hardware scancode corresponding to the given key. |
| love.keyboard.hasKeyRepeat | Gets whether key repeat is enabled. |
| love.keyboard.hasTextInput | Gets whether text input events are enabled. |
| love.keyboard.isDown | Checks whether a certain key is down. |
| love.keyboard.setKeyRepeat | Enables or disables key repeat for love. |
| love.keyboard.setTextInput | Enables or disables text input events. |
| love.keyboard.getKeyFromScancode | Gets the key corresponding to the given hardware scancode. |
| love.math.random | Generates a pseudo random number in a platform independent way. |
| love.math.gammaToLinear | Converts a color from gamma-space (sRGB) to linear-space (RGB). |
| love.math.getRandomSeed | Gets the seed of the random number generator. |
| love.math.randomNormal | Get a normally distributed pseudo random number. |
| love.math.linearToGamma | Converts a color from linear-space (RGB) to gamma-space (sRGB). |
| love.math.triangulate | Decomposes a simple convex or concave polygon into triangles. |
| love.math.isConvex | Checks whether a polygon is convex. |
| love.math.noise | Generates a Simplex noise value in 1-4 dimensions. |
| love.math.setRandomSeed | Sets the seed of the random number generator using the specified integer number. |
| love.math.newRandomGenerator | Creates a new RandomGenerator object which is completely independent of other RandomGenerator objects and random functions. |
| love.math.randomNormal | Get a normally distributed pseudo random number. |
| love.math.newBezierCurve | Creates a new BezierCurve object. |
| love.mouse.newCursor | Creates a new hardware Cursor object from an image file or ImageData. |
| love.mouse.setX | Sets the current X position of the mouse. |
| love.mouse.setY | Sets the current Y position of the mouse. |
| love.mouse.setGrab | Grabs the mouse and confines it to the window. |
| love.mouse.setGrabbed | Grabs the mouse and confines it to the window. |
| love.mouse.setPosition | Sets the current position of the mouse. |
| love.mouse.setRelativeMode | Sets whether relative mode is enabled for the mouse. |
| love.mouse.getRelativeMode | Gets whether relative mode is enabled for the mouse. |
| love.mouse.getPosition | Returns the current position of the mouse. |
| love.mouse.isDown | Checks whether a certain mouse button is down. |
| love.mouse.getCursor | Gets the current Cursor. |
| love.mouse.getSystemCursor | Gets a Cursor object representing a system-native hardware cursor. |
| love.mouse.getX | Returns the current x-position of the mouse. |
| love.mouse.getY | Returns the current y-position of the mouse. |
| love.mouse.isGrabbed | Checks if the mouse is grabbed. |
| love.mouse.isVisible | Checks if the cursor is visible. |
| love.mouse.setCursor | Sets the current mouse cursor. |
| love.mouse.setVisible | Sets the current visibility of the cursor. |
| love.mouse.hasCursor | Gets whether cursor functionality is supported. |
| love.physics.newFixture | Creates and attaches a Fixture to a body. |
| love.physics.newGearJoint | Create a GearJoint connecting two Joints. |
| love.physics.newPolygonShape | Creates a new PolygonShape. |
| love.physics.newPulleyJoint | Creates a PulleyJoint to join two bodies to each other and the ground. |
| love.physics.newRevoluteJoint | Creates a pivot joint between two bodies. |
| love.physics.newFrictionJoint | Create a friction joint between two bodies. |
| love.physics.newMouseJoint | Create a joint between a body and the mouse. |
| love.physics.newPrismaticJoint | Creates a PrismaticJoint between two bodies. |
| love.physics.newChainShape | Creates a new ChainShape. |
| love.physics.newWeldJoint | Creates a constraint joint between two bodies. |
| love.physics.newWheelJoint | Creates a wheel joint. |
| love.physics.newEdgeShape | Creates a new EdgeShape. |
| love.physics.setMeter | Sets the pixels to meter scale factor. |
| love.physics.newRopeJoint | Creates a joint between two bodies. |
| love.physics.newDistanceJoint | Creates a DistanceJoint between two bodies. |
| love.physics.getMeter | Returns the meter scale factor. |
| love.physics.newWorld | Creates a new World. |
| love.physics.newBody | Creates a new body. |
| love.physics.newCircleShape | Creates a new CircleShape. |
| love.physics.newRectangleShape | Shorthand for creating rectanglar PolygonShapes. |
| love.physics.getDistance | Returns the two closest points between two fixtures and their distance. |
| love.sound.newDecoder | Attempts to find a decoder for the encoded sound data in the specified file. |
| love.sound.newSoundData | Creates new SoundData from a filepath, File, or Decoder. |
| love.system.openURL | Opens a URL with the user's web or file browser. |
| love.system.getClipboardText | Gets text from the clipboard. |
| love.system.setClipboardText | Puts text in the clipboard. |
| love.system.getOS | Gets the current operating system. |
| love.system.getProcessorCount | Gets the number of CPU cores in the system. |
| love.system.getPowerInfo | Gets information about the system's power supply. |
| love.thread.getThread | Look for a thread and get its object. |
| love.thread.getThreads | Get all threads. |
| love.thread.newChannel | Create a new unnamed thread channel. |
| love.thread.newThread | Creates a new Thread from a Lua file or FileData object. |
| love.thread.getChannel | Creates or retrieves a named thread channel. |
| love.timer.getDelta | Returns the time between the last two frames. |
| love.timer.step | Measures the time between two frames. |
| love.timer.getAverageDelta | Returns the average delta time (seconds per frame) over the last second. |
| love.timer.getMicroTime | Returns the value of a timer with an unspecified starting time. |
| love.timer.getFPS | Returns the current frames per second. |
| love.timer.getTime | Returns the value of a timer with an unspecified starting time. |
| love.timer.sleep | Pauses the current thread for the specified amount of time. |
| love.touch.getTouches | Gets a list of all active touch-presses. |
| love.touch.getPosition | Gets the current position of the specified touch-press, in pixels. |
| love.window.showMessageBox | Displays a message box dialog above the love window. |
| love.window.getFullscreen | Gets whether the window is fullscreen. |
| love.window.isVisible | Checks if the game window is visible. |
| love.window.getIcon | Gets the window icon. |
| love.window.hasMouseFocus | Checks if the game window has mouse focus. |
| love.window.getDisplayName | Gets the name of a display. |
| love.window.minimize | Minimizes the window to the system's task bar / dock. |
| love.window.setTitle | Sets the window title. |
| love.window.getPosition | Gets the position of the window on the screen. |
| love.window.getWidth | Gets the width of the window. |
| love.window.getHeight | Gets the height of the window. |
| love.window.getDimensions | Gets the width and height of the window. |
| love.window.setIcon | Sets the window icon until the game is quit. |
| love.window.setFullscreen | Enters or exits fullscreen. |
| love.window.getTitle | Gets the window title. |
| love.window.getPixelScale | Gets the DPI scale factor associated with the window. |
| love.window.setFullscreen | Enters or exits fullscreen. |
| love.window.maximize | Makes the window as large as possible. |
| love.window.getDisplayCount | Gets the number of connected monitors. |
| love.window.hasFocus | Checks if the game window has keyboard focus. |
| love.window.isCreated | Checks if the window has been created. |
| love.window.toPixels | Converts a number from density-independent units to pixels. |
| love.window.getDesktopDimensions | Gets the width and height of the desktop. |
| love.window.getTitle | Gets the window title. |
| love.window.fromPixels | Converts a number from pixels to density-independent units. |
| love.window.setPosition | Sets the position of the window on the screen. |
| love.window.getFullscreenModes | Gets a list of supported fullscreen modes. |
| love.window.getMode | Gets the display mode and properties of the window. |
| love.window.setMode | Sets the display mode and properties of the window. |
| LUBE.server | Creates a server object. |
| LUBE.bin:pack | Packs a table into a single string in order to send it across a network. |
| LUBE.bin:setseperators | If you want to share nested tables across a network, then using this function before packing each nest of tables will ensure that they get unpacked correctly. |
| LUBE.bin:unpack | Unpacks a string into a table of values. |
| LUBE.client | Creates a client object. |
| Mesh:getDrawRange | Gets the range of vertices used when drawing the Mesh. |
| Mesh:getImage | Gets the Image used when drawing the Mesh. |
| Mesh:getTexture | Gets the texture (Image or Canvas) used when drawing the Mesh. |
| Mesh:getVertexCount | Gets the total number of vertices in the Mesh. |
| Mesh:getVertex | Gets the properties of a vertex in the Mesh. |
| Mesh:getVertexMap | Gets the vertex map for the Mesh. |
| Mesh:getVertices | Gets all the vertices in the Mesh. |
| Mesh:hasVertexColors | Gets whether per-vertex colors are used instead of the constant color when drawing the Mesh (constant color being love. |
| Mesh:setDrawRange | Restricts the drawn vertices of the Mesh to a subset of the total. |
| Mesh:setImage | Sets the Image used when drawing the Mesh. |
| Mesh:setTexture | Sets the texture (Image or Canvas) used when drawing the Mesh. |
| Mesh:setVertexColors | Sets whether per-vertex colors are used instead of the constant color when drawing the Mesh (constant color being love. |
| Mesh:setVertex | Sets the properties of a vertex in the Mesh. |
| Mesh:setVertexMap | Sets the vertex map for the Mesh. |
| Mesh:setVertices | Replaces all vertices in the Mesh with new ones. |
| MouseJoint:getDampingRatio | Returns the damping ratio. |
| MouseJoint:getFrequency | Returns the frequency. |
| MouseJoint:getMaxForce | Gets the highest allowed force. |
| MouseJoint:getTarget | Gets the target point. |
| MouseJoint:setDampingRatio | Sets a new damping ratio. |
| MouseJoint:setFrequency | Sets a new frequency. |
| MouseJoint:setMaxForce | Sets the highest allowed force. |
| MouseJoint:setTarget | Sets the target point. |
| Object:type | Gets the type of the object as a string. |
| Object:typeOf | Checks whether an object is of a certain type. |
| ParticleSystem:clone | Creates an identical copy of the ParticleSystem in the stopped state. |
| ParticleSystem:count | Gets the amount of particles that are currently in the system. |
| ParticleSystem:emit | Emits a burst of particles from the particle emitter. |
| ParticleSystem:getAreaSpread | Gets the area-based spawn parameters for the particles. |
| ParticleSystem:getBufferSize | Gets the maximum number of particles the ParticleSystem can have at once. |
| ParticleSystem:getCount | Gets the number of particles that are currently in the system. |
| ParticleSystem:getImage | Gets the image used for the particles. |
| ParticleSystem:getInsertMode | Gets the mode used when the ParticleSystem adds new particles. |
| ParticleSystem:getLinearDamping | Gets the amount of linear damping (constant deceleration) for particles. |
| ParticleSystem:getPosition | Gets the position of the emitter. |
| ParticleSystem:getRadialAcceleration | Gets the radial acceleration (away from the emitter). |
| ParticleSystem:getTexture | Gets the texture (Image or Canvas) used for the particles. |
| ParticleSystem:getX | Gets the x-coordinate of the particle emitter's position. |
| ParticleSystem:getY | Gets the y-coordinate of the particle emitter's position. |
| ParticleSystem:hasRelativeRotation | Gets whether particle angles and rotations are relative to their velocities. |
| ParticleSystem:isActive | Checks whether the particle system is actively emitting particles. |
| ParticleSystem:isEmpty | Checks whether the particle system is empty of particles. |
| ParticleSystem:isFull | Checks whether the particle system is full of particles. |
| ParticleSystem:isPaused | Checks whether the particle system is paused. |
| ParticleSystem:isStopped | Checks whether the particle system is stopped. |
| ParticleSystem:moveTo | Moves the position of the emitter. |
| ParticleSystem:setAreaSpread | Sets area-based spawn parameters for the particles. |
| ParticleSystem:setBufferSize | Sets the size of the buffer (the max allowed amount of particles in the system). |
| ParticleSystem:setEmissionRate | Sets the amount of particles emitted per second. |
| ParticleSystem:setEmitterLifetime | Sets how long the particle system should emit particles (if -1 then it emits particles forever). |
| ParticleSystem:setGravity | Sets the gravity affecting the particles (acceleration along the y-axis). |
| ParticleSystem:setImage | Sets the image to be used for the particles. |
| ParticleSystem:setInsertMode | Sets the mode to use when the ParticleSystem adds new particles. |
| ParticleSystem:setLifetime | Sets how long the particle system should emit particles (if -1 then it emits particles forever). |
| ParticleSystem:setLinearAcceleration | Sets the linear acceleration (acceleration along the x and y axes) for particles. |
| ParticleSystem:setLinearDamping | Sets the amount of linear damping (constant deceleration) for particles. |
| ParticleSystem:setParticleLife | Sets the life of the particles. |
| ParticleSystem:setParticleLifetime | Sets the lifetime of the particles. |
| ParticleSystem:setPosition | Sets the position of the emitter. |
| ParticleSystem:setQuads | Sets a series of Quads to use for the particle sprites. |
| ParticleSystem:setRelativeRotation | Sets whether particle angles and rotations are relative to their velocities. |
| ParticleSystem:setSize | Sets the size of the particle. |
| ParticleSystem:setSizes | Sets a series of sizes by which to scale a particle sprite. |
| ParticleSystem:setSizeVariation | Sets the amount of size variation. |
| ParticleSystem:setSprite | Sets the image which is to be emitted. |
| ParticleSystem:setTexture | Sets the texture (Image or Canvas) to be used for the particles. |
| ParticleSystem:update | Updates the particle system; moving, creating and killing particles. |
| PixelEffect:getWarnings | Returns any warning messages from compiling the pixel effect code. |
| PixelEffect:send | Sends one or more values to a special (extern) variable inside the pixel effect. |
| PulleyJoint:setMaxLengths | Set the maximum lengths of the rope segments. |
| Quad:flip | Flips this quad horizontally, vertically, or both. |
| RandomGenerator:getSeed | Gets the seed of the random number generator object. |
| RandomGenerator:getState | Gets the current state of the random number generator. |
| RandomGenerator:setSeed | Sets the seed of the random number generator using the specified integer number. |
| RandomGenerator:setState | Sets the current state of the random number generator. |
| RevoluteJoint:enableLimit | Enables or disables the joint limits. |
| RevoluteJoint:enableLimit | Enables or disables the joint limits. |
| RevoluteJoint:enableMotor | Starts or stops the joint motor. |
| RevoluteJoint:getJointAngle | Get the current joint angle. |
| RevoluteJoint:getJointSpeed | Get the current joint angle speed. |
| RevoluteJoint:getLimits | Gets the joint limits. |
| RevoluteJoint:getLowerLimit | Gets the lower limit. |
| RevoluteJoint:getMaxMotorTorque | Gets the maximum motor force. |
| RevoluteJoint:getMotorSpeed | Gets the motor speed. |
| RevoluteJoint:getMotorTorque | Get the current motor force. |
| RevoluteJoint:getUpperLimit | Gets the upper limit. |
| RevoluteJoint:hasLimitsEnabled | Checks whether limits are enabled. |
| RevoluteJoint:isLimitsEnabled | Checks whether limits are enabled. |
| RevoluteJoint:isMotorEnabled | Checks whether the motor is enabled. |
| RevoluteJoint:setLimitsEnabled | Enables/disables the joint limit. |
| RevoluteJoint:setLimits | Sets the limits. |
| RevoluteJoint:setLowerLimit | Sets the lower limit. |
| RevoluteJoint:setMaxMotorTorque | Set the maximum motor force. |
| RevoluteJoint:setMotorEnabled | Enables/disables the joint motor. |
| RevoluteJoint:setMotorSpeed | Sets the motor speed. |
| RopeJoint:getMaxLength | Gets the maximum length of a RopeJoint. |
| ServerObject.tcp:acceptAll | Accepts connecting clients (TCP Only). |
| ServerObject:checkPing | Check for ping messages. |
| ServerObject:Init | Initializes the server. |
| ServerObject:receive | Receive data from client(s). |
| ServerObject:respondToServBrowser | Sets if the server should respond to Server Browser requests. |
| ServerObject:send | Send data to client(s). |
| ServerObject:setCallback | Sets the callbacks for the server. |
| ServerObject:setHandshake | Sets a handshake for the server. |
| ServerObject:setPing | Sets the ping for the server. |
| ServerObject:startserver | Starts and sets the server. |
| ServerObject:update | Update the server. |
| Shader:getExternVariable | Gets information about an 'extern' ('uniform') variable in the shader. |
| Shader:getWarnings | Returns any warning and error messages from compiling the shader code. |
| Shader:send | Sends one or more values to a special (extern) variable inside the shader. |
| Shape:destroy | Explicitly destroys the Shape. |
| Shape:getBody | Get the Body the shape is attached to. |
| Shape:getData | Get the data set with setData. |
| Shape:getMask | Gets which categories this shape should NOT collide with. |
| Shape:getType | Gets a string representing the Shape. |
| Shape:rayCast | Casts a ray against the shape and returns the surface normal vector and the line position where the ray hit. |
| Shape:setData | Set data to be passed to the collision callback. |
| Shape:setMask | Sets which categories this shape should NOT collide with. |
| SoundData:getBitDepth | Returns the number of bits per sample. |
| SoundData:getBits | Returns the number of bits per sample. |
| SoundData:getChannels | Returns the number of channels in the stream. |
| SoundData:getDuration | Gets the duration of the sound data. |
| SoundData:getSampleCount | Returns the sample count of the SoundData. |
| SoundData:getSample | Gets the sample at the specified position. |
| SoundData:getSampleRate | Returns the sample rate of the SoundData. |
| SoundData:setSample | Sets the sample at the specified position. |
| Source:getAttenuationDistances | Gets the reference and maximum attenuation distances of the Source. |
| Source:getChannels | Gets the number of channels in the Source. |
| Source:getCone | Gets the Source's directional volume cones. |
| Source:getDirection | Gets the direction of the Source. |
| Source:getDistance | Returns the reference and maximum distance of the source. |
| Source:getPosition | Gets the position of the Source. |
| Source:getVelocity | Gets the velocity of the Source. |
| Source:isPaused | Returns whether the Source is paused. |
| Source:isPlaying | Returns whether the Source is playing. |
| Source:isRelative | Gets whether the Source's position, velocity, direction, and cone angles are relative to the listener. |
| Source:isStatic | Returns whether the Source is static. |
| Source:pause | Pauses the Source. |
| Source:play | Starts playing the Source. |
| Source:seek | Sets the currently playing position of the Source. |
| Source:setAttenuationDistances | Sets the reference and maximum attenuation distances of the Source. |
| Source:setCone | Sets the Source's directional volume cones. |
| Source:setDirection | Sets the direction vector of the Source. |
| Source:setDistance | Sets the reference and maximum distance of the source. |
| Source:setPitch | Sets the pitch of the Source. |
| Source:setPosition | Sets the position of the Source. |
| Source:setRelative | Sets whether the Source's position, velocity, direction, and cone angles are relative to the listener, or absolute. |
| Source:setVelocity | Sets the velocity of the Source. |
| Source:tell | Gets the currently playing position of the Source. |
| SpriteBatch:add | Adds a sprite to the batch. |
| SpriteBatch:addq | Adds a Quad to the batch. |
| SpriteBatch:bind | Binds the SpriteBatch to memory for more efficient updating. |
| SpriteBatch:getBufferSize | Gets the maximum number of sprites the SpriteBatch can hold. |
| SpriteBatch:getColor | Gets the color that will be used for the next add and set operations. |
| SpriteBatch:getCount | Gets the number of sprites currently in the SpriteBatch. |
| SpriteBatch:getImage | Returns the image used by the SpriteBatch. |
| SpriteBatch:getTexture | Gets the texture (Image or Canvas) used by the SpriteBatch. |
| SpriteBatch:setBufferSize | Sets the maximum number of sprites the SpriteBatch can hold. |
| SpriteBatch:setColor | Sets the color that will be used for the next add and set operations. |
| SpriteBatch:set | Changes a sprite in the batch. |
| SpriteBatch:setImage | Replaces the image used for the sprites. |
| SpriteBatch:setq | Changes a sprite with a quad in the batch. |
| SpriteBatch:setTexture | Sets the texture (Image or Canvas) used for the sprites in the batch, when drawing. |
| SpriteBatch:unbind | Unbinds the SpriteBatch. |
| Thread:demand | Receive a message from a thread. |
| Thread:getError | Retrieves the error string from the thread if it produced a error. |
| Thread:get | Retrieves the value of a message and removes it from the thread's message box. |
| Thread:getKeys | Returns a table with the names of all messages in the message box. |
| Thread:getName | Get the name of a thread. |
| Thread:isRunning | Returns whether the thread is currently running. |
| Thread:kill | Forcefully terminate the thread. |
| Thread:peek | Retrieves the value of a message, but leaves it in the thread's message box. |
| Thread:receive | Receive a message from a thread. |
| Thread:send | Send a message (put it in the message box). |
| Thread:set | Sets a value in the message box of the thread. |
| Thread:start | Starts the thread. |
| Thread:wait | Wait for a thread to finish. |
| WheelJoint:enableMotor | Starts and stops the joint motor. |
| WheelJoint:getJointSpeed | Returns the current joint translation speed. |
| WheelJoint:getJointTranslation | Returns the current joint translation. |
| WheelJoint:getMaxMotorTorque | Returns the maximum motor torque. |
| WheelJoint:getMotorSpeed | Returns the speed of the motor. |
| WheelJoint:getMotorTorque | Returns the current torque on the motor. |
| WheelJoint:getSpringDampingRatio | Returns the damping ratio. |
| WheelJoint:getSpringFrequency | Returns the spring frequency. |
| WheelJoint:isMotorEnabled | Checks if the joint motor is running. |
| WheelJoint:setMaxMotorTorque | Sets a new maximum motor torque. |
| WheelJoint:setMotorEnabled | Starts and stops the joint motor. |
| WheelJoint:setMotorSpeed | Sets a new speed for the motor. |
| WheelJoint:setSpringDampingRatio | Sets a new damping ratio. |
| WheelJoint:setSpringFrequency | Sets a new spring frequency. |
| World:destroy | Destroys the world, taking all bodies, joints, fixtures and their shapes with it. |
| World:getAllowSleeping | Returns the sleep behaviour of the world. |
| World:getBodyCount | Returns the number of bodies in the world. |
| World:getBodyList | Returns a table with all bodies. |
| World:getCallbacks | Returns functions for the callbacks during the world update. |
| World:getContactCount | Returns the number of contacts in the world. |
| World:getContactFilter | Returns the function for collision filtering. |
| World:getContactList | Returns a table with all contacts. |
| World:getGravity | Get the gravity of the world. |
| World:getJointCount | Returns the number of joints in the world. |
| World:getJointList | Returns a table with all joints. |
| World:isAllowSleep | Get the sleep behaviour of the world. |
| World:isDestroyed | Gets whether the World is destroyed. |
| World:isLocked | Returns if the world is updating its state. |
| World:isSleepingAllowed | Gets the sleep behaviour of the world. |
| World:queryBoundingBox | Calls a function for each fixture inside the specified area. |
| World:rayCast | Casts a ray and calls a function with the fixtures that intersect it. |
| World:setAllowSleep | Set the sleep behaviour of the world. |
| World:setAllowSleeping | Sets the sleep behaviour of the world. |
| World:setCallbacks | Sets functions for the collision callbacks during the world update. |
| World:setContactFilter | Sets a function for collision filtering. |
| World:setGravity | Set the gravity of the world. |
| World:setMeter | Set the scale of the world. |
| World:setSleepingAllowed | Sets the sleep behaviour of the world. |
| World:translateOrigin | Translates the World's origin. |
| World:update | Update the state of the world. |
Category: