home *** CD-ROM | disk | FTP | other *** search
/ Falcon 030 Power 2 / F030_POWER2.iso / ST_STE / MAGS / STOSBTS1.ARJ / stosbts1.msa / DATA / BAR.DAT < prev    next >
Text File  |  1987-04-22  |  783b  |  24 lines

  1. Bouncy Bars by ah-YEAH
  2.  
  3. Hello, how are you?    thats good, the Bouncy bar source is 
  4. actually called BAR.BAS and as usual it can be found in the DATA 
  5. folder, let me just run through it
  6.  
  7. first of all a sine table is generated, in the B# array
  8. then logic is set to back so you can't see the screen being 
  9. drawn, now comes the main loop, the loop runs from 1 to 360 in 
  10. steps of 10 ( or is it 5 ?)
  11. every tim ethis loop is run 5 bars are draw using the following 
  12. code.
  13.  
  14. for v=1 to 5
  15. screen copy 15,0,0,320,10 to logic,0,b#(k+(v*10))
  16. next v
  17.  
  18. k is the counter for the main loop (1 to 360)
  19. the screen that is copied is a strip of screen from bank 15 that 
  20. is 320 by 10 pixels deep ( I used colour bars, but these no 
  21. reason why you couldn't use something else.)
  22. }
  23.  
  24.