home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 51
/
Mobiclic51.iso
/
mac
/
DATA
/
JEUX
/
Quiz.dir
/
00001_Script_1
next >
Wrap
Text File
|
2003-01-27
|
4KB
|
135 lines
global gzeFlag_Retour, gFlagQuizz
----------------------------------
on startMovie
getInfo_bandeauTitre--paramΘtrage gΘomΘtrique du dΘplacement du bandeau-titre de movie
Eker_BG_JLM -- renseignement automatique de l'Θquerre bleue
show_title -- apparition du bandeau-titre de module
end
-------------------
on debut
case( the frame >gzeFlag_Retour) of
1:
gFlagQuizz = 2
go "DEBUT"
0:
go movie "@//sommaire"
end case
end
------------------
on prepareMovie
getInfo_titre_module -- renseignement automatique n░ et titre du bandeau de cyber ou titre du bandeau de rubrique
spritesMenus
gzeFlag_Retour = label("FLAG_POUR_RETOUR")
end
-------------
on stopMovie
-- if the runMode = "Projector" then
gzeFlag_Retour = VOID
-- gFlagQuizz = VOID
-- end if
RAZ_pistes_son
coupeson(1)
end
-----------
on revoir
initFilm
go to movie(the movieName)
end
---òòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòò
on SERIE_01
global questions,ListeQuestions,score,jeu,mode
sound close 3
afficherPistes 24,"26>31"
masquerPistes 38
set questions = []
set mode=""
set jeu=1
put 0 into field "erreur"
set score=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
tirageQuestions(15)
set Q = getAt(listeQuestions,1)
add questions, Q
put Q into field "question"
go to frame "quiz"
set the memberNum of sprite 24 = Q - 1+ the number of member "T1"
joueson "Quiz" & string(Q)
end
---òòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòò
on SERIE_02
global questions,ListeQuestions,score,jeu,mode
sound close 3
afficherPistes 24,"26>31"
masquerPistes 38
set questions = []
set jeu=2
set mode=""
put 0 into field "erreur"
set score=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
tirageQuestions(15)
repeat with i=1 to 15
setAt listeQuestions, i, 15+getAt(listeQuestions,i)
end repeat
set Q = getAt(listeQuestions,1)
add questions, Q
put Q into field "question"
put listeQuestions
go to frame "quiz"
set the memberNum of sprite 24 = Q - 1+ the number of member "T1"
joueson "Quiz" & string(Q)
end
---òòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòò
on SERIE_03
global questions,ListeQuestions,score,jeu,mode
sound close 3
afficherPistes 24,"26>31"
masquerPistes 38
set jeu=3
set mode=""
set questions = []
put 0 into field "erreur"
set score=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
tirageQuestions(15)
repeat with i=1 to 15
setAt listeQuestions, i, 30+getAt(listeQuestions,i)
end repeat
set Q = getAt(listeQuestions,1)
add questions, Q
put Q into field "question"
put listeQuestions
go to frame "quiz"
set the memberNum of sprite 24 = Q - 1+ the number of member "T1"
joueson "Quiz" & string(Q)
end
---òòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòò
on SERIE_04
global questions,ListeQuestions,score,jeu,mode
sound close 3
afficherPistes 24,"26>31"
masquerPistes 38
set jeu=0
set mode=""
set questions = []
put 0 into field "erreur"
set score=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
tirageQuestions(45)
set Q = getAt(listeQuestions,1)
add questions, Q
put Q into field "question"
go to frame "quiz"
set the memberNum of sprite 24 = Q - 1+ the number of member "T1"
joueson "Quiz" & string(Q)
put line(Q) of field "rΘponses"
end
---òòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòòò
on tirageQuestions n
global ListeQuestions
set ListeQuestions=[]
repeat while count(ListeQuestions)<15
set q = random(n)
if getOne(ListeQuestions, q)=0 then
add ListeQuestions, q
end if
end repeat
put "Tirage alΘatoire :" & ListeQuestions
end tirageQuestions