Added: 3 years ago
From: pqowieuryt101
Views: 9,544
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (106)

Sign In or Sign Up now to post a comment!
  • Like cleo mods lol

  • @EpilepticElbow well DarkGDK is based around C++... but C# is quite similar to C++ in terms of syntax so I imagine it would help you, even if just in the understanding of it.

  • How do i move the camera with WASD?

  • @MrDuskling look into dbKeyState

  • @pqowieuryt101 How did i not think of that?

    thanks

  • Cannot open include file: 'DarkSDK.h': No such file or directory

    I did add it to the project folder.

  • Nevermind, I looked on the forums. Thank you SO much! Java was getting on my nerves, and C++ is my kind of language. BTW, I made a Pig Latin/English translator in C++ once XD

  • So, I installed the GDK, but the template doesn't show up in Visual Studio 2010. Is 2008 required? I liked 2008 a lot better...

  • Sorry for double post but this is now the error

    1>c:\users\tom\documents\visua­l studio 2008\projects\fps1\fps1\main.c­pp(19) : error C2146: syntax error : missing ')' before identifier '­f'

    1>c:\users\tom\documents\visua­l studio 2008\projects\fps1\fps1\main.c­pp(19) : error C2059: syntax error : ')'

  • Can you help me? it always comes up cannot find fps1.exe but I thought it would make it by itself? please help :L

  • What skill level is required to make simple nice games with Dark GDK? I mean, I know some C++, not great, but good enough.

  • @djsotos IF statements, functions, do and for loops, arrays and maybe classes. That sort of thing..

  • Hey dude great tutorial. I have a problem though. It compiles fine but every time I run it I get a popup message that says "There is no disk in the drive. Please insert a disk into drive D". Do you know what happened?

  • hi kl video just wondering is that a frames per second counter on the bottom left if so any chance of some code its a useful thing to have im moving over from xna and c# thnx a bunch

  • WTF i cant see my gun HELP!!!!

  • Hm.. All I get is a black screen, noting else and I did exactly what you said.

  • good tutorial but I can't run, when I build it I get 7 errors and I have the exact same code you have. It says my errors are with ' } ' symbols ive had the same problem even on much simpler programs. Idk what the problem is

  • thx for the best video

  • whoaw lol its too easy;;

  • Nice, but i cant et my gun or the guy to appear?

  • THX for this tutorial !!Ive always worked with Unity but i think more coding is cooler ^^. But the game from the tut has a high loading time on my PC.

  • oh my god

  • This is AWSOME...

    i didnt know that Dark GDK was so easy to use!!!

    THXTHXTHXTHXTHX

  • Merci ! Thank you ! Danke !

  • hmm i folowerd this tut but i don't see mine weapon and that animal

    can someone help me?

  • *quack quack quack*

  • Nvm i found it...disregard that last comment

  • I have Dark GDK installed, but when creating a new project it doesnt have "Dark GDK Game"

  • thanks dude i got i working!!

  • hey some1 help i followed this tutorial but when I ran this there was no gun or ogre, just a blue screen with white blocks. I can move though...

  • Nvm found out

  • i have the same problem as you!

    how did u fix it

    thanks

    unstman12

  • ok if you coded everything out right then all you need to do is this:

    go to the project folder you saved in, there is going to be another folder in it(open it),

    now you will have to go to the place where you installed DarkGDK

    (mine was:

    F:\Program Files\The Game Creators\Dark GDK)

    now open the Samples folder<Bin folder<Media Folder<(2nd)Media Folder(with Images).

  • for some reason when I click debug it comes up with a error saying it can't find 'd3dx9.h'...any help?

  • I fixed this but now it says it cannot open d3dx9.lib, even tho I added it to the library files

  • it's because you don't have direct x 9 installed

  • I have the latest directx installed...it says it can't open it, not that it can't find it

  • *fixed

  • I can't see the weapon or NPC.

  • dbControlCameraUsingArrowKeys ( 0, 5.0f, 0.3f );

    thats a better config

  • Anybody who had the errror where nothing except the blue background showed up, you have to reinstall darkgdk and then on the left where it says source files - main.cpp etc, you paste the gun and the berzerker there, =).

  • uh no you don't, you just put the models in the same file as the c++ project. very bad advice your giving....

  • didnt work for me, forget the paste part, the re-installing did it for me.

  • oh and there was an accidental space, thats probably why.

  • what tutorial is after the basics?

  • I still don't understand how dbLockObjectOn would keep the gun in front of the camera. Does it lock the object onto another object that's nearest to the specified coordinates? And even then, how does the gun turn according to the direction of the camera? Does LockObjectOn do that too?

  • it basically locks it onto the camera

  • Yeah, I just found it in the help file. I didn't find it when I used the search bar...

  • mine said syntax error

  • dbControlCameraUsingArrowKeys(­0,2.0f,2.0 f); did you remove that space ^

    that space just appeared when I pasted the code in the description, I can't fix it.

  • Thanks for the tutorial, but I've got a question.

    I've been programming for a few years (Java & C#), but have just recently started C++. What would be the proper way to load and position all of the objects from another file?

  • to load objects:

    This is syntax

    dbLoadObject("filename", int id);

    i.e. dbLoadObject("Sample.x",1);

    to position objects:

    dbPositionObject(in id, x, y, z);

    i.e. dbPositionObject(1,10,20,30);

  • I understand how to do it, but I'm asking what would the proper way to load the files from a different C++ file.

    C# for example would just be something like

    LoadModels LM = new LoadModels();

    what would the correct format be for C++?

  • I would create an external level editor (Preferably in something that's easier to use, eg GameMaker) and then decide on a file format. Maybe putting the object filename first, and then the coordinates on the next line.

    Then, using DarkGDK's file functions, I would read the file from the game and create the objects according to that.

  • oh yeah also could you recommend any good tutorials for learning the language of DarkGDK C++ cause im a noob at this.

  • Comment removed

  • I think I could be putting them in the wrong place because when i did another tutorial on a cube and to put a design on the cube, the cube would show but the texture wouldnt.

  • so yeah got it to work but their is no gun showing or enemy, wonder what i did wrong anyone that can help?

  • Did you include the models in the project folder as shown?

  • yeah I did exactly as u did with atomiser and bezerker. Do u need anything else downloaded to show models cause i was on the dark gdk website and it says u will also need to download

    NVIDIA PhyX SDK 2.7.3

  • no you don't need that, the only thing I can think of is that the models are in the wrong place

  • I had the same problem, i'll figure it out now.

  • Sweet, source code. =)

  • Im gonna give DarkGDK a try.

    Looks fun.

  • it won't compile it keeps having a error

  • What's the error?

  • Thanks, did so re-installed GDK but still no Luck, I can run other engines though,

  • Where is the compiler

  • It took me a while to find that too... It's under the 'Build' Tab. Shortcut is F7, but you can't just compile a single Source file. You have to actually put it in a VC Project file, which is gay, but atleast it helps keep track of everything.

  • I uninstalled GDK, Now what to do =) Im so use to C# :(

  • Alright, lets get started darkGDK... yah couldnt resist. Your an inspiration man! my children wanna be just like you :'[

  • hmm...

    how come mine dont show FPS?

    and i didnt see the FPS code,why it will display?

  • the fps number was fraps which is a hq game recorder..it wasn't his actual game

  • oh,i done it

    i didnt register the header dicrectionary so will error

  • dbControlCameraUsingArrowKeys(­0,2.0f,2.0 f);

    did u remove the space between the 2.0 and the f?

  • i want to know to to design my own gun/map/ect.

    can you tell me the "program "with "url" to download it and thank you

  • OMG @@

    i copied darkSDKCore.h into project folder,the visual C++ 2008 compiler keep error for :"could not find file darkDSKCore.h"

  • nice tutorial...but can you show us the file path(you removed address bar,lol)

    i hasn't try,i will try when my project is done

  • Could you please upload a link for the graphics? Thankyou :P

  • the models and graphics are in the DarkGDK sample folder where you installed it.

  • It keeps failing what am i doing wrong?

  • Nvm :)

  • *Crys* It Still failing now. It worked 1 time.

  • 1>c:\users\*****\documents\vis­ual studio 2008\projects\project1\1rst person shooter\1rst person shooter\main.cpp(19) : error C2146: syntax error : missing ')' before identifier 'f'

    1>c:\users\*****\documents\vis­ual studio 2008\projects\project1\1rst person shooter\1rst person shooter\main.cpp(19) : error C2059: syntax error : ')'

    This is my Error.

  • Super Nvm i fixed it all please Delete my previous posts xD

  • to make an mmorpg in darkgdk would be really hard because you would have to program a login server and instancing, and also a socket between a client and your server which you have to make.

  • didnt work..

  • can i make mmorpg's with dark gdk????

  • If you really want to but it is very hard.

  • Getting multiple people to connect at once would be the hardest i think.

    Over to you Neil!

  • good video

  • Hello everyone! I've got an issue installing DarkGDK. I installed everything correctly, but the Wizards doesn't appear in Visual C++. Can you help me, please? Thanks!

  • I don't really know how I didn't if it's all there? Should I install it again?

  • you should either search for the header file or reinstall it.

  • It says that in my debug file in my project that I named "game 1," there is no such file as game 1.exe. It's right because there is not, but how do I get it there? Also, it's saying that in the code that DarkGDK put there which was: "DarkGDK.h," there is no such file type or directory. Wtf does this mean!

  • the .exe should be in game 1//game 1//debug. No such file type or directory means that it can't fing the DarkGDK header file. Did you install DarkGDK correctly?

  • Hey, i done everything and it is all perfect.

    But how do i get the Frames per second in the bottom left corner?

  • Why do make the matrix in the loop? In DB it would crash.

  • good point, Dont know really. Works though

  • can u shoot?

  • more advanced stuff please

  • :Subscribed: Thanks for the tutorial. I spent a few minutes after watching just putting different stuff in and playing with the textures of the objects. 5 stars!

  • How do you create colision?

  • c:\documents and settings\fightex\quick launch\visual studio 2008\projects\thegame\thegame\­main.cpp(19) : error C2146: syntax error : missing ')' before identifier 'f'

    c:\documents and settings\fightex\quick launch\visual studio 2008\projects\thegame\thegame\­main.cpp(19) : error C2059: syntax error : ')'

    Help PLis!!!

  • I cant tell what the error is from this. pm me the code

  • in The Code

    "dbControlCameraUsingArrowKeys­(0,2.0f,2.0 f)"

    You Need To Get Rid Of The Space Between 2,0 & f

    "dbControlCameraUsingArrowKeys­(0,2.0f,2.0f)"

  • Thnx, but i figure it out,

    but i stil dont now how to create colision could you help?

  • nice im downloading DarkGDK Even though i don't know any c++ And Making This(Keep Up The Tutorials)

  • Nice. I don't know c++ but i reckon, from this, i could make a FPS. Very useful!

  • fucking awesome dude 10/5 deffintly :)

  • i think a lot of people will appreciate this, i know i would have lol 5 stars

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more