Path: chuka.playstation.co.uk!news From: Mark Green Newsgroups: scee.yaroze.programming.2d_graphics Subject: Scrolling backgrounds Date: 08 Jul 1998 11:00am Organization: None Lines: 12 Message-ID: <6nvfvm$9o1@chuka.playstation.co.uk> NNTP-Posting-Host: jupiter.rdg.ac.uk I am trying to create a 2D scrolling cloud-type background that is automatically generated by an algorithm. I have the algorithm to generate the next line to be scrolled on given the previous line, but I am having some problem making the scrolling itself happen. It would seem to make sense that I should hold the background somewhere in video RAM, scroll and update it there then copy it to the frame buffer. Unfortunately this seems to be very inefficient (requiring two full-screen blits per frame, one to scroll the buffer and another to copy it to the frame buffer) and will not work with the non-blocking operations anyway since the scroll must be assured complete before the copy can take place. I am sure that there is a more efficient way of doing this type of thing but it is eluding me at the moment :) Can anyoone give me any pointers?