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