Skip to content

v8.0.0-beta.7

Pre-release
Pre-release
Compare
Choose a tag to compare
@Zyie Zyie released this 30 Oct 16:18
· 1175 commits to dev since this release

ℹ️ INFO

See here for list of changes for PixiJS v8
https://github.com/pixijs/pixijs/releases/tag/v8.0.0-beta.6
https://github.com/pixijs/pixijs/releases/tag/v8.0.0-beta.4
https://github.com/pixijs/pixijs/releases/tag/v8.0.0-beta.2
https://github.com/pixijs/pixijs/releases/tag/v8.0.0-beta.0

💾 Download

Development Build:

Production Build:

Changed

v8.0.0-beta.6...v8.0.0-beta.7

🔥 Breaking

  • Breaking: remove the texture listener on sprite view by @GoodBoyDigital in #9803
    This PR removes the dynamic addition and removal of update events for textures for performance optimization. When swapping textures on a sprite, it was observed that about 70% of the rendering time was spent on managing these listeners.

    With this change any modifications to a texture (e.g., changing the frame) will not be immediately reflected in sprites using that texture. To see the changes, developers will need to either:

    • Reassign the texture to the sprite, or
    • Call onUpdate() manually.

    This trade-off is justified as developers are more likely to swap textures on sprites every frame than to modify existing textures—modifying textures frequently is a discouraged practice.

🎁 Added

🐛 Fixed

🧹 Chores

Full Changelog: v8.0.0-beta.6...v8.0.0-beta.7