Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (VoroneTZ, monk12, Quad), 829 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
ever took a look at the M$ Dark GDK ? #241691
12/18/08 07:04
12/18/08 07:04

M
mercuryus OP
Unregistered
mercuryus OP
Unregistered
M



The code look very similar to lite-c to me wink

Code:
Easy Game Development

Here's an example to show just how easy Dark GDK is:

// 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 );

    // switch to the media directory, load our world
    // and turn lighting off
    SetCurrentDirectory ( "media" );
    dbLoadObject        ( "universe.dbo", 1 );
    dbSetObjectLight    ( 1, 0 );

    // load a model for our sky
    dbLoadObject        ( "skybox2.x", 2 );
    dbSetObjectLight    ( 2, 0 );
    dbSetObjectTexture    ( 2, 3, 2 );
    dbScaleObject        ( 2, 5000, 5000, 5000 );

    // position the camera
    dbPositionCamera    ( 434, 42, -517 );

    // camera variables
    float fCameraAngleX = 0.0f;
    float fCameraAngleY = 0.0f;

    // our main loop
    while ( LoopGDK ( ) )
    {
        // move the camera using the arrow keys
        dbControlCameraUsingArrowKeys ( 0, 5.0f, 0.3f );

        // create a rotation axis based on mouse movement
        fCameraAngleX = dbWrapValue ( fCameraAngleX + dbMouseMoveY ( ) * 0.4f );
        fCameraAngleY = dbWrapValue ( fCameraAngleY + dbMouseMoveX ( ) * 0.4f );

        // rotate camera
        dbXRotateCamera ( fCameraAngleX );
        dbYRotateCamera ( fCameraAngleY );
        
        // update the screen
        dbSync ( );
    }

    // return back to windows
    return;
}


http://gdk.thegamecreators.com/

Re: ever took a look at the M$ Dark GDK ? [Re: ] #241727
12/18/08 12:57
12/18/08 12:57
Joined: Aug 2002
Posts: 3,258
Mainz
oliver2s Offline
Expert
oliver2s  Offline
Expert

Joined: Aug 2002
Posts: 3,258
Mainz
Quote:
The code look very similar to lite-c to me


Very simliar but not exactly like lite-c.

Re: ever took a look at the M$ Dark GDK ? [Re: oliver2s] #241729
12/18/08 13:06
12/18/08 13:06
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Online
Senior Expert
Quad  Online
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
well they all look alike c,lite-c,something c... etc.

darkGDK is based on TheGameCreators' darkbasic i guess.

i saw it several times at visual studio express versions' download pages but never tried it.


3333333333
Re: ever took a look at the M$ Dark GDK ? [Re: Quad] #241740
12/18/08 15:46
12/18/08 15:46
Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Cowabanga Offline
Expert
Cowabanga  Offline
Expert

Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
i guess it's for darkbasic.

Re: ever took a look at the M$ Dark GDK ? [Re: Cowabanga] #241764
12/18/08 18:00
12/18/08 18:00
Joined: Sep 2003
Posts: 9,859
F
FBL Offline
Senior Expert
FBL  Offline
Senior Expert
F

Joined: Sep 2003
Posts: 9,859
I played around with Dark GDK a bit and also finished a small game.
Hooking up Newton for it is not a real problem if you know how to smile
I also dropped my Wiimote code into my Dark GDK project and had it running within an hour.

However I don't think it's really similar to Lite-C.
Ok, you program in C++, so the syntax is quite similar to Lite-C, that is true, but how things work is a bit different.
Especially the object index system is a different approach than the object pointer system (ENTITY*) of A7/Lite-C.
Also collision and particles are done differently.
A real pain was importing objects, as every tool seems to create different .x files.
I finally ended up writing a class for importing Acknex MDL5 files smile

I didn't really feel comfortable with Dark GDK as I'm used to Lite-C/A7 a lot, but you can create things FAST with it - and the tutorials are good enough to get you started. The manual lacks information, though.


Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1