Skip to content

v4.0.0

Compare
Choose a tag to compare
@bigtimebuddy bigtimebuddy released this 24 Aug 14:20

Overview

Added

  • Multi texture renderering
  • Introduces PIXI.TextStyle class to manage the styling of text fields
  • Texture GPU Garbage Collection
  • Optimise the WebGL renderer, especially for mobiles.
  • Added Nineslice Plane
  • Webgl now powered by pixi-gl-core
  • static transforms - objects only updated if changed
  • Fast masking uses stencil buffer if a mask is Graphics Rectangle AABB
  • Fast Graphics Rect. If graphics object is Rectangle its is rendered as a sprite
  • reset GL function to allow pixi to work in the SAME context as other renderers (such as three.js)
  • added some bounds unit tests
  • Many, many, many, many bug fixes

Changed

  • Big refactoring of WebGL renderer.
  • New streamlined build process that is NPM based
  • Filter manager - no runs off po2 textures so less big textures required
  • Shaders now compiled with glslify
  • FXAA Filter now actually looks right (although no longer automatic)
  • Introduced Bounds object for much more accurate bounds calculations
  • Adds a contributor code of conduct #2844
  • MultiSprite Batcher should now work with multiple renderers #2841
  • Default destroy options for text are now all true. #2847

Removed

  • Complex poly masking. This added lots of complexity but was never really used as the earcut algorithm is too good.
  • FXAA no moved to filters rather than used automatically as a replacement for default antialiasing
  • Non core filters moved to a new package - pixi-filters