visible indicator for hero. Using images in order to fix graphic circles glitching out during movement

This commit is contained in:
Piotr 'pwh' Hanusiak
2022-04-13 14:31:18 +02:00
parent d1e8243c47
commit 45e254b931
10 changed files with 389 additions and 23 deletions
-1
View File
@@ -28,7 +28,6 @@ export class Player extends Character {
companionTexturePromise?: CancelablePromise<string>
) {
super(Scene, x, y, texturesPromise, name, direction, moving, 1, true, companion, companionTexturePromise);
this.statusDot.setVisible(false);
//the current player model should be push away by other players to prevent conflict
this.getBody().setImmovable(false);
}