Skip to content

v0.5.2

Latest
Compare
Choose a tag to compare
@Ayfri Ayfri released this 30 Oct 15:06

Latest release for PIXI v6!

Hey the latest release for v6 is out, as v7.0.0 is out since a few days, we shouldn't get any new v6 release, I'll start working toward supporting v7 as soon as I can !

Breaking changes

Points are now immutable to better follow the Kotlin guidelines and use Points in a more logical way.

// before
val point = Point(4, 7)
point / 2 // looks weird but is the way to use them in prior releases
point.round()
println(point.y) // 4

// now
val point = Point(4, 7).div(2).rounded()
println(point.y) // 4

This release also adds support for the new optional @pixi/assets package.

Changelog

  • !refactor: Points are now immutable with operator functions, add a lot of useful functions on Point & ObservablePoint. (b19b0b1)
  • chore: Update To Kotlin 1.7.20. (acd2170)
  • chore: Update dependencies. (692a3f8) (6be8873)
  • chore: Update yarn to 1.22.19. (9a51cc4)
  • feat: Add assets package. (2b905c2) (faf59ce)
  • feat: Add rectangle builder. (639a370)
  • feat: Update README. (c74f7fc)
  • feat: Update other packages to pixi 6.5.0. (82c8927)
  • feat: Update to PIXI 6.5.8. (82c8927) (1e24018) (7c946f8) (05ae348)
  • fix: Fix and simplify events for Container. (f44c7b7)
  • fix: Fix typing of ObservablePoint<T>.clone() to return ObservablePoint<T>. (d43f1b6)
  • test: Add test on immutable points. (02833f7)