// achtergrond
setBackgroundImage(space);
// vraag stijl
textFont(Jellybean, 22);
fill(255,255,255);
// vraag
words("Wie heeft de beste worst van nederland?",30,400);
// antwoorden stijl
fill(0,128,128);
textFont(Bubblegum, 24);
// antwoord 1
words("De slager?",150,340);
// antwoord 2
words("Kjeld",150,260);
// fout antwoord
if (answer == 1) {
fill(255,255,255);
textFont(Bubblegum,32);
words("Fout!",220,100);
image(evilGnom,10,0,180,210);
}
// goed antwoord
if (answer == 2) {
fill(255,255,255);
textFont(Bubblegum,32);
words("Supergoed!",220,100);
image(happyGnom,10,0,180,210);
}