Renamed the fullscreen type "normal" to "exclusive".ImageData:encode's first parameter is now the format to encode to, and the second parameter is an optional filename to write to. Changed ImageData:encode to return a FileData object. ![]() They're now (vertices ) and (vertexcount ). Changed the arguments for the standard variants of.Changed 's optional second argument to be a table of flags (flags are "mipmaps" and "linear".).Changed Font:getWrap's second return value to be a table containing the text split into lines.Changed love.keyreleased to be love.keyreleased(key, scancode).Changed love.keypressed to be love.keypressed(key, scancode, isrepeat).Changed love.mousepressed, love.mousereleased, and to use button numbers instead of named button constants.Added BezierCurve:renderSegment and BezierCurve:removeControlPoint.Added an optional spacing argument to, which applies additional spacing to all rendered glyphs.Added an optional font hinting argument to when loading TrueType fonts.Added kerning support for TrueType/OpenType and BMFont Fonts.Added BMFont bitmap font file support to and love.font.Added per-character color support to, , and Text objects.The functions also have 'precise' and 'fast' variants. Added new shader functions: gammaCorrectColor, gammaToLinear, and linearToGamma.Added Mesh:setAttributeEnabled and Mesh:isAttributeEnabled.Added the ability for and Mesh:setVertices to accept a Data object.Added an optional 'startvertex' argument to Mesh:setVertices.Added Mesh:setVertexAttribute and Mesh:getVertexAttribute.Added custom vertex attribute support for Meshes via new variants of.Added support for loading ETC, EAC, PVRTC, and ASTC compressed textures on systems that support them.Added the "multicanvasformats" GraphicsFeature constant. Added support for different formats in each Canvas when using multi-canvas rendering.Added one- and two-channel Canvas formats: r8, rg8, r16f, rg16f, r32f, and rg32f.Added optional x/y/width/height arguments to Image:refresh and Canvas:newImageData.Added the ability to specify custom mipmaps when creating an image, via (filename, ).It no longer always uses the background color value. Added a new built-in shader variable: "mat3 NormalMatrix".Added an optional argument to which indicates whether to treat the colors of drawn objects as having pre-multiplied alpha.Added an optional string argument containing raw pixel data to the width/height variant of.Added Source:getDuration and Decoder:getDuration.Added Source:getType (replaces Source:isStatic.).They tell the system where text will show up so on-screen keyboards can avoid that area. Added optional x/y/width/height arguments to.Added a boolean argument to love.mousepressed and love.mousereleased indicating whether the button event originated from a touch press.Added love.wheelmoved event callback function (replaces "wu" and "wd" constants for love.mousepressed.).Added love.textedited event callback function, called when the user is compositing text (e.g.Added love.lowmemory event callback function, called when the app is running out of memory on mobile operating systems. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |