home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1998 February
/
CHIP_2_98.iso
/
software
/
testsoft
/
muzea
/
exemusei
/
shared.cst
/
00903_Script_Raut
< prev
next >
Wrap
Text File
|
1987-04-12
|
957b
|
43 lines
on Raut R
Cursore
put 0 into flag
put R-12 into A
put R-6 into B
put the locH of sprite A into hA
put the locH of sprite B into hB
puppetSprite A,1
puppetSprite B,1
repeat with k = 1 to 5
set the locH of sprite A =hA-k*10
set the locH of sprite B =hB+k*10
updatestage
if the mousedown then
put 1 into Flag
EXIT REPEAT
END IF
end repeat
if flag<>1 then
repeat while rollover(R)
if the mousedown then
put 1 into Flag
exit repeat
end if
end repeat
repeat with k = 3 down to 1
set the locH of sprite A = hA-k*15
set the locH of sprite B = hB+k*15
updatestage
end repeat
puppetSprite A,0
puppetSprite B,0
else
suonainterruttore
repeat with k = 10 down to 1
set the blend of sprite B = k*10
set the blend of sprite A = k*10
updatestage
end repeat
end if
end