home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Creative Review 39
/
Creative-Review-CD-ROM-39.iso
/
pc
/
pres
/
cr.dir
/
00041_Script_41
< prev
next >
Wrap
Text File
|
1998-07-10
|
1KB
|
49 lines
on bugHand startH, startV
repeat with a = 28 to 32
puppetSprite a, true
set selected = the text of field 79
-- mouse movement
set endH = the mouseH
set endV = the mouseV
set moveH = -(startH - endH)/random(12)
set moveV = -(startV - endV)/random(12)
--
set the loch of sprite a to the loch of sprite a + moveH
set the locv of sprite a to the locv of sprite a + MoveV
-- random movement
set hRan = random (11) -1 -5
set vRan = random (11) -1 -5
set the loch of sprite a to the loch of sprite a + Hran
set the locv of sprite a to the locv of sprite a + Vran
-- fade
set posh = the mouseh - (the loch of sprite a)
set posv = the mousev - (the locv of sprite a)
set length = posh * posh + posv * posv
set circ = (length/ 100)
put circ into field 78
if a <> selected then
if circ > 100 then
set the visible of sprite a to 0
else
set the visible of sprite a to 1
set the blend of sprite a to 100-circ
end if
else
set the visible of sprite a to 1
set the blend of sprite a to 100
end if
updatestage
end repeat
end