home *** CD-ROM | disk | FTP | other *** search
/ Computerspiele Selbermachen / computerspieleselbermachen.iso / rtag / ss11a.rta < prev    next >
Text File  |  1980-01-01  |  904b  |  33 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 "3d";           // 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. x=-7;
  20. while (curframe < lastframe) {
  21.     nextframe;              // Begin a new frame
  22.     //  Determine position
  23.     //  Write command to render the frame image
  24.     bwrite("asg -iani00`###` 3d000`###` -ttextur.pcx\n");
  25.     x = x + 0.1;
  26.     bwrite(":do`+++`\n");
  27.  
  28. }
  29. //  Write final batch command to run DTA
  30. epilog;
  31. bwrite(":do`+++`\n");
  32. bwrite("call dodta TOUR /S8\n");
  33.