home *** CD-ROM | disk | FTP | other *** search
/ Falcon 030 Power 2 / F030_POWER2.iso / ST_STE / MAGS / ICTARI05.ARJ / ictari.05 / ASSEMBLY / STARBUST / STARBUST.TXT < prev   
Text File  |  1993-07-08  |  756b  |  22 lines

  1. Auto
  2.  
  3.     This was made about 6-7 years ago to show how LineA Putpix works
  4. for a local ST Club assembler class. Talk about taking a sledge hammer
  5. to crack a nut!
  6.  
  7.     It works by defining two circles - pixel by pixel. All the pixels
  8. are given the same initial x & y velocities and thus the ball is launched.
  9. At a pre-determined height the pixels are each given random velocities and
  10. hence the ball explodes. Symmetry is used to give two balls for better
  11. effect.
  12.  
  13.     Gravity is simulated by using negative acceleration s=Ut-0.5(gt^2).
  14. where s is height, U is vertical velocity, t is time and g is gravity value
  15. Also U'=U-gt
  16.  
  17.     Hope this makes sense, I haven't really looked at the code and it WAS
  18. an awful long time ago!
  19.  
  20.         Si(gh).
  21.  
  22.