3.0.0
In this release
Updated documentation site: https://jeremyckahn.github.io/shifty/doc/
- Convert Shifty to be authored in TypeScript
- Publish ES6 artifacts
- Improve runtime performance
- Remove Core build
- Switch from JSDoc to TypeDoc
- Fix various minor bugs
Breaking changes
Tweenable.formulas
has been renamed toTweenable.easing
tweenConfig.step
has been removed in favor oftweenConfig.render
(behavior and API is unchanged).tweenConfig.attachment
has been removed in favor oftweenConfig.data
(behavior and API is unchanged).Tweenable#tweenable
has been removed.Tweenable#set()
is nowTweenable#setState
.Tweenable#get()
is nowTweenable#state
(a getter, not a method).Tweenable#hasEnded()
is nowTweenable#hasEnded
(a getter, not a method).Tweenable#isPlaying()
is nowTweenable#isPlaying
(a getter, not a method).Tweenable#setScheduleFunction
has been removed. The static methodTweenable.setScheduleFunction
method should be used instead.- Render handler parameters have been reordered:
- In v2, the function signature was
(state: TweenState, data: Data, timeElapsed: number) => void
- In v3, the function signature is
(state: TweenState, timeElapsed: number, data: Data) => void
- In v2, the function signature was
Scene#play()
has been renamed toScene#tween
.Scene#isPlaying()
is nowScene#isPlaying
(a getter, not a method).Scene#playingTweenables()
has been removed.unsetBezierFunction
has been removed.- Shifty "Core" build has been removed.