Fatina v2.0.1
Description
New Feature / Improvements:
- Added an option to smooth high deltatime: #21
- Reduce even more the lib size (~16.5KB)
- Update dev-dependencies
- Update linting rules (use eslint rules)
- Refactor a bit the repo to make the code looks a bit cleaner
API change (breaking change):
- After few complains, decided to change the API from
pascalCase
tocamelcase
.
Make the switch with tween.js or tina.js easier and the code shouldn't be complicated to update.
Fatina.tween({x:0}, ['x']).to({x:100}, 10).start();
TWEEN.Tween({x:0}, ['x']).to({x:100}, 10).start();
- Decided to replaced few method by getter (example:
.IsRunning()
=>.isRunning
)
Bug Fixes:
- Fix an issue with UMD module and Webpack 4, the minified build was not working in node
- Fix an issue with cascaded tweens
Where is 2.0.0 ?
It was close to be publish (was published on npm@beta) but a small issue with the declaration file pushed me to bump ^^