Merge pull request #736 from MisterErwin/patch-1
Fix offsets of SpeechBubble.ts
This commit is contained in:
commit
ae1d00c828
@ -14,7 +14,7 @@ export class SpeechBubble {
|
|||||||
const bubbleWidth = bubblePadding * 2 + text.length * 10;
|
const bubbleWidth = bubblePadding * 2 + text.length * 10;
|
||||||
const arrowHeight = bubbleHeight / 4;
|
const arrowHeight = bubbleHeight / 4;
|
||||||
|
|
||||||
this.bubble = scene.add.graphics({ x: player.x + 16, y: player.y - 80 });
|
this.bubble = scene.add.graphics({ x: 16, y: -80 });
|
||||||
player.add(this.bubble);
|
player.add(this.bubble);
|
||||||
|
|
||||||
// Bubble shadow
|
// Bubble shadow
|
||||||
|
Loading…
Reference in New Issue
Block a user