Merge pull request #1521 from thecodingmachine/change-player-depth
Change character depth to 0
This commit is contained in:
commit
1efcbb4529
@ -109,7 +109,7 @@ export abstract class Character extends Container {
|
|||||||
this.setSize(16, 16);
|
this.setSize(16, 16);
|
||||||
this.getBody().setSize(16, 16); //edit the hitbox to better match the character model
|
this.getBody().setSize(16, 16); //edit the hitbox to better match the character model
|
||||||
this.getBody().setOffset(0, 8);
|
this.getBody().setOffset(0, 8);
|
||||||
this.setDepth(-1);
|
this.setDepth(0);
|
||||||
|
|
||||||
if (typeof companion === "string") {
|
if (typeof companion === "string") {
|
||||||
this.addCompanion(companion, companionTexturePromise);
|
this.addCompanion(companion, companionTexturePromise);
|
||||||
|
Loading…
Reference in New Issue
Block a user