// Dark GDK - The Game Creators - www.thegamecreators.com
// the wizard has created a very simple project that uses Dark GDK
// it contains the basic code for a GDK application
// whenever using Dark GDK you must ensure you include the header file
#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 );
dbSetCameraRange (1.0f,30000.0f);
dbMaximizeWindow();
dbHideMouse();
dbPlayObject (3);
dbLoopObject (3);
dbLoadObject("Image4.jpg",1);
dbLoadObject("detail.jpg",2);
dbLoadObject ("H-Jet Fighter-Move.x",3);
dbPositionObject (3,15,15,350);
dbSetupTerrain ();
dbMakeObjectTerrain(1);
dbSetTerrainHeightMap (1, "map.bmp" );
dbSetTerrainScale (1, 3.0f, 0.6f, 3.0f);
dbSetTerrainLight (1, 1.0f, -0.50f, 0.0f, 1.0f, 1.0f, 0.78f, 0.5f);
dbSetTerrainTexture (1,1,2);
dbBuildTerrain( 1 );
dbLoadObject ("skybox2.x",2);
dbSetObjectLight(2,0);
dbScaleObject(2,30000,30000,30000);
dbPositionCamera (400,250,50);
// our main loop
while ( LoopGDK ( ) )
{
if ( dbJoystickLeft () )
dbRollObjectLeft (3,-2);
if ( dbJoystickRight () )
dbRollObjectRight (3,-2);
// update the screen
dbSync ();
}
// return back to windows
return;
}
okay i need to get the jet right near me not so far away. Heres jet image just use the image from the terrain tutorial
Real men don't need sigs