Sine scroller needs to use two sources and a mask already anyway, in order to blit a single column of pixels, you need a mask with one bit set and combine it with the graphics that's already there from previous blits. Any of the 16 slices can have any position with a 16 pixel range. As long as the wavelength isn't too short there is no problem.
But. Yes. I shall write it and post the source.
Last edited by Mrs Beanbag; 27 January 2012 at 19:09.
Reason: additional
|