xxxxxxxxxx
21
let x;
function setup() {
createCanvas(400, 500);
x=new bg(20,20);
}
function draw() {
background(220);
x.call();
fill(100);
textSize(25);
textAlign(LEFT);
text("Highest",10,40);
text("Score:",10,70);
text("2",85,70);
textSize(40);
text("Your Score",100,140);
textSize(50);
textAlign(CENTER);
text("5000",190,200);
}