xxxxxxxxxx
43
let mpFont;
function preload() {
mpFont = loadFont('MPFont.ttf');
}
function setup() {
createCanvas(820, 664);
let from = color(255, 135, 0);
let to = color(0, 240, 255);
let interA = lerpColor(from, to, 0);
background(interA);
noStroke();
for (let i = 0; i < 664; i = i + 6.64){
fill(lerpColor(from, to, 0 + i * 0.0015))
rect(0, i, 820, 7);
}
fill(200);
strokeWeight(4);
rect(15, 95, 785, 555, 20);
fill('#ED225D');
textFont(mpFont);
textSize(100);
text('Results', 250, 80)
textSize(50);
text("Okay, let's see here.", 25, 130);
text('Player 1.', 25, 170);
text('You counted Goombas.', 25, 210);
text('Player 2.', 25, 250);
text('You counted Goombas.', 25, 290);
text('There were N Goombas.', 25, 350);
text('Player, great work!', 25, 410);
text('Player, see me in my office.', 25, 450);
text('PLAYER WINS!', 25, 490);
strokeWeight(4);
rect(610, 510, 190, 140, 20);
fill(0);
textSize(39);
text('RESTART!', 613, 595);
}
function draw() {
}