i'm not sure how to use bitmaps, when i did the following:
#include "DarkGDK.h"
void DarkGDK ( void )
{
// dbSetWindowOff();
dbSetWindowPosition(160,88);
dbSetWindowLayout (1,0,0);
//dbMaximizeWindow();
dbSetDisplayMode (1280,1024,0);
dbScreenType ();
dbLoadBitmap ("title.png",2);
dbLoadImage ("cursor.png",3);
dbPositionMouse(640,512);
dbSyncOn ( );
while ( LoopGDK ( ) )
{
dbSync ( );
dbHideMouse ( );
dbSprite ( 3,dbMouseX(),dbMouseY(),3 );
dbCLS();
dbBox(0,128,1280,896, dbRGB(255,255,255),dbRGB(255,255,255),dbRGB(255,255,255),dbRGB(255,255,255));
dbSetCurrentBitmap (2);
}
}
the screen just turned black...