[comp.lang.pascal] Screen Scrolling

wyuu@uhunix1.uhcc.Hawaii.Edu (05/22/91)

Hello.
 I am creating a arcade game now. I was wondering if there was any
simple and efficient algorithm for graphics to make the WHOLE screen
scroll, sans your character. Sorta like super Mario Bros. I was
thinkng of XORing the background, then redrawing it at the new pos..
but jeez. I can only imagine how slow that will be. Ideas? I am
using Turbo Pascal.
							Thanks.

tmjones@eos.ncsu.edu (TOMMIE MILES JONES) (05/22/91)

How about writing a simple assembly routine to scroll the screen.  Store the 
whole map in memory then copy the portion of that memory that you need into
the screen memmory.  This is the best way I see to do it.