Re: A86: Scrolling starfield question


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

Re: A86: Scrolling starfield question




cool, also, i have a couple of more questions.
what is parallax scrolling?
also, would vertical be easier?
and, when you scroll the screen left, how do would you shift the screen left
by 1 pixel vertical row?  if i remember, when you scroll vertically, you
shift the video memory (i think, i'm not sure, it might be different), how
would you do it horizontally?

thanks
akshay dhalwala
akdjr@softhome.net
http://akdjr.freeservers.com



>
>That would work as long as you aren't interested in parallax scrolling.
>You could also just redraw them all every time, but that would only be
>useful if you had a small number of stars.
>
>Aaron Curtis
>
>> Akshay Dhalwala wrote:
>>
>> i was wondering, how would you implement a scrolling starfield?  the
>> way i think of it, you would first plot random pixels on the screen,
>> and then scroll the screen left 1 pixel at a time, and after each
>> scroll, plot a new vertical line of random pixels.  Is that the way?
>>
>> thanks
>> Akshay Dhalwala
>> akdjr@softhome.net
>> http://akdjr.freeservers.com
>>
>