home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global altezza, larghezza, QEsercizio
- set Bingo to 25
- set p to point(larghezza, altezza)
- if QEsercizio = 1 then
- set ellisse to rect(193, 127, 405, 220)
- if inside(p, ellisse) then
- if the moveableSprite of sprite Bingo then
- giusto()
- end if
- if the moveableSprite of sprite Bingo then
- set the loc of sprite Bingo to point(277, 158)
- end if
- set the moveableSprite of sprite Bingo to 0
- else
- Sbagliato()
- set the loc of sprite Bingo to point(372, 305)
- end if
- else
- set ellisse to rect(202, 248, 283, 350)
- set ellisse2 to rect(302, 258, 359, 328)
- if inside(p, ellisse) then
- if the moveableSprite of sprite Bingo then
- giusto()
- end if
- if the moveableSprite of sprite Bingo then
- set the loc of sprite Bingo to point(larghezza, 300)
- end if
- set the moveableSprite of sprite Bingo to 0
- else
- if inside(p, ellisse2) then
- if the moveableSprite of sprite Bingo then
- giusto()
- end if
- if the moveableSprite of sprite Bingo then
- set the loc of sprite Bingo to point(336, 295)
- end if
- set the moveableSprite of sprite Bingo to 0
- else
- Sbagliato()
- set the loc of sprite Bingo to point(372, 305)
- end if
- end if
- end if
- end
-