mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 20:53:39 +00:00
Fixed some eases.
This commit is contained in:
parent
3a369d5485
commit
6353d8c7ab
2 changed files with 5 additions and 3 deletions
|
@ -41,6 +41,8 @@ Version 1.0.7 (in progress in the dev branch)
|
|||
* Complete overhaul of Physics.Arcade.Body - now significantly more stable and faster too.
|
||||
* Updated ArcadePhysics.separateX/Y to use new body system - much better results now.
|
||||
* QuadTree bug found in 1.0.5 now fixed. The QuadTree is updated properly now using worldTransform values.
|
||||
* Fixed the Bounce.In and Bounce.InOut tweens (thanks XekeDeath)
|
||||
|
||||
* TODO: addMarker hh:mm:ss:ms
|
||||
* TODO: Direction constants
|
||||
|
||||
|
|
|
@ -240,7 +240,7 @@ Phaser.Easing = {
|
|||
|
||||
In: function ( k ) {
|
||||
|
||||
return 1 - TWEEN.Easing.Bounce.Out( 1 - k );
|
||||
return 1 - Phaser.Easing.Bounce.Out( 1 - k );
|
||||
|
||||
},
|
||||
|
||||
|
@ -268,8 +268,8 @@ Phaser.Easing = {
|
|||
|
||||
InOut: function ( k ) {
|
||||
|
||||
if ( k < 0.5 ) return TWEEN.Easing.Bounce.In( k * 2 ) * 0.5;
|
||||
return TWEEN.Easing.Bounce.Out( k * 2 - 1 ) * 0.5 + 0.5;
|
||||
if ( k < 0.5 ) return Phaser.Easing.Bounce.In( k * 2 ) * 0.5;
|
||||
return Phaser.Easing.Bounce.Out( k * 2 - 1 ) * 0.5 + 0.5;
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue