home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2001 February
/
Chip_2001-02_cd1.bin
/
bonus
/
demos
/
CS
/
kos
/
09
/
scene09.plg
< prev
next >
Wrap
Text File
|
2000-12-15
|
1KB
|
40 lines
<const.plg>
#
bkg=texture(in=scene09.png);
strom=texture(in=stromov.png);
wclk=oscilator(fce=clock,freq=0.5);
w1x=path(time=wclk,type=linear_opened,num=5,y=0,-40,-80,-120,-160);
w1=window(win=bkg,x=w1x,w=800,h=480);
#
pes_clk=oscilator(fce=saw,amp=10,freq=0.7);
pes=blender(in=kosil,ani=pes2.ani,x=[w1x+150],y=80,frame=pes_clk);
#
clk=oscilator(fce=clock);
#kocka_o=oscilator(fce=saw,amp=9,freq=0.1);
kocka_o=oscilator(fce=clock,freq=1);
kocka_s=oscilator(add=8.5,amp=0.5,freq=-0.1);
kocka_clk=selector(time=clk,type=timer,
num=2,t1=0,t2=9,v1=kocka_o,v2=kocka_s);
kocka=blender(in=w1,ani=kocka2.ani,x=[w1x-50],frame=kocka_clk);
#
#tovar_o=oscilator(fce=saw,amp=9,freq=0.1);
tovar_o=oscilator(fce=clock,freq=1);
tovar_s=oscilator(add=8.5,amp=0.5,freq=-0.2);
tovar_clk=selector(time=clk,type=timer,
num=2,t1=0,t2=9,v1=tovar_o,v2=tovar_s);
tovar=blender(in=pes,ani=tovarnic.ani,x=[w1x+160],frame=tovar_clk);
#
#kosil_o=oscilator(fce=saw,amp=6,freq=0.15);
kosil_o=oscilator(fce=clock,freq=1);
kosil_s=oscilator(add=5.5,amp=0.5,freq=-0.3);
kosil_clk=selector(time=clk,type=timer,
num=2,t1=0,t2=6,v1=kosil_o,v2=kosil_s);
kosil=blender(in=kocka,ani=kosil5.ani,x=[w1x+150],frame=kosil_clk);
#
wsm=mixer(in=ws,tex=strom,op=transparency);
ws=window(in=tovar,win=wsm,x=w1x,y=56,w=228,h=424);
#
okrajt=texture(in=okraj.png);
okraj=mixer(in=ws,tex=okrajt,op=transparency);
output:screen(in=okraj,xres=640,yres=480,pal=my.pal);
#