Change character depth to 0

This commit is contained in:
Alexis Faizeau 2021-10-14 17:32:27 +02:00
parent 524a6c2c4d
commit cdf4023928

View file

@ -107,7 +107,7 @@ export abstract class Character extends Container {
this.setSize(16, 16);
this.getBody().setSize(16, 16); //edit the hitbox to better match the character model
this.getBody().setOffset(0, 8);
this.setDepth(-1);
this.setDepth(0);
this.playAnimation(direction, moving);