💾 Download

Development Build:

Production Build:

Documentation:

Changed

v4.8.5...v4.8.6

🐛 Fixed

  • Fixes Rectangle fit bug (#5360)
  • Fixes CanvasExtract plugin canvas method without target (#5368)
  • Fixes cacheAsBitmap calculateBounds problem (#5423)
  • Fixes SpriteMaskFilter passing the clear param (#5436)
  • Fixes Graphics adaptive curves (#5443)
  • Fixes SpriteMask filterArea lagging by 1 frame (#5445)
  • Reset textures on Renderer's reset operation (#5430)

🎁 Added

  • Adds tinting for NineSlicePlane on canvas (#5393)
  • Adds option to update anchor with defaultAnchor when frame changes. (#5419)

👏 Collaborators: 3

Assets 6
Pre-release

@bigtimebuddy bigtimebuddy released this Feb 1, 2019 · 16 commits to dev since this release

💾 Download

Development Build:

Production Build:

Documentation:

Overview

This is the last major update for v5 which finally adds support for batching of Mesh, Graphics and Sprites. This will dramatically improve performance when using a scene that contains a large mix of these display objects. In addition, Geometry can now be shared between Graphics and Mesh's. This can be used to avoid redundant triangulation operations leading to further performance improvements.

Changed

v5.0.0-alpha.3...v5.0.0-rc

🐛 Fixed

  • Workaround for JSDoc events in v3.5.5 (#4994)
  • Fixes FilterSystem padding every frame (#5017)
  • Fixes missing GraphicsData default param. (#5076)
  • Setting text to be "" means it is actually "", and not transformed to " " (#5059)
  • Allows more texture units to be used by modern Android and Apple devices. (#5156)
  • Fixes with Graphics tinting and premultiply (#5182)
  • Tweaked graphics to share one default shader (#5205)
  • Graphics memory leak (#5203)
  • Fix cubemap resource (#5144)
  • Replaces toJSON with clone in Graphics LineStyle (#5207)
  • Fixes wrapMode using WebGL v1 (#5209)
  • Graphics does not depend on Mesh (#5206)
  • Updating jsdocs for settings (#5214)
  • Fixes tint / alpha for non-batched Graphics objects (#5217)
  • Fixes Graphics moveTo and lineStyle (#5221)
  • Fix for Geometry cache (#5220)
  • Fix mesh TextureMatrix and CanvasMeshRenderer (#5278)
  • Batch renderer fix O(N^2) memory problem (#5280)
  • Fixes native lines in lineStyle (#5293, #5294)
  • Fixes beginTextureFill and lineTextureStyle usage of Matrix (#5295)
  • BlurFilter does not clear the result in case of several filters (#5309)
  • Make default filter work like in v4 (#5310)
  • Fix TextureMatrix and SimplePlane texture change (#5316)
  • Fixes issue where antialiasing setting is always true regardless of options passed in (#5320)
  • Fixes documentation (#5324, #5345, #5358, #5366, #5370)
  • Small fixes and tweaks for v5 (#5329, #5343)
  • Fixes text displaying bug for browsers that block canvas data extraction (#5342)
  • Fixes texture construction in Text (#5353)
  • Removes accessibility manager hook div from DOM on destruction (#5348)
  • AnimatedSprite does not full destroy properly (#5363)
  • Updating package.json descriptions (#5362)
  • Fixes Framebuffer resize not working with masks (#5359)
  • Fixes disposing framebuffers like in v4 (#5387)
  • Cleans up BasePrepare importing settings like other packages (#5364)
  • Fixes BLEND_MODES.NONE (#5377, #5392)
  • Proper disposal for Mesh and Graphics Geometry objects (#5349)

🎁 Added

  • Able to set resolution of Text separately to the Renderer (#5060)
  • Adds a couple of caching layers for binding textures and binding buffers (#5049)
  • Sprite, Mesh and Graphics refactor to including in batching (#5069, #5127, #5132)
    • Renames PIXI.mesh.Mesh to PIXI.SimpleMesh
    • Renames PIXI.mesh.Rope to PIXI.SimpleRope
    • Renames PIXI.mesh.Plane to PIXI.SimplePlane
    • Removes GraphicsRenderer and MeshRenderer
  • Deprecation util function (#5126)
  • Adds support for simple sorting Container children based on zIndex (#5204)
  • Ability to set individual display components to be drawn to rounded pixels (#5057, #5276)
    • 🔥 Breaking change: Removes roundPixels from Renderer options
  • Adds angle property for DisplayObject (#5129)
  • Adds BatchDrawCall class (#5293)
  • BlurFilter cleanup (#5296)
  • Updates build tool dependencies, Lerna v3, Rollup v1, etc (#5327)
  • Normalizes drawBuffers for WebGL 1 & 2 (#5339)
  • Enables WebGL test on Travis (#5344)
  • Adds a warning for auto detection of stride (#5340)
  • Auto-generation for typescript definitions (#5317)
  • Update Program with shader language version (#5331)
  • Auto-detect Webgl2 RGBA32F format (#5341)
  • Ticker enhancements deltaMS and maxFPS (#5357)
  • Adds optional FPS limit for updating videos (#5355)
  • Adds a system ticker to sit alongside the shared ticker (#5369)
  • Uses context2d to render Text drop shadows (#5375)
  • Adds more Blend Modes (#5391)

👏 Contributors: 10

Assets 10

@bigtimebuddy bigtimebuddy released this Jan 7, 2019 · 10 commits to v4.x since this release

💾 Download

Development Build:

Production Build:

Documentation:

Changed

v4.8.4...v4.8.5

🐛 Fixed

  • Fix cacheAsBitmap bounds calculation (#5298)
  • Adds missing to clone prop for alignment (#5305)
  • Guard against re-assigning read-only interaction event properties (#5315)
  • Fixes renderbuffer stencil leak (#5328, #5333)

👏Contributors: 4

Assets 6

@bigtimebuddy bigtimebuddy released this Dec 18, 2018 · 450 commits to master since this release

🔥Hotfix

Addresses to critical bugs (#5291 & #5290) which popped up in the last patch release which were changes that happened to resource-loader dependency.

💾 Download

Development Build:

Production Build:

Documentation:

Changed

🎁Added

  • Updates resource-loader to support cross-origin via iframe (#5268, #5288)
  • Bumps earcut to 2.1.4 (#5279)

🐛 Fixed

  • Rename parameters for user-friendly (#5274)
  • Fixes vulnerability in ismobilejs (#5285)

👏Contributors: 5

Assets 6

@bigtimebuddy bigtimebuddy released this Dec 5, 2018 · 450 commits to master since this release

💾 Download

Development Build:

Production Build:

Documentation:

Changed

🎁 Added

  • Extra constructor property to control video autoPlay (#5128)

🐛 Fixed

  • Fixes cache as bitmap filters check (#5122)
  • Fixes the exception if an unused uniform is defined. (#5108)
  • VideoBaseTexture createSource should not modify the url. (#5170)
  • Mask graphics holes in CanvasRenderer (#5202)
  • Uint16 UV attribute rounding error. Affects mobile devices! Use this update instead of setting HIGHP precision for fragment shader. (#5218)
  • UpdateTexture should not switch FrameBuffer (#5225, #5257)
  • Fixes lineAlignment default value in docs (#5224)
  • Rotation cache optimization (#5230)
  • Renames Filter constructor argument from uniform to uniformData (#5239)
  • Fixes TilingSprite for canvas to account rotated textures from texture atlas (#5243)
  • Fixes defaultAnchor to be included with Texture.clone (#5261)
  • Fixes line alignment orientation for RoundedRectangle (#5241)
  • Fixes Graphics _localBounds calculation with lineAlignment (#5245)
  • Updates old examples for BaseRenderTexture (#5262)

👏 Contributors: 8

Assets 6

@bigtimebuddy bigtimebuddy released this Sep 3, 2018 · 450 commits to master since this release

💾 Download

Development Build:

Production Build:

Documentation:

Changed

🐛 Fixed

  • Do not quote escape generic font families (#4969)
  • Added links to TextStyle Editor (#4979)
  • Coerce null to Texture.EMPTY in Sprite.texture (#4966)
  • BitmapFont loader fix (#5027)
  • Fixes documentation in Graphics.lineStyle (#5026)
  • Fixes tint of Graphics object not changing on CanvasRenderer (#5024) (#5028)
  • Fixes resolution bug with the extract plugin (#5016)
  • Fixes docs for Sprite.anchor (#5040)
  • Don't auto-close paths when using Graphics with CanvasRenderer (#4997)
  • Docs to show correct default settings on plane constructor (#5061)
  • Fixes arc method by not adding an additional point if it's too close to the last existing point. (#5010)
  • Add missing period to pivot docs (#5073)
  • Fix wordWrap override not working if style is true and override is false (#5082)
  • Update pointerup docs to suggest mouse events when appropriate (#5079)
  • Fixes video type wrongly incorrectly with query string (#5077) (#5083)
  • Fixes trimming a Text object with an empty string (#5045)
  • Updates dev dependency (#5089)
  • Fixes ObservablePoint compatibility with Point (#5093)
  • Fixes typos in documentation (#5095)
  • Remove accessibility event listeners with capture (#5085)
  • Fix gaps in circle borders during WebGL render (#5086)
  • Prevent gaps in duplicate Graphics lineTo calls (#5084)
  • Fixes generation of textures on the canvas renderer when it has no parent (#5030)

🎁 Added

  • Adds support for TexturePacker's anchor and animations (#5011)
    • Adds animations object to Spritesheet to auto-detect animation sequences
    • Adds defaultAnchor to Texture to set the anchor when constructing a Sprite
  • Optimization to Graphics fastRect to cache tint (#5033)

👏 Contributors: 19

Assets 6
Pre-release

@bigtimebuddy bigtimebuddy released this Jul 3, 2018

Overview

More fixes and cleanup from alpha.2. Whenever relevant, this release cherry-picks all changes from 4.8.0 and 4.8.1.

💾 Download

Development Build:

Production Build:

Documentation:

🐛 Fixed

  • Fixes publishing dist files (#4767)
  • Adds Number.isInteger polyfill for IE9-11 (#4779)
  • Pedantic spelling fixes (#4797)
  • Re-organize contributor documentation (#4778)
  • Fixes resolution default for Filter (#4743)
  • Fixes issue where we use the non celled with and height to create the frame buffer (#4839)
  • Set bound texture size on context change (#4838)
  • Update typings (#4853) (#4926)
  • Fixes memory leak with FilterState target (#4898)
  • Add a few code examples in the docs and fix grammatical mistakes (#4917)
  • Fixes Multi-Texture BitmapText Fonts (#4932)

🎁 Added

  • Allow any object to be a stencil mask. (#4776)
  • Adds resolution filename check in Texture.from (#4774)
  • Adds a caching layer to generateSyncUniforms (#4792)
  • Adds resizeTo option and property to the Application class, this is the Window or HTMLElement to resize the renderer to. (#4820)
  • Documentation and small code style changes (#4828)
  • Adds Patreon support link to npm install (#4875)
  • Add caching of geometry signature to limit VAOs (#4837)
  • Application plugin structure (#4933)
  • Reorganized Mesh classes, adds @pixi/mesh-extras (#4963)

🚽 Deprecated

  • Clean-up of Sprite and Texture from* functions (#4775) (#4832)
    • PIXI.Sprite.fromImage moves to PIXI.Sprite.from
    • PIXI.Sprite.fromSVG moves to PIXI.Sprite.from
    • PIXI.Sprite.fromCanvas moves to PIXI.Sprite.from
    • PIXI.Sprite.fromVideo moves to PIXI.Sprite.from
    • PIXI.Sprite.fromFrame moves to PIXI.Sprite.from
    • PIXI.Texture.fromImage moves to PIXI.Texture.from
    • PIXI.Texture.fromSVG moves to PIXI.Texture.from
    • PIXI.Texture.fromCanvas moves to PIXI.Texture.from
    • PIXI.Texture.fromVideo moves to PIXI.Texture.from
    • PIXI.Texture.fromFrame moves to PIXI.Texture.from
  • Renames autoResize option and property of PIXI.AbstractRenderer to autoDensity since it has more to do with resolution density of the canvas rather than the actual resizing action. The name autoResize is misleading because the user still has to manually trigger resize on the renderer. (#4820)
  • Removes @pixi/mixin-app-loader package
  • Renames PIXI.extras.Mesh to PIXI.Mesh2d
  • Renames PIXI.RawMesh to PIXI.Mesh

👏 Contributors: 6

Assets 2

@bigtimebuddy bigtimebuddy released this Jun 6, 2018 · 450 commits to master since this release

💾 Download

Development Build:

Production Build:

Documentation:

Changed

🐛 Fixed

  • Fixes Multi-Texture BitmapText Fonts (#4932)
  • Upgrade to Node 8 on Travis (#4945)
  • Fixes Sprite's texture listener not getting removed (#4934)
  • Creates unit-test and improves single and multiple image font loading (#4951)
  • TextMetrics.wordWrap - Don't add a newline if it's the last token/word (#4956)

👏 Contributors: 2

Assets 2

@bigtimebuddy bigtimebuddy released this May 25, 2018 · 450 commits to master since this release

💾 Download

Development Build:

Production Build:

Documentation:

Changed

🎁 Added

  • Allow passing DisplayObject destroy options to PIXI.Application destroy (#4922)
  • Adds autoUpdate (default to true) to Mesh to support manually updating vertices (#4879) (#4901)
  • Adds whiteSpace option to TextStyle (#4794)
  • Adds ability to customize strings in TextMetrics.measureFont() (#4550)
  • Support for multiple textures for single bitmap font. (#4641)
  • Add tests for TilingSprite.getLocalBounds (#4752)
  • Add tests for AnimatedSprite (#4744)
  • Add tests for WebGLRenderer (#4748)
  • Adds letterSpacing property to BitmapText (#4642)
  • Adds stroke alignment property to lineStyle (#4886)
const graphics = new PIXI.Graphics();
graphics.lineStyle(4, 0xffffff, 1, 0.5); // (width, color, alpha, alignment)

screen shot 2018-05-04 at 9 43 16 am

  • Adds Graphics adaptive calculation of quadratic curve and arc subdivision (#4658)
PIXI.Graphics.CURVES.adaptive = true;

adaptive

🐛 Fixed

  • Fixes for TextMetrics word-wrap newline issues (#4794)
  • ParticleContainer wrong buffer index (#4864)
  • Backport filterPoolKey property from v5 (#4858)
  • Fixes pointertap event when doing release only (#4872) (#4909)
  • Fixes DATA_URI regex to allow charset=utf8;base64 for the encoding part (#4880)
  • Fixes VAO memory leak in Mesh and Graphics (#4893)
  • Documentation updates (#4896)
  • Fixes memory leak in FilterState target (#4897)
  • Fixes NineSlicePlane resize problem (#4916)
  • Accessibility Updates: Shift-Tab, div order, and button names (#4435)
  • Bump jsdoc-template (#4929)
  • Fix animations lag on destroying (#4234)

👏 Contributors: 16

Assets 6