Difference between revisions of "NewPages"
(Create page) |
m (Added notes how to fix some common issues) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
This is a list of new pages that aren't in the docs themselves yet (because they belong to an unreleased version). This page is here to help people who want to document for the next version. | This is a list of new pages that aren't in the docs themselves yet (because they belong to an unreleased version). This page is here to help people who want to document for the next version. | ||
− | {{#ask: [[Since::>{{CURRENTLOVE}}]] | + | '''Note''': if function from unreleased version appear in "Functions" list (same for enums, ...), add <code><nowiki>[[Concept:Current]]</nowiki></code> to <code><nowiki>{{#ask: ... }}</nowiki></code> in listing (as done [https://love2d.org/w/index.php?title=love.system&type=revision&diff=27816&oldid=22358 here]) |
+ | |||
+ | '''Another note''': if some function became deprecated (same for enums, ...) and list ("Functions", ...) does not show that it is deprecated, add <code><nowiki>| ?PrettyDeprecated</nowiki></code> to end of <code><nowiki>{{#ask: ... }}</nowiki></code> in listing | ||
+ | |||
+ | {{#ask: [[Since::>>{{CURRENTLOVE}}]] | ||
| headers=hide | | headers=hide | ||
| ?Description | | ?Description | ||
}} | }} |
Latest revision as of 14:18, 26 May 2022
This is a list of new pages that aren't in the docs themselves yet (because they belong to an unreleased version). This page is here to help people who want to document for the next version.
Note: if function from unreleased version appear in "Functions" list (same for enums, ...), add [[Concept:Current]]
to {{#ask: ... }}
in listing (as done here)
Another note: if some function became deprecated (same for enums, ...) and list ("Functions", ...) does not show that it is deprecated, add | ?PrettyDeprecated
to end of {{#ask: ... }}
in listing
Body:getShape | Gets the first Shape attached to the Body. |
Body:getShapes | Returns a table with all Shapes attached to the Body. |
Body:hasCustomMassData | Gets whether the Body's mass data has been set to custom values. |
BufferDataFormat | Data formats of individual array elements GraphicsBuffers and Meshes. |
ByteData:setString | Replaces all or part of the ByteData's memory with the contents of a string. |
Contact:getShapes | Gets the two Shapess that are in contact. |
Data:getString | Gets the full Data as a string. |
GamepadType | Types of gamepad controllers. |
GamepadType (日本語) | ゲームパッドコントローラーの機種。 |
GraphicsBuffer | Low-level data stored in graphics memory, including arrays of vertices, vertex indices, and custom collections of data accessible in Shaders. |
GraphicsBuffer:clear | Clears the entire GraphicsBuffer or a specified byte range within it to zero. |
GraphicsBuffer:getElementCount | Gets the total number of array elements in this GraphicsBuffer. |
GraphicsBuffer:getElementStride | Gets the size in bytes used by one array element of this GraphicsBuffer. |
GraphicsBuffer:getSize | Gets the total size in bytes of the GraphicsBuffer's contents. |
Joystick:getGamepadType | Gets the GamepadType of the Joystick, if it's recognized as a gamepad. |
Joystick:getGamepadType (日本語) | ゲームパッドとして認識されている場合に、ジョイスティックの GamepadType を取得します。 |
Joystick:getJoystickType | Gets the JoystickType of the Joystick. |
Joystick:getJoystickType (日本語) | ジョイスティックの JoystickType を取得します。 |
Joystick:getPlayerIndex | Gets the player index of this Joystick. This corresponds to an indicator light on many common gamepads. |
Joystick:getPlayerIndex (日本語) | この Joystick のプレイヤーインデックスを取得します。これは一般的なゲームパッドに搭載されているインジケータライトと対応関係にあります。 |
Joystick:getSensorData | Gets the latest data for the given sensor type for this Joystick |
Joystick:hasSensor | Gets whether the specified sensor exists in the Joystick. |
Joystick:isSensorEnabled | Gets whether the specified sensor is currently enabled on this Joystick. |
Joystick:setPlayerIndex | Sets the player index of this Joystick. This corresponds to an indicator light on many common gamepads. |
Joystick:setPlayerIndex (日本語) | この Joystick のプレイヤーインデックスを設定します。これは一般的なゲームパッドに搭載されているインジケータライトと対応関係にあります。 |
Joystick:setSensorEnabled | Enables or disables the specified sensor on this Joystick. |
JoystickType | Types of Joysticks. |
JoystickType (日本語) | ジョイスティックの種類。 |
LoadMode | Possible load modes for love.filesystem.load. |
ModifierKey | Modifier keys. |
SensorType | Kinds of sensors. |
SoundData:copyFrom | Copies the specified section of the given SoundData into this one. |
SoundData:slice | Creates a new copy of a section of this SoundData. |
StreamType | Types of audio sources. |
TextBatch | One or more precalculated strings of text stored in a Drawable object. |
Texture:generateMipmaps | Generates mipmaps for the Texture, based on the contents of the highest-resolution mipmap level. |
Texture:getMSAA | Gets the number of MSAA samples used for this Texture. |
Texture:isCanvas | Gets whether the Texture has been created with canvas capabilities. |
Texture:isFormatLinear | Gets whether the Texture was created with the linear (non-gamma corrected) flag set to true or with a non-sRGB PixelFormat. |
Texture:renderTo | Render to the Texture using a function. |
Texture:replacePixels | Replace the contents of a Texture with the contents of the given ImageData. |
World:getShapesInArea | Gets a list of Shapes inside the specified area |
World:queryShapesInArea | Calls a function for each Shape inside the specified area. |
World:rayCastAny | Casts a ray and returns an intersection point if the ray touched any Shape in the world. |
World:rayCastClosest | Casts a ray and returns the intersection point of the closest Shape touched by the ray, if any. |
love.audio.getPlaybackDevice | Gets the currently active playback device. |
love.audio.getPlaybackDevices | Gets a list of playback devices on the system. |
love.audio.setPlaybackDevice | Change or reconnect the audio device. |
love.audiodisconnected | Called when the active audio device is disconnected. |
love.event.restart | Restarts the game without relaunching the executable. |
... further results |