Repository navigation
v1.0.0
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
customOverridesDefaultssetting can be set totrueto prevent built-in debug drawing from being performed for any sprites which implement customdebugDraw()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, passingtrueas a second return argument to indicate that substitutions are needed. This approach supersedes the use ofdebugStringanddebugStringFormatmembers, 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.initializedto 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