Another small release! A few bug fixes and some small features. Thanks @mattjennings for being MVP and testing all these bugs!
- Added arbitrary data storage in isometric tiles,
ex.IsometricTile.data
this brings it into feature parity with normalex.Tile.data
- New graphics events and hooks that allow you to hook into graphics drawing before or after any drawing transformations have been applied
Actor.graphics.onPreTransformDraw
with the corresponding event.on('pretransformdraw')
Actor.graphics.onPostTransformDraw
with the corresponding event.on('posttransformdraw')
- New property and methods overloads to
ex.Animation
ex.Animation.currentFrameTimeLeft
will return the current time in milliseconds left in the currentex.Animation.goToFrame(frameNumber: number, duration?: number)
now accepts an optional duration for the target frameex.Animation.speed
can set the speed multiplier on an animation 1 = 1x speed, 2 = 2x speed.
What's Changed
- feat: Animation current time methods by @eonarheim in #2874
- fix: Fixed update interpolation on child entities by @eonarheim in #2876
- feat: New graphics events by @eonarheim in #2877
- fix: Flatten composite colliders by @eonarheim in #2878
- feat: Add IsometricTile.data storage by @eonarheim in #2879
Full Changelog: v0.28.5...v0.28.6