v0.5.0b: fixed status text overlapping above characters
This commit is contained in:
@@ -150,9 +150,13 @@ public class CharSprite extends MovieClip implements Tweener.Listener, MovieClip
|
|||||||
if (args.length > 0) {
|
if (args.length > 0) {
|
||||||
text = Messages.format( text, args );
|
text = Messages.format( text, args );
|
||||||
}
|
}
|
||||||
|
if (ch != null) {
|
||||||
|
FloatingText.show( x + width * 0.5f, y, ch.pos, text, color );
|
||||||
|
} else {
|
||||||
FloatingText.show( x + width * 0.5f, y, text, color );
|
FloatingText.show( x + width * 0.5f, y, text, color );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public void idle() {
|
public void idle() {
|
||||||
play( idle );
|
play( idle );
|
||||||
|
|||||||
Reference in New Issue
Block a user