v2.3.2: fixed jump vfx not causing the camera to follow the hero
This commit is contained in:
@@ -122,6 +122,7 @@ public class HeroSprite extends CharSprite {
|
|||||||
public void jump( int from, int to, float height, float duration, Callback callback ) {
|
public void jump( int from, int to, float height, float duration, Callback callback ) {
|
||||||
super.jump( from, to, height, duration, callback );
|
super.jump( from, to, height, duration, callback );
|
||||||
play( fly );
|
play( fly );
|
||||||
|
Camera.main.panFollow(this, 20f);
|
||||||
}
|
}
|
||||||
|
|
||||||
public synchronized void read() {
|
public synchronized void read() {
|
||||||
|
|||||||
Reference in New Issue
Block a user