home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d5xx / d557 / warp.lha / WarpSpeed / Read_Me! < prev    next >
Text File  |  1991-10-28  |  3KB  |  73 lines

  1. Welcome to Warp Speed                                     October 20, 1991
  2.  
  3. /*************************************************************************/
  4.  
  5.  
  6. Introduction
  7.  
  8. What is Warp Speed?  Warp Speed is simply a demo program written to 
  9. present a view as it might appear if one were moving through space at
  10. velocities faster than light (discounting relativity and its implications.)
  11.  
  12. What is Warp Speed not?  It is not a screen saver.  If I knew how to 
  13. write a screen saver it might be, but alas I don't (not yet anyway.)
  14.    
  15. What is the purpose of Warp Speed?  Warp Speed was written as a learning
  16. experience in C.  Eventually I would like to use it as a basis for a 3D
  17. interactive game.  I am including the source in the hopes that it will help
  18. some other struggling beginning C programmers out there.
  19.  
  20.  
  21. Program Operation
  22.  
  23. All that is needed to run the program is to click on the program icon.
  24. The interface is fully intuitionized.  To display the 'About' window
  25. select 'About..' from the menu.
  26.  
  27. One less obvious program feature is the ability to control the vehicle
  28. velocity with the up and down arrow keys.  You can actually come to a 
  29. complete stop by holding down the down arrow key.
  30.  
  31. To quit, select 'Quit' from the menu.
  32.  
  33. The program is fully multitasking but it is processor intensive and
  34. will significantly slow down other processes that are running at the same
  35. time.
  36.  
  37. I have tested the program under WB1.3 and WB2.0 and I haven't encountered
  38. any problems.
  39.  
  40.  
  41. Program Design
  42.  
  43. The program maintains an array (st[][]) that contains the stars position
  44. information.  This array is updated sequentially in the main program loop
  45. and the stars are moved by putting a black pixel over the star's old 
  46. position and then redrawing the star in the new position.  
  47.  
  48. The number of stars is controlled by varying the MSTARS definition on line
  49. 44 of the program file.  This value is currently set at 20 and gives good
  50. results on 7 MHz stock Amiga.  If you are using an accelerated machine you
  51. may wish to recompile this program with more stars.
  52.  
  53. The program also has the capability to display background stars.  By 
  54. varying the BSTARS definition some fixed stars can be added to the view.
  55.  
  56.  
  57. Future Additions
  58.  
  59. Eventually I intend to add joystick directional control as well as full
  60. reverse capability.  I am also aware of several inefficencies in the 
  61. programming as I am new to the C language and am trying hard to forget
  62. my old BASIC spaghetti code habits.
  63.  
  64. If you have any comments or suggestions please feel free to contact me.
  65.  
  66.  
  67. Doug Petercsak
  68. Apartment E-4
  69. 30856 Agoura Road
  70. Agoura Hills, CA
  71. 91301
  72.  
  73.