Result of drawing background and does smooth scrolling


Put 16x16 shapes (red blocks) to background bitmap and scroll it. I use 2 bitmaps for double buffering. You notice that left half side of the screen doesn't have background blocks. I think this is due to QBlit. Every each frame, it required to call UnQueue to remove all shapes from bitmap. Then put all shapes to new place, if I want to move them. According to the manual, QBlit remember the place. But it looks doesn't remember what was there. Due to this, UnQueue probably boxf x1,y1,x2,y2,0 to replace those shapes. So those block shapes on the background are gone. According to the manual, I should use BBlit (buffer and BBlit). 

Another problem is that locations of shapes (16x16 round shaped graphics). I put on them to bitmap. After that it is on the bitmap you know. They are scroll out with smooth scrolling LOL! I should adding scroll value to all shapes location when blit. But when I use Dual playfield and put shapes to front bitmap which doesn't scroll, I still can use QBlit and never scroll out with smooth scrolling. I think.. I hope.. 

Accomplishments:

  • smooth scrolling

ToDo:

  • Dual Playfield

Get My First Shooting Game For Amiga

Leave a comment

Log in with itch.io to leave a comment.