home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Inside Multimedia 1995 August
/
IMM0895.ISO01.iso
/
magazin
/
optix
/
disk2
/
optxfpac.set
/
TULIPTXT.OPT
< prev
next >
Wrap
Text File
|
1995-05-04
|
2KB
|
99 lines
defs(text$)
def(bcol,5)
def(tcol,220)
def(c)
def(i)
def(j)
def(k)
def(t)
def(hoch)
def(lang)
def(x)
def(y)
defai(sincos,2,360)
begin
new(sincos)
readarr(sincos,'sincos.tab')
setvol(15)
readsound('auahoch.snd')
fadeout(0)
text$ := 'TULIPS'
rem **** ^^^^^^--- dieser Text kann beliebig verändert werden
readwin('TULIPS.TGA')
keycol(215)
rem **** !!!!!!!!!!!!!!!!!! Für zweite Demo REMs entfernen !!!!!
rem **** text$ :='DAISY'
rem **** readwin('DAISY.TGA')
rem **** keycol(149)
rem **** !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
loadwin(320,0,20,0) *** Blumen verkleinern
copywin(320,0,320+winx/2,winy/2)
clearscreen(bcol)
setallpal
key(on)
readfont(1,'hel15x29.fnt') *** texteinstellung
font(1)
textcolor(tcol)
textcofs(1)
printat(1,0,text$)
printat(2,0,text$)
texth(hoch)
textw(text$,lang)
for i:=0 to lang+1 do *** Schriftaufbau
for j:=0 to hoch-6 do
getpixel(i,j,c)
plotc(i,j,bcol)
random(4,x)
random(4,y)
if c<>tcol
rem *** rechtwinklig: loadsprite(x*20,y*18,i*65/10,75+j*7,20,18)
loadsprite(x*20,y*18,i*68*sincos[1,95]/10000-j*7*sincos[2,95]/1000,75+j*7+i*7*sincos[2,95]/1000,20,18)
else
loadsprite(x*20,y*18,i*65/10,305+j*5,20,18)
endif
noise(i*10+j+50,100)
next(j)
startsound
next(i)
copywin(0,0,xmax,ymax) *** snapshot
viewport(0,0,xmax,300)
cbox(9,215,0)
keycol(bcol)
setcolor(0) *** Licht/Schatten-Maske
loadwin(6,6,17,0)
setcolor(215)
loadwin(0,0,16,0)
loadwin(1,1,16,0)
loadwin(2,2,0,0)
copywin(0,0,xmax,ymax)
rem savewin('tuliptxt.bmp') *** evtl. sichern
readsound('capumusi.snd')
startsound
key(off)
for i:=0 to xmax step 8 do *** bildbewegung
loadsprite(0,320,i,318,xmax-i,200)
next(i)
for i:=15 downto 5 do *** soundblende
wait(200)
setvol(i)
next(i)
fadeout(1)
stopsound
setvol(15)
end