Created
June 2, 2022 16:57
-
-
Save easierbycode/492a5a3daf6130899fa07bf5f0596777 to your computer and use it in GitHub Desktop.
Cobys-Blue-Adventure-World
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function create() { | |
this.add.text(50, 100, "Coby Blue's\n Adventure World", { | |
font: "40px Times New Roman", | |
fill: "#ffa0d0", | |
}); | |
// Change "by Codecademy" to your name! | |
this.add.text(130, 300, "by BigRed, CodeMonkey", { | |
font: "20px Times New Roman", | |
fill: "#ffa0d0", | |
}); | |
} | |
const config = { | |
type: Phaser.AUTO, | |
width: 450, | |
height: 600, | |
backgroundColor: "#ea4335", | |
scene: { | |
create, | |
}, | |
}; | |
const game = new Phaser.Game(config); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment