home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / amiga / programm / 18208 < prev    next >
Encoding:
Text File  |  1993-01-06  |  1.4 KB  |  26 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!dodo.cis.ohio-state.edu!juncewic
  3. From: juncewic@dodo.cis.ohio-state.edu (thomas michael juncewicz)
  4. Subject: ScrollVPort vs ScrollRaster
  5. Message-ID: <1993Jan6.143558.20449@cis.ohio-state.edu>
  6. Sender: news@cis.ohio-state.edu (NETnews        )
  7. Organization: The Ohio State University Dept. of Computer and Info. Science
  8. Date: Wed, 6 Jan 1993 14:35:58 GMT
  9. Lines: 15
  10.  
  11.  
  12. Calling all gurus,
  13.     I wish to write a game that uses 8-directional smooth-scrolling.  I've
  14. looked into ScrollVPort() and ScrollRaster(), but I'm confused (and
  15. the RKM manual I have has 1 sentence about each function).  The way I think
  16. I understand it, ScrollRaster() actually moves data thru the BitMap(raster)
  17. while ScrollVPort() just moves the ViewPort "window" around over different
  18. parts of a BitMap.  Is this right?  If so, then ScrollRaster would seem
  19. too slow to do the job (like if I had to scroll an entire screen of stuff)
  20. and ScrollVPort wouldn't work either as my 'playfield' will be quite
  21. large and therefore couldn't fit into 1 raster (1024 x 1024).  So what do you
  22. you all recommend?  Oh, BTW, I want to be as system friendly as possible, so
  23. I'd like suggestions that will work on other Amigas, from 1.3-3.0 KS and
  24. 68000-68040.  Plus, I'd prefer a C solution but I can work with assembly
  25. if necessary...Thanx in advance.
  26.