Adding logo in the bottom right corner and placing help text in function of height

This commit is contained in:
David Négrier 2020-05-01 22:23:41 +02:00
parent d2f94e9406
commit 85f84517f6
2 changed files with 14 additions and 6 deletions

View file

@ -1,7 +1,7 @@
export class TextField extends Phaser.GameObjects.Text {
constructor(scene: Phaser.Scene, x: number, y: number, text: string | string[]) {
super(scene, x, y, text, { fontFamily: 'Arial', fontSize: "20px", color: '#ffffff'});
super(scene, x, y, text, { fontFamily: 'Arial', fontSize: "15px", color: '#ffffff'});
this.scene.add.existing(this)
}
}
}