home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / apple2 / 27488 < prev    next >
Encoding:
Text File  |  1993-01-25  |  2.4 KB  |  52 lines

  1. Newsgroups: comp.sys.apple2
  2. Path: sparky!uunet!munnari.oz.au!bruce.cs.monash.edu.au!labtam!labtam!philip
  3. From: philip@labtam.labtam.oz.au (Philip Stephens)
  4. Subject: Re: Flipping Screens
  5. Organization: Labtam Australia Pty. Ltd., Melbourne, Australia
  6. Date: Mon, 25 Jan 1993 06:00:39 GMT
  7. Message-ID: <philip.727941639@labtam>
  8. References: <1993Jan22.150119.22777@aio.jsc.nasa.gov>
  9. Lines: 41
  10.  
  11. Mark Manning writes:
  12.  
  13. >What's the fastest you've been able to make animation go
  14. >and still not get the flicker?  (ie: exceed the refresh
  15. >rate)
  16.  
  17.   Technically, flicker-free animation can only be achieved if you draw your
  18. pixels on the screen whilst the electron beam is busy scanning somewhere
  19. else.  Typically you want to start drawing when the video-blanking period
  20. begins (i.e. when the beam has reached the bottom and is zipping back up
  21. the top).  Of course, you only have a limited amount of time before the
  22. beam starts it's way down the screen again.
  23.   But as a rough guide, if you can draw your stuff faster than 1/60 of a
  24. second, you'll avoid most of the flicker.
  25.  
  26. >Secondly, how many things can you handle at one time one
  27. >the screen before everything slows down too much?  Is there
  28. >a table of number of items crossed against the size of the
  29. >items?  After all, the larger the items are, the slower things
  30. >will go - right?
  31.  
  32.   Right.  Except that the speed of animation is not just a function of the
  33. object size, but also depends on how quickly you can draw pixels onto the
  34. video screen.  As a very rough estimate, you can fill the entire super hires
  35. screen in about 1/10th of a second.  The less you put on the screen, the
  36. faster it's gonna get.  So for a typical game that doesn't try to do full
  37. screen scrolling, you can easily get a flicker-free rate of animation.
  38. And you CAN perform full screen scrolling flicker-free if you draw the
  39. animation off-screen then copy it on-screen during the video-blanking
  40. period, but the frame rate will only be that 1/10th of a second, at best.
  41.  
  42. >Thanks!  :)
  43.  
  44.   You're welcome.  Sorry I couldn't be more specific, but I don't have my
  45. calculator and instruction timing sheet handy at the moment ;-)
  46.  
  47. -- 
  48. | Philip Stephens, Systems Programmer. | %%%%  %     Labtam Australia Pty Ltd |
  49. | Address:  43 Malcolm Road, Braeside, |   % % % %     "Applied Ingenuity"    |
  50. |           Victoria, 3195, AUSTRALIA. |  %  % %  %  We make the fastest RISC |
  51. | Internet: philip@labtam.labtam.oz.au | %%%%% %%%%% X terminals in the world | 
  52.