home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 7486 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: news.rwth-aachen.de!messua!svent
  2. From: svent@messua.informatik.rwth-aachen.de (Sven Thoennissen)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Fastest way to display things on a screen?
  5. Date: 17 Apr 1996 13:07:03 GMT
  6. Organization: RWTH -Aachen / Rechnerbetrieb Informatik
  7. Message-ID: <4l2qdn$akr@news.rwth-aachen.de>
  8. References: <4l0pi6$gus@mn5.swip.net>
  9. NNTP-Posting-Host: messua.informatik.rwth-aachen.de
  10. X-Newsreader: NN version 6.5.0 #3 (NOV)
  11.  
  12. Ola.Lindgren@mailbox.swipnet.se (Daniel Hallgren) writes:
  13.  
  14. >I'm thinking of writing a game, and I wonder which way is the best and fastest 
  15. >to display graphics on a customscreen opened with OpenScreenTagList()? 
  16. >Superbitmap windows are said to be very slow. To me, creating my own bitmap 
  17. >with InitBitMap() and attaching it to screen with the tag SA_BitMap and then 
  18. >render the graphics directly into the bitplanes seems the fastest way. Any 
  19. >ideas?
  20.  
  21. Yes this would be the fastest. You might consider using double buffering
  22. (or triple buffering) routines to get smooth results.
  23.  
  24. By writing into the bitmap directly, your game won't run with graphics
  25. boards. You can use an internal bitmap, fill it directly, then use
  26. BltBitmapRAstport() to put it to the screen's bitmap. This will run
  27. on gfx boards (I have tried it out).
  28.  
  29.  
  30. > BTW, is WaitTOF fast enough for games?
  31.  
  32. It should be. It's the most friendly routine, because it is waiting
  33. for the copper interrupt bit (I tried this out too).
  34.  
  35.  
  36. bye -
  37. Sven
  38. --
  39.  svent@pool.informatik.rwth-aachen.de
  40.  http://www-users.informatik.rwth-aachen.de/~svent/
  41.  - - - - - - - K2000 - Anime - Amiga - MidiTracker development - - - - - - - -
  42.  "There is a power greater than science that rules the world."
  43.