Skip to content

Instantly share code, notes, and snippets.

@easierbycode
Created June 2, 2022 16:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save easierbycode/492a5a3daf6130899fa07bf5f0596777 to your computer and use it in GitHub Desktop.
Save easierbycode/492a5a3daf6130899fa07bf5f0596777 to your computer and use it in GitHub Desktop.
Cobys-Blue-Adventure-World
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