Why wont my DBO files load in the GDK? How can I fix it?
#include "DarkGDK.h"
void DarkGDK ( void )
{
dbSyncOn ( );
dbSyncRate ( 60 );
dbMakeObjectSphere ( 1, 1 );
dbLoadObject ( "castle_worlda.dbo", 2 );
dbLoadObject ( "castle_worldb.dbo", 3 );
dbPositionObject( 2, 0, -100, 500 );
dbPositionObject( 3, 0, -100, 500 );
//dbScaleObject ( 2, .05, .05, .05 );
//dbScaleObject ( 3, .05, .05, .05 );
while ( LoopGDK ( ) )
{
/*if ( dbRightKey() )
{
dbMoveObjectRight ( 1, .5 );
}
if ( dbLeftKey() )
{
dbMoveObjectLeft ( 1, .5 );
}
if ( dbUpKey() )
{
dbMoveObject ( 1 , .5 );
}
if ( dbDownKey() )
{
dbMoveObject ( 1, -.5 );
}
*/
dbControlCameraUsingArrowKeys ( 0, 10, 5 );
dbSync ( );
}
return;
}
I think it has to do with the quotation marks I have in there but what is the problem?