home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 February / Chip_2001-02_cd1.bin / bonus / demos / CS / kos / 13 / scene13.plg < prev    next >
Text File  |  2000-12-15  |  957b  |  29 lines

  1. <const.plg>
  2. #
  3. clk=oscilator(fce=clock);
  4. #
  5. bkg=texture(in=scene03.png);
  6. bkgcpy=mixer(tex=bkg,op=copy);
  7. #
  8. koc_clk=oscilator(add=0.5,amp=0.5,phase=0.4);
  9. kocka=blender(in=bkgcpy,ani=kocka2m.ani,frame=koc_clk);
  10. #
  11. kos_clk=oscilator(add=0.5,amp=0.5,phase=0.7);
  12. kosil=blender(in=kocka,ani=kosil3m.ani,frame=kos_clk);
  13. #
  14. pes_clk=oscilator(add=0.5,amp=0.5);
  15. pes=blender(in=kosil,ani=pes2m.ani,frame=pes_clk);
  16. #
  17. vrana1_clk=oscilator(add=0.5,amp=0.5,freq=1);
  18. vrana1=blender(in=pes,ani=vrana1.ani,frame=vrana1_clk);
  19. #
  20. vrana_clk=path(type=linear_opened,time=[clk*0.7+0.5],num=7,y=0,2,0,4,6,8,10);
  21. vrana=blender(in=pes,ani=vrana.ani,x=100,frame=vrana_clk);
  22. #
  23. vrana2_clk=path(type=linear_opened,time=[clk*0.7+1.5],num=7,y=1,0,1,4,6,8,10);
  24. vrana2=blender(in=vrana,ani=vrana.ani,x=200,y=110,frame=vrana2_clk);
  25. #
  26. okrajt=texture(in=okraj.png);
  27. okraj=mixer(in=vrana2,tex=okrajt,op=transparency);
  28. output:screen(in=okraj,xres=640,yres=480,pal=my.pal);
  29. #