Skip to content

v1.1.2

Latest
Compare
Choose a tag to compare
@setanarut setanarut released this 21 Jan 22:16

Change Log

Added:

  • Atlas states feature for handling multiple sprite sheet variations sharing the same coordinates.

Modified:

  • README.md:
    • Updated examples and documentation to reflect the new Atlas feature and method changes.
  • anim.go:
    • Introduced Atlas struct and updated AnimationPlayer to support multiple atlases.
    • Replaced NewAnimationState with NewState which includes FPS as a parameter.
  • examples/demo/main.go:
    • Updated to use new Atlas feature.
    • Adjusted methods to reflect changes in state handling.

Removed:

  • SetStateAndReset() has been replaced with SetState().

Added Examples:

  • examples/atlases/main.go: A new example demonstrating the use of alternative sprite sheets with the same coordinates.