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

  1. <const.plg>
  2. #
  3. bkg=texture(in=scene06.png);
  4. bkgcpy=mixer(tex=bkg,op=copy);
  5. #
  6. clk=oscilator(fce=clock);
  7. kocka_clk=oscilator(fce=saw,amp=4,freq=0.5);
  8. kocka=blender(in=pes,ani=kocka1.ani,x=-25,frame=kocka_clk);
  9. #
  10. kosil=blender(in=bkgcpy,ani=kosil3.ani,frame=kocka_clk);
  11. pes_clk=oscilator(add=1.5,amp=1.5,freq=0.2);
  12. pes=blender(in=kosil,ani=pes1.ani,frame=pes_clk);
  13. #
  14. okrajt=texture(in=okraj.png);
  15. okraj=mixer(in=kocka,tex=okrajt,op=transparency);
  16. output:screen(in=okraj,xres=640,yres=480,pal=my.pal);
  17. #