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