Welcome to Emulationworld

Forum Index | FAQ | New User | Login | Search

Make a New PostPrevious ThreadView All ThreadsNext ThreadShow in Flat Mode*

SubjectMore assembly fun! Reply to this message
Posted bySnowball 2
Posted on11/06/03 06:52 PM

So I figured out how to draw a bitmap in mode 13, hooray! Now I'm trying to make a sprite(another bitmap) move around on my loaded bitmap background. I think I know how I want to do it and here's the general idea:

1.Draw the background to screen buffer
2.Draw the sprite over it
3.Transfer screen buffer to video memory for output

Now here comes the tricky part for me. As the sprite moves around my background I don't want to constantly redraw the entire image. I just want it to redraw the sprite and just the portion of the background that it moves over. Or is there another easier way to avoid having to redraw what the sprite moves over?

Entire Thread
Subject  Posted byPosted On
.More assembly fun!  Snowball 211/06/03 06:52 PM
.*Re: More assembly fun!  galibert11/07/03 03:59 AM
.*Re: More assembly fun!  Bart T.11/06/03 07:48 PM
..*Excellent idea  Snowball 211/07/03 00:35 AM
...*Re: Excellent idea  Bart T.11/07/03 01:08 AM