Closed mathieuanthoine closed 9 years ago
Plugin is fine. I don't really see the Easing changes as necessary though. I want to match as closely to the Phaser source as possible, so I'd rather keep those all in one file and use import phaser.tween.Easing
to use them.
Could you remove the Easing changes? I'll accept this PR once that is done. Thanks.
How do you use a specific easing inside your Easing.hx file without having a class for each type of Easing ?
You can for example use Quadratic easing as follows:
import phaser.tween.Easing;
// ...
var someTween = game.add.tween(...);
someTween.to( { ... }, 1000, Quadratic.Out);
// ...
plugins property missing in Game class