diff --git a/phaser-3/3.60/custom-fonts/README.md b/phaser-3/3.60/custom-fonts/README.md index a89058c..aa27351 100644 --- a/phaser-3/3.60/custom-fonts/README.md +++ b/phaser-3/3.60/custom-fonts/README.md @@ -8,3 +8,7 @@ TODO Link to live demo: TODO + +## Credit + +The custom fonts that were used in this demo were created by [Kenney](https://www.kenney.nl/assets/kenney-fonts). diff --git a/phaser-3/3.60/custom-fonts/src/main.js b/phaser-3/3.60/custom-fonts/src/main.js index cb4e709..86192b5 100644 --- a/phaser-3/3.60/custom-fonts/src/main.js +++ b/phaser-3/3.60/custom-fonts/src/main.js @@ -12,13 +12,13 @@ class MainScene extends Phaser.Scene { const w = this.scale.width / 2; this.add .text(w, 100, 'Default Font Family', { - fontSize: 32, + fontSize: 40, color: '#ffffff', }) .setOrigin(0.5); const text = this.add .text(w, 200, 'Press Start 2P', { - fontSize: 32, + fontSize: 40, color: '#ffffff', }) .setOrigin(0.5);