@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.
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
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
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
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 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.
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, =).
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?
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?
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.
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.
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
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.
1>c:\users\*****\documents\visual 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\visual studio 2008\projects\project1\1rst person shooter\1rst person shooter\main.cpp(19) : error C2059: syntax error : ')'
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.
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!
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?
: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!
Like cleo mods lol
wkm600mati 5 months ago
@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.
pqowieuryt101 8 months ago
How do i move the camera with WASD?
MrDuskling 1 year ago
@MrDuskling look into dbKeyState
pqowieuryt101 1 year ago
@pqowieuryt101 How did i not think of that?
thanks
MrDuskling 1 year ago
Cannot open include file: 'DarkSDK.h': No such file or directory
I did add it to the project folder.
LegoLoverFilms 1 year ago
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
LegoLoverFilms 1 year ago
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...
LegoLoverFilms 1 year ago
Sorry for double post but this is now the error
1>c:\users\tom\documents\visual studio 2008\projects\fps1\fps1\main.cpp(19) : error C2146: syntax error : missing ')' before identifier 'f'
1>c:\users\tom\documents\visual studio 2008\projects\fps1\fps1\main.cpp(19) : error C2059: syntax error : ')'
ItsSafingUp 1 year ago
Can you help me? it always comes up cannot find fps1.exe but I thought it would make it by itself? please help :L
ItsSafingUp 1 year ago
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 1 year ago
@djsotos IF statements, functions, do and for loops, arrays and maybe classes. That sort of thing..
pqowieuryt101 1 year ago
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?
ntwiles 1 year ago
This has been flagged as spam show
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
01mc 1 year ago
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
01mc 1 year ago
WTF i cant see my gun HELP!!!!
1MinuteOfYurLife 1 year ago
Hm.. All I get is a black screen, noting else and I did exactly what you said.
dorzoz 1 year ago
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
Coheednmadness 1 year ago
thx for the best video
abujp1993 1 year ago
whoaw lol its too easy;;
abujp1993 1 year ago
Nice, but i cant et my gun or the guy to appear?
malroTheo 2 years ago
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.
GTAmyths94 2 years ago
oh my god
Obliviboy12 2 years ago
This is AWSOME...
i didnt know that Dark GDK was so easy to use!!!
THXTHXTHXTHXTHX
godsboys101 2 years ago
Merci ! Thank you ! Danke !
curlywars 2 years ago
hmm i folowerd this tut but i don't see mine weapon and that animal
can someone help me?
jwzmarijnajax2 2 years ago
*quack quack quack*
Mechz 2 years ago
Nvm i found it...disregard that last comment
MaxiMachine 2 years ago
I have Dark GDK installed, but when creating a new project it doesnt have "Dark GDK Game"
MaxiMachine 2 years ago
thanks dude i got i working!!
unstman12 2 years ago
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...
InsaneTaliban 2 years ago
Nvm found out
InsaneTaliban 2 years ago
i have the same problem as you!
how did u fix it
thanks
unstman12
unstman12 2 years ago
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).
InsaneTaliban 2 years ago
for some reason when I click debug it comes up with a error saying it can't find 'd3dx9.h'...any help?
DarkRage4 2 years ago
I fixed this but now it says it cannot open d3dx9.lib, even tho I added it to the library files
DarkRage4 2 years ago
it's because you don't have direct x 9 installed
pqowieuryt101 2 years ago
I have the latest directx installed...it says it can't open it, not that it can't find it
DarkRage4 2 years ago
*fixed
DarkRage4 2 years ago
I can't see the weapon or NPC.
OlloX3 2 years ago
dbControlCameraUsingArrowKeys ( 0, 5.0f, 0.3f );
thats a better config
eliteveteran 2 years ago
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, =).
eliteveteran 2 years ago
uh no you don't, you just put the models in the same file as the c++ project. very bad advice your giving....
spartasoldier300 2 years ago 2
didnt work for me, forget the paste part, the re-installing did it for me.
eliteveteran 2 years ago
oh and there was an accidental space, thats probably why.
spartasoldier300 2 years ago
what tutorial is after the basics?
McClover 2 years ago
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?
rsman222 2 years ago
it basically locks it onto the camera
McClover 2 years ago
Yeah, I just found it in the help file. I didn't find it when I used the search bar...
rsman222 2 years ago
mine said syntax error
t377y000 3 years ago
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.
pqowieuryt101 3 years ago
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?
PSNBloodraid 3 years ago
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);
spartasoldier300 3 years ago
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++?
PSNBloodraid 3 years ago
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.
rsman222 2 years ago
oh yeah also could you recommend any good tutorials for learning the language of DarkGDK C++ cause im a noob at this.
Jakevtheboxer 3 years ago
Comment removed
spartasoldier300 3 years ago
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.
Jakevtheboxer 3 years ago
so yeah got it to work but their is no gun showing or enemy, wonder what i did wrong anyone that can help?
Jakevtheboxer 3 years ago
Did you include the models in the project folder as shown?
pqowieuryt101 3 years ago
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
Jakevtheboxer 3 years ago
no you don't need that, the only thing I can think of is that the models are in the wrong place
pqowieuryt101 3 years ago
I had the same problem, i'll figure it out now.
eliteveteran 2 years ago
Sweet, source code. =)
EmberStudios 3 years ago
Im gonna give DarkGDK a try.
Looks fun.
Petterss22 3 years ago
it won't compile it keeps having a error
mraucott 3 years ago
What's the error?
DarkGDK 3 years ago
Thanks, did so re-installed GDK but still no Luck, I can run other engines though,
bremner006 3 years ago
Where is the compiler
bremner006 3 years ago
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.
rsman222 3 years ago
I uninstalled GDK, Now what to do =) Im so use to C# :(
bremner006 3 years ago
Alright, lets get started darkGDK... yah couldnt resist. Your an inspiration man! my children wanna be just like you :'[
Fordie15 3 years ago
hmm...
how come mine dont show FPS?
and i didnt see the FPS code,why it will display?
VisualBasicNET 3 years ago
the fps number was fraps which is a hq game recorder..it wasn't his actual game
DarkRage4 2 years ago
oh,i done it
i didnt register the header dicrectionary so will error
VisualBasicNET 3 years ago
dbControlCameraUsingArrowKeys(0,2.0f,2.0 f);
did u remove the space between the 2.0 and the f?
pqowieuryt101 3 years ago
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
hackinpro 3 years ago
OMG @@
i copied darkSDKCore.h into project folder,the visual C++ 2008 compiler keep error for :"could not find file darkDSKCore.h"
VisualBasicNET 3 years ago
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
VisualBasicNET 3 years ago
Could you please upload a link for the graphics? Thankyou :P
JoeKinglake 3 years ago
the models and graphics are in the DarkGDK sample folder where you installed it.
pqowieuryt101 3 years ago
It keeps failing what am i doing wrong?
Axeltehbeast 3 years ago
Nvm :)
Axeltehbeast 3 years ago
*Crys* It Still failing now. It worked 1 time.
Axeltehbeast 3 years ago
1>c:\users\*****\documents\visual 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\visual studio 2008\projects\project1\1rst person shooter\1rst person shooter\main.cpp(19) : error C2059: syntax error : ')'
This is my Error.
Axeltehbeast 3 years ago
Super Nvm i fixed it all please Delete my previous posts xD
Axeltehbeast 3 years ago
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.
eliteveteran 3 years ago
didnt work..
PureT3x4n 3 years ago
can i make mmorpg's with dark gdk????
youngprogrammer 3 years ago
If you really want to but it is very hard.
pqowieuryt101 3 years ago
Getting multiple people to connect at once would be the hardest i think.
Over to you Neil!
Fordie15 3 years ago
good video
mikeyhallat 3 years ago
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!
rexyke12 3 years ago
I don't really know how I didn't if it's all there? Should I install it again?
drummingd 3 years ago
you should either search for the header file or reinstall it.
Orion4442 3 years ago
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!
drummingd 3 years ago
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?
pqowieuryt101 3 years ago
Hey, i done everything and it is all perfect.
But how do i get the Frames per second in the bottom left corner?
bsetnaker 3 years ago
Why do make the matrix in the loop? In DB it would crash.
h8s2 3 years ago
good point, Dont know really. Works though
pqowieuryt101 3 years ago
can u shoot?
kotahlicious 3 years ago
more advanced stuff please
kotahlicious 3 years ago
: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!
yinsho 3 years ago
How do you create colision?
fightex12 3 years ago
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!!!
fightex12 3 years ago
I cant tell what the error is from this. pm me the code
pqowieuryt101 3 years ago
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)"
chris8519606 3 years ago
Thnx, but i figure it out,
but i stil dont now how to create colision could you help?
fightex12 3 years ago
nice im downloading DarkGDK Even though i don't know any c++ And Making This(Keep Up The Tutorials)
chris8519606 3 years ago
Nice. I don't know c++ but i reckon, from this, i could make a FPS. Very useful!
AnimatorRob 3 years ago
fucking awesome dude 10/5 deffintly :)
mouseroot 3 years ago
i think a lot of people will appreciate this, i know i would have lol 5 stars
Sweemoo 3 years ago