Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / tutoral

Author
Message
tvzen
14
Years of Service
User Offline
Joined: 3rd Dec 2009
Location:
Posted: 5th Dec 2009 18:15
anyone know where i can get some good tutoral
puppyofkosh
17
Years of Service
User Offline
Joined: 9th Jan 2007
Location:
Posted: 5th Dec 2009 18:49
For c++ in general? Or for anything specific?
Cuddle Bunniezzz 12
15
Years of Service
User Offline
Joined: 14th Jan 2009
Location: Buffalo, NY
Posted: 5th Dec 2009 22:29
Well, Paynterboi TicTacToe wrote this nice introductory tutorial for C++:
http://www.darkgdk.us/index.php?page=6

If your looking for some good C++ tutorials, check out the ones at C++.com
http://www.cplusplus.com/doc/tutorial/

And for DarkGDK, take a look at the ones that came with DarkGDK (check Start > All Programs > The Game Creators > Dark GDK > Tutorials). You could also learn some DarkBASIC Pro and then "translate" it into the DarkGDK equivalent functions.

http://www.darkgdk.us/ <- You can now submit pages, upload images, yet were lacking content. We need your help!
tvzen
14
Years of Service
User Offline
Joined: 3rd Dec 2009
Location:
Posted: 6th Dec 2009 04:56
umm....
i put this code in
#include "DarkGDK.h"


void DarkGDK ( void )
{

dbSyncOn ( );
dbSyncRate ( 60 );
dbLoadObject ( “Colonel-X.x”, 1 );
dbPositionCamera ( 0, 50, -80 );

while ( LoopGDK ( ) )
{

dbSync ( );
}


return;
}

like the tutoral
and it saild
1>------ Build started: Project: Dark GDK - Game4, Configuration: Debug Win32 ------
1>Compiling...
1>Main.cpp
1>c:\users\dubeau family\documents\visual studio 2008\projects\dark gdk - game4\dark gdk - game4\main.cpp(10) : error C2065: '“Colonel' : undeclared identifier
1>c:\users\dubeau family\documents\visual studio 2008\projects\dark gdk - game4\dark gdk - game4\main.cpp(10) : error C2065: 'X' : undeclared identifier
1>c:\users\dubeau family\documents\visual studio 2008\projects\dark gdk - game4\dark gdk - game4\main.cpp(10) : error C2228: left of '.x”' must have class/struct/union
1> type is ''unknown-type''
1>Build log was saved at "file://c:\Users\Dubeau Family\Documents\Visual Studio 2008\Projects\Dark GDK - Game4\Dark GDK - Game4\Debug\BuildLog.htm"
1>Dark GDK - Game4 - 3 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: &lt;script&gt; alert(1); &lt;/script&gt;
Posted: 6th Dec 2009 13:08 Edited at: 6th Dec 2009 13:13
rewrite this line:


the quote marks are “” instead of ""

make it :


Paynterboi TicTacToe
16
Years of Service
User Offline
Joined: 23rd Dec 2007
Location: That one place
Posted: 7th Dec 2009 20:41 Edited at: 7th Dec 2009 20:42
TO comment on Cuddle bunniez:
I have better tutorials on the way, after reading mine I realized it does provide usful information but it needs to be revised, the next one covers more topics and actualy begins to get you into makeing a game as opposed to simply explaining c++ elements and briefly explaining how to understand the demo's provided by DarkGDK.

The tutorials introduce c++ through the use of darkGDK as opposed to starting off with console programs. They are just intended to provide a different approach to learning C++ and DarkGDK.

Proud member of: DarkGDK.us

Login to post a reply

Server time is: 2024-10-01 18:25:02
Your offset time is: 2024-10-01 18:25:02