1: Draw background to Virtual screen 2
2: flip Virtual screen 2 into virtual screen 1
3: Draw sprite to Virtual Screen 1
4: Flip Virtial screen 1 to VGA
5: Repeat from 2
It is slow with only one sprite, and when i have about 3 sprites, it is totally useless. I have tried some other, but they are also getting slow, when i have more than 2 objects. Maybe it's just my routines that is slow, but what is the fastest way to make animation with lots of objects.
Without destroying the background ofcourse.
It looks like you're new here. If you want to get involved, click one of these buttons!