#include "DarkGDK.h"
// the main entry point for the application is this function
void DarkGDK ( void )
{
// turn on sync rate and set maximum rate to 60 fps
dbSyncOn ( );
dbSyncRate ( 60 );
dbLoadAnimation ( "youwin1.avi", 1 );
dbLoopAnimation ( 1 );
// our main loop
while ( LoopGDK ( ) )
{
// update the screen
dbSync ( );
}
// return back to windows
return;
}
I have been trying to do this before too, and It still doesn't work for me. I tried putting the loop Animation out of the main loop. still doesn't work.
~~Its not about what you know, its about how you figure it out.~~