home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Jommeke
/
Jommeke.iso
/
movies
/
menu.dir
/
00064_Script_64
< prev
next >
Wrap
Text File
|
2000-02-23
|
3KB
|
132 lines
on startMovie
-- puppetsound 1,"tune"
initglobals
initscorefile
end
on linkjump
-- sound fadeOut 1,300
global userclick,gamenames,hotspotbase,gameno
put userclick-hotspotbase+1 into gameno
if gameno<4 then
put "link"&string(gameno) into gamenamestring
go to movie gamenamestring
else
go to movie "hiscore"
end if
end
on initglobals
global taglocs,tagbase,hotspotbase,gamenames
set gamenames=["maze","spotdiff","pairs","hiscore"]
put 8 into tagbase
put 15 into hotspotbase
set taglocs=[[98, 211], [557, 54], [37, 449], [447, 204], [362, 431], [277, 444], [574,¼ 133], [521, 412], [202, 390], [185, 88]]
end
on checkrollovers
global hotspotbase,taglocs
put 0 into overtag
repeat with n=1 to 10
put hotspotbase+n-1 into tch
if rollover (tch)=true then
showtag (n)
put 1 into overtag
end if
end repeat
if overtag=false then
hidetag
end if
end
on showtag n
global tagbase,taglocs
put getat(taglocs,n) into tagxy
put getat(tagxy,1) into tx
put getat(tagxy,2) into ty
put tagbase into tch
-- puppetsound 2,"over"
set the membernum of sprite tch to n
set the loch of sprite tch to 220
set the locv of sprite tch to 80
set the visible of sprite tch to true
end
on hidetag
global tagbase
set the visible of sprite tagbase to false
end
on getlocs
global parrotlocs
set parrotlocs=[]
set templist=[]
put 3 into basech
repeat with n=1 to 10
set templist=[]
put basech+n-1 into tch
put the loch of sprite tch into xx
put the locv of sprite tch into yy
-- put the membernum of sprite tch into mm
append templist,xx
append templist yy
-- append templist mm
append parrotlocs,templist
end repeat
put parrotlocs
end
on setupsprites
put "sssssssssssssssssss"
global tagbase
puppetsprite tagbase,true
end
on action
case the rollOver of
14: set the memberNum of sprite 14 to 4
15: set the memberNum of sprite 15 to 5
16: set the memberNum of sprite 15 to 1
17: set the memberNum of sprite 17 to 7
18: set the memberNum of sprite 18 to 10
otherwise cleanUp
end case
end action
on cleanUp
set the memberNum of sprite 14 to 14
set the memberNum of sprite 15 to 14
set the memberNum of sprite 15 to 15
set the memberNum of sprite 17 to 17
set the memberNum of sprite 18 to 18
end cleanUp