home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2001 February
/
Chip_2001-02_cd1.bin
/
bonus
/
demos
/
CS
/
kos
/
03
/
scene03.plg
< prev
next >
Wrap
Text File
|
2000-12-15
|
1KB
|
35 lines
<const.plg>
#
clk=oscilator(fce=clock);
#
bkg=texture(in=scene03.png);
bkgcpy=mixer(tex=bkg,op=copy);
#
kocka_p=path(time=clk,type=linear_opened,num=4,y=0,2,3,4);
kocka_s=oscilator(add=4.5,amp=0.5,freq=-0.1);
kocka_clk=selector(time=clk,type=timer,
num=2,t1=0,t2=3,v1=kocka_p,v2=kocka_s);
kocka=blender(in=bkgcpy,ani=kocka2m.ani,frame=kocka_clk);
#
kosil_p=path(time=clk,type=linear_opened,num=9,y=0,1,2,3,4,5,7,8,9);
kosil=blender(in=kocka,ani=kosil3m.ani,x=100,frame=kosil_p);
#
pes_p=path(time=clk,type=linear_opened,num=4,y=0,2,3,4);
pes_s=oscilator(add=4.5,amp=0.5,freq=-0.2);
pes_clk=selector(time=clk,type=timer,
num=2,t1=0,t2=3,v1=pes_p,v2=pes_s);
pes=blender(in=kosil,ani=pes2m.ani,x=-110,y=30,frame=pes_clk);
#
vrana1_clk=oscilator(add=0.5,amp=0.5,freq=1);
vrana1=blender(in=pes,ani=vrana1.ani,frame=vrana1_clk);
#
vrana2_p=path(time=clk,type=linear_opened,num=3,y=0,2,5);
vrana2_s=oscilator(add=4.5,amp=0.5,freq=-1);
vrana2_clk=selector(time=clk,type=timer,
num=2,t1=0,t2=1.6,v1=vrana2_p,v2=vrana2_s);
vrana2=blender(in=vrana1,ani=vrana2.ani,frame=vrana2_clk);
#
okrajt=texture(in=okraj.png);
okraj=mixer(in=vrana2,tex=okrajt,op=transparency);
output:screen(in=okraj,xres=640,yres=480,pal=my.pal);
#