Skip to content

v1.2.0

Compare
Choose a tag to compare
@ebeneliason ebeneliason released this 14 Apr 02:05
· 9 commits to main since this release

Features

  • Specify a color and/or background color for dither patterns
  • Performance enhancements:
    • Phase offsets are now cached and computed only as needed, which means you can apply a pattern multiple times in your draw method, or reuse the same pattern for multiple sprites without penalty.
    • The new isDirty method makes it possible to mark sprites dirty only when patterns need to be redrawn.
  • Added a new "marching ants" example

Fixes

  • Fix an off-by-one error in reversed phase offset calculations

Full Changelog: v1.1.1...v1.2.0