darkGDK, a good C++ API?

Anything related in any way to game development as a whole is welcome here. Tell us about your game, grace us with your project, show us your new YouTube video, etc.

Moderator: PC Supremacists

Post Reply
DeFormat
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 34
Joined: Wed Apr 15, 2009 12:28 pm

darkGDK, a good C++ API?

Post by DeFormat »

Would darkGDK be a place to start learning an additional API at? I know C and C++ already. Just not all the 3d graphics and game development yet and i would like to learn it. I need some suggestions on what API to use.
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Re: darkGDK, a good C++ API?

Post by Falco Girgis »

DarkGDK is not an API, it's a game development library. I have never used it, though.
DeFormat
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 34
Joined: Wed Apr 15, 2009 12:28 pm

Re: darkGDK, a good C++ API?

Post by DeFormat »

>.< Thats me being a dumb ass. Anyways.. One of my friends used it on a school project for a 3d game and apparently it doesn't come with a collision detection so i would have to write one myself. Ill try it out and get back to you guys on how good it really is.


EDIT:: BTW, your Where to start videos on youtube, very useful :D
User avatar
Spikey
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 98
Joined: Sat Dec 13, 2008 6:39 am
Programming Language of Choice: C++
Location: Ottawa, Canada
Contact:

Re: darkGDK, a good C++ API?

Post by Spikey »

See this thread
http://elysianshadows.com/phpBB3/viewto ... it=darkgdk

Also there's several free collision detection libraries for darkgdk, Spark'y Collision Library is a notable one.
I've made a few thing with darkgdk, check out my signature for link ;)
DeFormat
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 34
Joined: Wed Apr 15, 2009 12:28 pm

Re: darkGDK, a good C++ API?

Post by DeFormat »

Ok ill be sure to check it out. Do you suggest starting with darkGDK for game development? Or another library?
DeFormat
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 34
Joined: Wed Apr 15, 2009 12:28 pm

Re: darkGDK, a good C++ API?

Post by DeFormat »

Its not that bad actually. Very simple. It can load BSP maps :D Compiled ones that is. Compiled into .pk3. You just have to get collision. Ill work on a simple walk around game in it and release it. Jsut as my first game.
User avatar
davidthefat
Chaos Rift Maniac
Chaos Rift Maniac
Posts: 529
Joined: Mon Nov 10, 2008 3:51 pm
Current Project: Fully Autonomous Robot
Favorite Gaming Platforms: PS3
Programming Language of Choice: C++
Location: California
Contact:

Re: darkGDK, a good C++ API?

Post by davidthefat »

Thats shit wont let you move your 2d sprite left or right... YOu got to rotate it 90 or 270 degrees to make it turn right... Just go to SDL or OpenGL...
User avatar
Spikey
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 98
Joined: Sat Dec 13, 2008 6:39 am
Programming Language of Choice: C++
Location: Ottawa, Canada
Contact:

Re: darkGDK, a good C++ API?

Post by Spikey »

@davidthefat
You shouldn't be using 'Move Sprite' anyway, if that's what you were referring to. All transformations (translate, rotate, etc) should be done with matrices or at least vectors. So I don't see how your comment justifies moving onto more complex libraries. DeFormat asked for a place to start, and taking baby steps is better than trying to do a huge leap. I would recommend DarkGDK for novice enthusiasts for it`s simplicity and time saving, it`s much more encouraging to see results early on.
DeFormat
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 34
Joined: Wed Apr 15, 2009 12:28 pm

Re: darkGDK, a good C++ API?

Post by DeFormat »

Im more into 3d stuff anyways. I made a cone that moves around and the camera follows it. The fast the cone goes, the farther away the camera gets, when you turn really fast it does that woosh thing like turning a car in GTA or somethin. Anyways, its pretty awesome.
afaik
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 19
Joined: Mon Jun 16, 2008 11:13 pm

Re: darkGDK, a good C++ API?

Post by afaik »

In case you made the jump into darkGDK, try and dig up some reviews for this book:
Starting Out with Games and Graphics in C++ by Tony Gaddis. It's a fairly new book and there aren't any reviews for him yet on amazon. I'm learning c++ with his starting with C++ book and wish I found him years ago. If you look into his other books, people say great things about him. I might buy the book to make programming a little more interesting instead of just working with just the command prompt. Any who, good luck.
User avatar
Kros
Chaos Rift Regular
Chaos Rift Regular
Posts: 136
Joined: Tue Feb 24, 2009 4:01 pm
Current Project: N/A
Favorite Gaming Platforms: PC, Playstation/2/3
Programming Language of Choice: C++
Location: Oregon,USA
Contact:

Re: darkGDK, a good C++ API?

Post by Kros »

To expand further on Gyro's post, an API is an Application Programming Interface. It generally is a library or module that allows you to access other application's "guts".

An easy to understand example is add-on writing for a nameless MMOG. In order to better facilitate add-on writing, some MMOG developers expose an API to their playerbase for this purpose. As you script your add-on in lua or whatever scripting language the MMOG decided on, you use pre-defined functions outlined in the API to do certain tasks within the game.

I.E. you might do something like: writeToChatLog("Blah blah blah", 1)

Where the first arg would be your message and the second an identifier to which channel/log/etc. the message writes to. Then, when running your script, your "Blah blah blah" message would send out to log 1.

For more if you're interested: http://www.computerworld.com/action/art ... leId=43487 (they write much better than I do. =] )
Isaac Asimov wrote:Part of the inhumanity of the computer is that, once it is competently programmed and working smoothly, it is completely honest.
YouTube Channel
User avatar
ibly31
Chaos Rift Junior
Chaos Rift Junior
Posts: 312
Joined: Thu Feb 19, 2009 8:47 pm
Current Project: Like... seven different ones
Favorite Gaming Platforms: Xbox 360, Gamecube
Programming Language of Choice: C++, ObjC
Location: New Jersey.

Re: darkGDK, a good C++ API?

Post by ibly31 »

I tried DarkGDK because of the flashy page where i got VC++, and It sucked... I decided to move on to SDL(thanks to ES team ;D) and thento irrlicht for 3D. Its good for beginner stuff but it seems to only have functions for stuff shown in the demos if you know what I mean. If you want to do anything beyond "dbMoveCameraWithArrowKeys()" I suggest moving to something with more control. Beware though; more control usually means more complex.
Image
Twitter
Website/Tumblr
My Projects

The best thing about UDP jokes is that I don’t care if you get them or not.
Post Reply