Look at attatched picture.
Code is 50/% functioning.
Your code does not work.
I tried to alter it to fix it.
But now returned to your orginal
code.
Goal 1. The frame still shows.
Goal 2. The background is successfully shown.
#include "DarkGDK.h"
void DarkGDK ( void )
{
dbSyncOn ( );
dbSyncRate ( 60 );
dbSetImageColorKey(0,0,0);
dbCreateAnimatedSprite ( 1, "The Sprite.png", 5, 5, 1 );
dbCreateAnimatedSprite ( 2, "The Background Image.png", 1, 1, 2 );
while ( LoopGDK ( ) ) {
dbCLS();
dbLoadBitmap("q.png");
dbSprite(1,0,0,2);
dbSprite(1,10,10,1);
dbPlaySprite ( 1, 1, 16, 200 );
dbSync ();
}
dbDeleteSprite(1);
dbDeleteSprite(2);
dbDeleteImage(1);
dbDeleteImage(2);
return;
}