Re: A86: Scrolling starfield question
[Prev][Next][Index][Thread]
Re: A86: Scrolling starfield question
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
>
References: