From: "Helix" Newsgroups: comp.os.msdos.djgpp Subject: Re: Sprite movement? Date: 17 Feb 1998 03:10:59 GMT Organization: Computers & More Inc. Lines: 17 Message-ID: <01bd3b6d$c1521ce0$cc51dece@stachowiak> References: <01bd3b2e$7c83f8c0$c151dece AT stachowiak> NNTP-Posting-Host: port204.compmore.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk James W Sager Iii wrote in article ... > If you want to refresh the background where the sprite once was, a good > method for doing it is to pick up the background where the sprite is > going to be in a bitmap the size of the sprite. When you go to move the > sprite, put the bitmap you picked up earlier over the sprite, and then > pick it up where the sprites gonna be before you draw the sprite, repeat > as needed :) > > Do you have any examples of some code in this respect? Is their a function that copies from the screen into memory the terrain? can I edit this and redraw it?