In this mini game I would make a question. E.g. "Who would wake up at 3am to still food from the fridge?"
Then, when the person click the screen, an image of a character would appear randomly (being the answer). There are 5 characters images to show up.
I was trying that, but it keeps giving me different errors. I put this in scrip.
Code: Select all
label whocharactergame:
scene bluepark
with fade
init python:
from random import randint
" I'd make a queston here "
$randPix = randint(1,5)
if randPix== 1:
add "jhonpick.png"
elif randPix== 2:
add "annapick.png"
else:
add "georgepick.png"
else:
add "kaylapick.png"
else:
add "karenpick.png"
Does anyone know?
Thanks