Releases: pixijs/pixijs
Releases · pixijs/pixijs
v1.6.1
Changelog:
New features
- Sprite rendering now _400%_ faster when dealing with separate textures in webGL
Bug Fixes
- Text width and height now returns the correct values
- Fixed issue where
PIXI.Graphics.drawRoundedRect
was not rendering in webGL - Tweaked
PIXI.Graphics.arcTo
function so it draws correctly - Fixed
PIXI.CanvasRenderer
render texture resize issue - Fixed IE9 issue when declaring Float32Array
- Fixed typo in URL
- Added 0 width check to
PIXI.DisplayObjectContainer
Misc
- cleaned up some trailing commas on objects declarations
- redundant variables removed
v1.6.0
Changelog:
New features
- Big graphics update!
- Complex polys now supported in Pixi in webGL.
- Nested masking and complex poly masking supported in webGL.
quadraticCurveTo
added toPIXI.Graphics
.bezierCurveTo
added toPIXI.Graphics
.arcTo
added toPIXI.Graphics
.arc
added toPIXI.Graphics
.drawPath
added toPIXI.Graphics
.roundedRectangle
added toPIXI.Graphics
.PIXI.Strip
andPIXI.Rope
added to library along with a new example.addChild
/addChildAt
functions now return the child.- Add scaleMode params to
PIXI.FilterTexture
andPIXI.RenderTexture
. fromFrames
andfromImages
static helper methods added toPIXI.MovieClip
.updateSourceImage
added toPIXI.BaseTexture
.- Added multitouch support.
- new valid property added to
PIXI.Texture
. - Option to control premultiplied alpha on textures.
- Pixi logs current version in the console.
- webp image support.
clear
function added toPIXI.RenderTexture
Bug Fixes
- Fix to
roundPixels
property inPIXI.CanvasRenderer
. - Fixed interactive bug when
mousemove
being called on removed objects. - Fix bug touch move event handling.
- Various CocoonJS Fixs.
- Masks now work when used in
PIXI.RenderTextures
/cacheAsBitmap
andPIXI.Filters
. - Fixed bug where stroked
PIXI.Text
sometimes got clipped. - Removed the trailing whitespace when wordwrapping a
PIXI.Text
. - Fixed texture loading on IE11.
- Fixed Data URI loading.
- Fixed issue so now loader only uses XDomainRequest in IE, if a crossorigin request is needed.
- Fixed issue where
alpha
not being respected ifcacheAsBitmap
is true - Fixed
PIXI.RendeTexture
resize bug. - Fixed
PIXI.TilingSprite
not render children on canvas. - Fixes issue where if both mask and filter are applied to one object the object did not render.
- If the texture is destroyed, it should be removed from
PIXI.TextureCache
too. PIXI.Graphics
blendMode property now works in webGL.- Trimmed sprites now behave the same as non trimmed sprites.
Misc
- Doc tweaks / typo corrections.
- Added Spine license to src.
- Removed this.local in InteractionData.
- Shader manager Simplified.
- Sprite._renderCanvas streamlined and optimized.
- WebGL drawCalls optimized.
v1.5.2
Changelog:
New features
- CacheAsBitmap added to displayObjects
- CacheAsBitmap added to Graphics Object
- Added generateTexture function to DispalyObjects
- Added optional FilterArea to displayObject (for optimisation)
- removeChildAt function added to DisplayObject (@andrevenancio)
- removeChildren function added to DisplayObject (@andrevenancio)
- dropShadow properties added to Text.
- Graphics chaining functions
Bug Fixes
- Fixed setTexture bug with TilingSprite
- Fixed anchor point bug in canvas with TilingSprite
- Fixed positionOffset not begin correct in TilingSprite
- Fixed issue where filters were not being applied to TilingSprite
- Fixed SpriteBatch canvas transform bug
- Fixed issue with mouseupoutside not firing, when mouse is out of document body (@ekelokorpi)
- Fixed Cached textures issue when using base64 encoded images (@cacheflowe)
- Fixed issue where visibility was not being respected in sprite batch
- Fixed bug in gl.bindTexture which tried to use an undefined private var. (@photonstorm)
- Fixed the 'short cut' version of Math.floor in setTransform if roundPixels is true. (@photonstorm)
- Fixed cross domain so it is now true by default
- Loader now uses ie9s XDomainRequest object when loading sprite sheet data so loadin crossdomain sprite sheets in ie9 now works like a champ
- Fixed AssetLoader undefined evt.loader (@ekelokorpi)
Misc
- Added cacheAsBitmapExample
- Documentation tweaks
- Lowered the default size of SpriteBatch from 10000 to 2000 as this yields faster results on mobile
- Grunt watch task added to grunt file (@mattdesl)
- Karma verison updated
v1.5.1
v1.5.0
Changelog:
New features
- Added
PIXI.SpriteBatch
Container to bring crazy speed boosts to the renderer - Added set function to PIXI.Point
- Pass loader that completed in loader progress event
- Make clear/fill rect and point rounding configurable (thanks @photonstorm)
- Add tinting for BitmapText glyphs (thanks @weepy)
- Add ability to not Y flip a WebGL texture
- Add autoPreventDefault to InteractionManager
- Add WebGL destroy functions
- Add canvas cache for Texture.fromCanvas
- Add all supported blend modes to the Canvas Renderer
Bug Fixes
- Fixed bug with masking a tiling sprite
- Fix rouge newline characters in Text (thanks @photonstorm)
- Fix ellipse contains function
- Make trim be a rectangle instead of a point
- Fix some SpriteBatch issues
- Fix gl variable in RenderTexture.resize (thanks @tleunen)
- Fix issues with
mouseleave
events in InteractionManager - Fix image type checking (thanks @drkibitz)
- Fix various issues with
.getBounds()
implementations - Fix some canvas rendering issues
- Fix problems with ie11 and cross origin
- Fix WebGL transparent canvas issues
- Fix texture scaling in canvas
- Fix issue with tinting in canvas
Misc
- Tons of documentation updates (thanks @alvinsight)
- Remove
mat3
andmat4
in favor of aMatrix
object - (giving pixi a nice speed boost) .addChild
now just uses.addChildAt
(thanks @qzix13)- Remove some globals and refactor constants
- Whitespace/grammar fixes (thanks @danzel)
v1.4.3
Fixed Bug Where PIXI.Graphics
children not rendering
Fixed Memory Leak in removeChild
Removed visibleCount
reference as its no longer used
v1.4.2
- webGL renderer is now fully compatible with IE11
- Fully compatible with Cocoon.js (@ekelokorpi)
- Fixed issue where
PIXI.TilingSprite
required a power of two texture. It now accepts any texture. - Added new tint example
- Added new blendMode example
- Added
cacheAsBitmap
toPIXI.Graphics object
. Useful for complex graphics objects. Also a great way to guarantee antialiasing on graphics objects in webGL as it renders using canvas - Added generateTexture to PIXI.Graphics object. This function returns a
PIXI.Texture
of the graphics object. Useful if the graphics objects as is used multiple times - Added AlphaMaskFilter
Bug Fixes
- Added
setStageRefferance
function added toDisplayObject
- Fixed
DestroyTexture
function inwebGLRenderer
- Redundant code removed from
SpineLoader
andSpriteSheetLoader
(@Nibbler999)
Misc
- Various Minor tweaks.
v1.4.1
v1.4.0
Changelog:
New features
- WebGL Filters
- Added Sprite Tinting (canvas and webGL)
- Added Sprite blend modes (canvas and webGL)
- Added webGL context loss handling
- New webGL renderer
- Restructured the canvas renderer
- Added ability to have multiple renderers on one web page
- Added support for trimmed sprite sheets
- Add a Contributing Guide
- Add an Atlas Spritesheet loader (#444, @MKelm)
- Implement swapChildren (#431, @namuol)
- Add base64 support to asset loader (#414, @mattdesl)
- Add
totalFrames
toPIXI.MovieClip
(#315, @mikkoh) - Add uniform sprite sheet loader (#311, @alaa-eddine)
- Make Interactive dom element configurable (#321, @mikkoh)
- Add AMD export (#267)
- Implement travis-ci and jshint integration (thanks @drkibitz)
Bug Fixes
- Fix issue where urls have
http
in the resource (#443, @sirflo) - Fix IE11 check (#442, @photonstorm)
- Fix issues where nested Masking was not working correctly in webGL
- Fix cursor style for interactive sprites (#347, @lain-dono)
- Fix issues with texture destroy (#415, @mattdesl)
- Fix incorrect BitmapText width (#425, @jcd-as)
- Fix issue with query params on asset loader (#400, @hugeen)
- Fix transparent background on objects (#286, @mdoch)
- Fix problems with event emitter (#187, @johnste)
- Fix handling of black colors (#288)
- Fix an issue with empty masks (#313)
- Fix detector code (#358, @mattdesl)
- Fix issues with IE ajax
- Fix misc bugs with
PIXI.Graphics
- Fix issue with removing children with filters
- Fix a bunch of documentation errors
- Fix
setText
to be on proper prototype (#330)
Misc
- Shader code cleanup
v1.3.0
v1.3.0 is here!
So whats new? Basically Its faster and does more stuff:
- Spine runtime is now much more robust with lots of little tweaks and bug fixes to make it more compatible.
- Spine runtime now supports skins.
- New Spine example (goblins) added to show how skins work.
- RequestAnimationFrame Polyfill updated.
- Custom object hitAreas can now be circles / rectangles / or polys.
- WebGL Shader optimised by removing projection matrix.
- Rendering now uses linked list to traverse objects increasing render speeds.
- Optimised addChild function. Its now way faster.
- Added new graphics object allowing for primitive drawing.
- New example added to showcase the graphics object.
- Added masks. A graphics object can now be used to mask another pixi object.
- New example added to showcase masking.
- Src code organised into nice new structure.
- Option to enable/disable antialiasing when creating a webGL renderer.
- Original mouse events now passed along to pixi interaction events.
- PreventDefault is now not called by the interaction manager on mouse down / touchStart.
- setInteractive replaced with the getter/setter interactive.
- Lots of other little bug fixes and tweaks that make pixi even better.
We hope you find this update useful, Enjoy!