home *** CD-ROM | disk | FTP | other *** search
/ Computerspiele Selbermachen / computerspieleselbermachen.iso / rtag / iagif.rta < prev    next >
Text File  |  1980-01-01  |  883b  |  31 lines

  1. /*
  2.  *  RTAG source file.
  3.  *  Animated tour around some buildings
  4.  *  Written by Phillip H. Sherrod.
  5.  */
  6.  
  7. //  File declarations
  8. bfile "iagif";           // Batch file will be tour.bat
  9. //  Variable declarations.
  10. var lastframe = 70;    // Generate 260 frame animation
  11. var x;                  // X position
  12. var y;                  // Y position
  13. var z;                  // Z position
  14. var xlook;              // X to look at
  15. var ylook;              // Y to look at
  16. var zlook;              // Z to look at
  17.  
  18. //  Main animation loop
  19. while (curframe < lastframe) {
  20.     nextframe;              // Begin a new frame
  21.     //  Determine position
  22.     //  Write command to render the frame image
  23.     bwrite("alchemy 3d000`###`.pcx -g -o\n");
  24.     bwrite("del 3d000`###`.pcx\n");
  25.  
  26. }
  27. //  Write final batch command to run DTA
  28. epilog;
  29. bwrite(":do`+++`\n");
  30. bwrite("call dodta TOUR /S8\n");
  31.