fixed the player animations

This commit is contained in:
kharhamel 2020-04-12 18:28:05 +02:00
parent d1106d757d
commit 97a55ab66c
3 changed files with 21 additions and 18 deletions

View file

@ -4,7 +4,7 @@ import {Textures} from "../Game/GameScene";
export class NonPlayer extends PlayableCaracter {
constructor(scene: Phaser.Scene, x: number, y: number) {
super(scene, x, y, Textures.Player, 26);
super(scene, x, y, Textures.Player, 1);
this.setSize(32, 32); //edit the hitbox to better match the caracter model
}
}