Im not to sure about how to make a loading bar. but a opening credit/loading page would look somthing like this.
I cant quite remember what the command is to make an animated sprite
//display before game
void gameOpeningCredits ( void )
{
dbCreateAnimatedSprite ( 1, “animatedsprite.png”, 4, 4, 1 );
dbSprite ( 1, 0, 0, 1 );
dbSync();
dbSync();
dbWait(1000);
dbDeleteSprite ( 1 );
//Switch to game title
g_eGameMode = eGameTitle;
}
Hope this helps
Edit: change it to dbCreateAnimatedSprite. i haven't tested it like this but it should put you in the right direction.