Skip to content

v1.0.0

Compare
Choose a tag to compare
@ebeneliason ebeneliason released this 29 Mar 23:07
· 3 commits to main since this release

1.0 Release

Acetate is now 1.0! This is symbolic only. This repository will adhere to semantic versioning going forward, but the 1.0 release is not actually a breaking change.

Features

  • A new customOverridesDefaults setting can be set to true to prevent built-in debug drawing from being performed for any sprites which implement custom debugDraw() functions.
  • Sprite debug strings are now provided via the debugString() function. This will be called on your sprite each frame, allowing you to provide an updated string containing any properties of your sprite. You can include substitution patterns, passing true as a second return argument to indicate that substitutions are needed. This approach supersedes the use of debugString and debugStringFormat members, although they are still supported as before.
  • Debug string substitutions are now included for independent relative horizontal ($rx) and vertical ($ry) center values.
  • It's now possible to check for acetate.initialized to confirm proper initialization before accessing its members. This can be helpful to avoid crashes on device when calling acetate functions outside of specific contexts.

Fixes

  • Several erroneous debug string substitutions have been corrected
  • Improved troubleshooting
  • More comprehensive unit tests
  • Remove extraneous print statement

Full Changelog: v0.2.0...v1.0