check if it loads?
if so does it exist?
draw 2d screen coordinates.
try this
#include "DarkGDK.h"
void DarkGDK ( void )
{
dbSyncOn ( );
dbSyncRate ( 60 );
dbMakeCamera( 1 );
dbSetCurrentCamera( 1 );
dbColorBackdrop ( 1 , dbRGB ( 2 , 2 , 2 ) );
dbPositionCamera ( 1 , 0, 80 , 0 );
dbPointCamera( 1 , 512 , 512 , 512 );
dbSetCameraFOV ( 1 , 80);
bool Load = false;
if (dbFileExist("Colonel-X.X")){
dbLoadObject ( "Colonel-X.X", 1 );}
dbPositionCamera ( 0, 50, -80 );
if (dbObjectExist(1))
{
char Buffer[128];
sprintf(Buffer,"Object Position: X = %s , Y = %s, Z = %s",dbObjectPositionX(1),dbObjectPositionY(1),dbObjectPositionZ(1));
}
while ( LoopGDK ( ) )
{
if (dbObjectExist(1))
{
dbText(0,0,"The Object Does Exist"
dbCircle(dbObjectScreenX(1),dbObjectScreenY(1),6);
}
if (Load==false){dbText(0,0,"Error! The Object Did Not Load");}
dbSync ( );
dbSleep(1);//just so it reduces processing.
}
return;
}
i came up with that just then. so i dont know if it would work. but i think it should.
Problem Solution That Never Fails: "Build A Bridge And Get Over It"