Gamestudio Links
Zorro Links
Newest Posts
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Trading Journey
by 7th_zorro. 04/27/24 04:42
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, 1 invisible), 770 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 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 Offline
Senior Expert
Quad  Offline
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