home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 February / Chip_2001-02_cd1.bin / bonus / demos / CS / kos / 09 / scene09.plg < prev    next >
Text File  |  2000-12-15  |  1KB  |  40 lines

  1. <const.plg>
  2. #
  3. bkg=texture(in=scene09.png);
  4. strom=texture(in=stromov.png);
  5. wclk=oscilator(fce=clock,freq=0.5);
  6. w1x=path(time=wclk,type=linear_opened,num=5,y=0,-40,-80,-120,-160);
  7. w1=window(win=bkg,x=w1x,w=800,h=480);
  8. #
  9. pes_clk=oscilator(fce=saw,amp=10,freq=0.7);
  10. pes=blender(in=kosil,ani=pes2.ani,x=[w1x+150],y=80,frame=pes_clk);
  11. #
  12. clk=oscilator(fce=clock);
  13. #kocka_o=oscilator(fce=saw,amp=9,freq=0.1);
  14. kocka_o=oscilator(fce=clock,freq=1);
  15. kocka_s=oscilator(add=8.5,amp=0.5,freq=-0.1);
  16. kocka_clk=selector(time=clk,type=timer,
  17. num=2,t1=0,t2=9,v1=kocka_o,v2=kocka_s);
  18. kocka=blender(in=w1,ani=kocka2.ani,x=[w1x-50],frame=kocka_clk);
  19. #
  20. #tovar_o=oscilator(fce=saw,amp=9,freq=0.1);
  21. tovar_o=oscilator(fce=clock,freq=1);
  22. tovar_s=oscilator(add=8.5,amp=0.5,freq=-0.2);
  23. tovar_clk=selector(time=clk,type=timer,
  24. num=2,t1=0,t2=9,v1=tovar_o,v2=tovar_s);
  25. tovar=blender(in=pes,ani=tovarnic.ani,x=[w1x+160],frame=tovar_clk);
  26. #
  27. #kosil_o=oscilator(fce=saw,amp=6,freq=0.15);
  28. kosil_o=oscilator(fce=clock,freq=1);
  29. kosil_s=oscilator(add=5.5,amp=0.5,freq=-0.3);
  30. kosil_clk=selector(time=clk,type=timer,
  31. num=2,t1=0,t2=6,v1=kosil_o,v2=kosil_s);
  32. kosil=blender(in=kocka,ani=kosil5.ani,x=[w1x+150],frame=kosil_clk);
  33. #
  34. wsm=mixer(in=ws,tex=strom,op=transparency);
  35. ws=window(in=tovar,win=wsm,x=w1x,y=56,w=228,h=424);
  36. #
  37. okrajt=texture(in=okraj.png);
  38. okraj=mixer(in=ws,tex=okrajt,op=transparency);
  39. output:screen(in=okraj,xres=640,yres=480,pal=my.pal);
  40. #