// achtergrond
setBackgroundImage(spaceship);
// vraag stijl
textFont(Lollipop, 25);
fill(255,255,255);
// vraag
words("Hoeft ons zonnestelsel 8 of 9 planeten ?",30,400);
// antwoorden stijl
fill(0,128,128);
textFont(Jellybean, 24);
// antwoord 1
words("9 planeten",150,340);
// antwoord 2
words("8 planeten",150,260);
// fout antwoord
if (answer == 1) {
fill(255,255,255);
textFont(Jellybean,20);
words(" Jammer, volgende keer beter...",220,100);
image(evilGnofu,10,0,180,210);
}
// goed antwoord
if (answer == 2) {
fill(255,255,255);
textFont(Bubblegum,25);
words("Supergoed, dat was juist!",220,100);
image(happyGnofu,10,0,180,210);
}