Well, I replaced my cursor with a sprite, the only problem is that it is always behind my menu sprites. This is the order in which I load them and draw them to the screen:
void Load2DImages ( void )
{
dbLoadImage ( "Data\\Media\\Images\\MainScreenTitle.png", 1 );
dbSprite ( 1,50,45,1 );
dbHideSprite (1);
dbLoadImage ( "Data\\Media\\Images\\EscMenu.png", 2 );
dbSprite ( 2,400,128,2 );
dbHideSprite (2);
dbLoadImage ( "Data\\Media\\Images\\ExitButton.png", 3 );
dbSprite ( 3,480,661,3 );
dbHideSprite (3);
dbLoadImage ( "Data\\Media\\Images\\Cursor.png", 4 );
dbSprite ( 4,dbMouseX (),dbMouseY (),4 );
dbHideSprite (4);
}
and
if ( EscBut )
{
dbShowSprite(2);
dbShowSprite(3);
}
else
{
dbHideSprite(2);
dbHideSprite(3);
}
dbPasteSprite ( 4, dbMouseX (), dbMouseY() );
As far as my knowlege goes, the last called sprite command is the one rendered on top, and I think I use my cursor at the last but of every command.
Hope you guys can help me.
Isocadia