v0.3.1: char sprites now turn before moving.
This commit is contained in:
parent
063d488dce
commit
90df58c5cc
|
@ -143,6 +143,8 @@ public class CharSprite extends MovieClip implements Tweener.Listener, MovieClip
|
|||
}
|
||||
|
||||
public void move( int from, int to ) {
|
||||
turnTo( from , to );
|
||||
|
||||
play( run );
|
||||
|
||||
motion = new PosTweener( this, worldToCamera( to ), MOVE_INTERVAL );
|
||||
|
@ -151,8 +153,6 @@ public class CharSprite extends MovieClip implements Tweener.Listener, MovieClip
|
|||
|
||||
isMoving = true;
|
||||
|
||||
turnTo( from , to );
|
||||
|
||||
if (visible && Level.water[from] && !ch.flying) {
|
||||
GameScene.ripple( from );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user