home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / amiga / programm / 12783 < prev    next >
Encoding:
Internet Message Format  |  1992-08-27  |  1.3 KB

  1. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!gatech!nscf!lakes!mr_scary
  2. From: mr_scary@lakes.trenton.sc.us (Chris Hurley)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Double Buffering
  5. Message-ID: <cRH7PB1w165w@lakes.trenton.sc.us>
  6. Date: Thu, 27 Aug 92 14:41:11 EDT
  7. Reply-To: mr_scary@lakes.trenton.sc.us
  8. Organization: The Veronica Lake Fan Club
  9. Lines: 16
  10.  
  11. In the game I am currently writing, I am using (regretfully) two full 
  12. screens for Double buffering.  I am copying the information (ClipBlit) 
  13. from the front screen to the back screen, then switching the back screen 
  14. to the front.  I render screen changes to the new back screen (formerly 
  15. the front) and then switch screens back again.  This process is repeated 
  16. for all screen changes.
  17.         I recognize that this is a miserable way to handle Double 
  18. Buffering and need assistance in doing it with a non-visible second 
  19. screen somehow.  The drawing routines are written to draw to a screen, so 
  20. I would prefer to leave this in tact.  (DrawImage(Window->RPort, x,y) is 
  21. used).  Can someone tell me the easiest way to handle Double Buffering in 
  22. the same manner I am doing now, but without screens?  (views perhaps?).  
  23. Please make your explanations as simple and thourough as possible, and 
  24. thanks in advance.
  25.  
  26. Chris.  (mr_scary@lakes.trenton.sc.us)
  27.