Re: A86: scrolling


[Prev][Next][Index][Thread]

Re: A86: scrolling





You'll need to modify GridPutSprite to write to a buffer. My RPG uses a
modified version as well for writing to a buffer.

-Tim

On Mon, 1 May 2000 rabidcow@juno.com wrote:

> 
> have a buffer that's 8 pixels higher than the screen & draw your level
> into that with one extra row
> (or move the screen & use that as the buffer)
> every time you want to scroll by one pixel, move the buffer 16 bytes (one
> row of pixels)
> when you've scrolled 8 lines, redraw the buffer (or just the extra last
> row)
> 
> -josh
> 
> On Mon, 1 May 2000 22:42:34 EDT Cybeross@aol.com writes:
> > 
> >     I'm making a program that uses a Grid sprite routine. It has 
> > levels that 
> > can be scrolled down, (it is a skiing game). 
> > I can scroll the levels, but only one row at a time. one row is 8 
> > pixels, so 
> > how can I scroll only one pixel at a time? If it's at all possible, 
> > I don't 
> > want to have to use a regular PutSprite routine.
> >     -thanks
> > 
> > 
> > -Ross Palmer (TCPA)
> > 
> 
> ________________________________________________________________
> YOU'RE PAYING TOO MUCH FOR THE INTERNET!
> Juno now offers FREE Internet Access!
> Try it today - there's no risk!  For your FREE software, visit:
> http://dl.www.juno.com/get/tagj.
> 




References: