fixed the player animations
This commit is contained in:
parent
d1106d757d
commit
97a55ab66c
3 changed files with 21 additions and 18 deletions
|
@ -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
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue