//Sample Solution
function create() {
let circle1 = this.add.circle(50, 100, 90, 0xFFF070);
let circle2 = this.add.circle(95, 300, 80, 0xFF0000);
let circle3 = this.add.circle(200, 200, 100, 0x9F00D0);
let circle4 = this.add.circle(300, 400, 10, 0x00E030);
// Add in a circle here!
let circle5 = this.add.circle(450, 600, 240, 0xFFFFFF);
}
const config = {
type: Phaser.AUTO,
width: 450,
height: 600,
scene: {
create
}
}
const game = new Phaser.Game(config)
No comments:
Post a Comment