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 / SDKs/GDKs Questions

Author
Message
Spooter
16
Years of Service
User Offline
Joined: 27th May 2008
Location:
Posted: 31st May 2008 23:25
So I finished my game today, and realized that actually didn't know how DarkGDK actually made it so that when you type dbSprite(); the compiler knows what your doing. So after search from google(and looking through all the header files in the include folder of DarkGDK) on how SDK's/GDK's work, i didn't come up with the information i wanted.So if anyone has any good explainations or any links to a good site, please feel free to post. I am mostly looking at stuff like when you type in stuff like dbSprite(1, 0, 0, 1); it actually knows to take the image with the ID 1, and print the picture to coordinate 0, 0 and label it as the number 1(if thats actually what the first 1 means, im not sure yet.). I am assuming that the information that tells the commands what to do is located in the .lib files. But if anyone has any information on that or any other information on how to go about making a SDK/GDK i would really appreciate it.
programing maniac
16
Years of Service
User Offline
Joined: 19th Apr 2008
Location: Bawk, Bawkity
Posted: 1st Jun 2008 15:28
I have had that same question, and the answer is this-

When you start a program, it always starts out with
#include "darkGDK.h"

The darkGDK.h is a header file and if you go to your programs menu-(this is where mine is)- C:\Program Files\The Game Creators\Dark GDK\Include

You should see that file there. Open it, and it says

#include DarkSDK.h, so go to that file. In that file is has things like

#pragma comment ( lib, "darksdk.lib" )

which is the lib file. go to C:\Program Files\The Game Creators\Dark GDK\lib

and you will fine the lib files. If you want to know how to write lib files-- your guess is as good as mine! I would figure it out, but I dont have anything that can read lib files, other than my notepad thing-- but that comes up really strange looking.

~~Its not about what you know, its about how you figure it out.~~
Spooter
16
Years of Service
User Offline
Joined: 27th May 2008
Location:
Posted: 1st Jun 2008 19:42
Yah they come on strange looking because their encrypted, so i'm assuming i have to write my own lib files or something.
programing maniac
16
Years of Service
User Offline
Joined: 19th Apr 2008
Location: Bawk, Bawkity
Posted: 1st Jun 2008 20:22
Yeah, they are encypted, and you probably will have to write your own.

I have never made a lib file-- only header-- (I dont really know if there is a huge difference) So I can't help you with that.

I would like to learn it though....

~~Its not about what you know, its about how you figure it out.~~
Spooter
16
Years of Service
User Offline
Joined: 27th May 2008
Location:
Posted: 1st Jun 2008 20:41
Well, the only difference that comes to mind is that your work is completely safe because the common person can't steal their stuff. But the downside is that no one can actually learn anything.
Lilith
16
Years of Service
User Offline
Joined: 12th Feb 2008
Location: Dallas, TX
Posted: 1st Jun 2008 21:05
lib files are NOT encrypted. They're the compiled executable form of code segments, which means they're not going to be readable as text in that they're machine code. They are not script any more than the compiled executable you generate when you compile your programs. When you create a piece of code that you want others to link to and use in their applications you create a .lib file of your code, usually along with a header file that provides information regarding the functions and data stored in them. You then tell your compiler to link the lib, or portions of it as necessary, into your code so you can call the functions built into it.

Lilith, Night Butterfly
I'm not a programmer but I play one in the office
dark coder
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 1st Jun 2008 21:06 Edited at: 1st Jun 2008 21:08
You don't write lib files, you compile to them, they are compiled code into a static library, as opposed to a dynamic library (DLL). They serve as a simple way to store compiled procedures, and with the required headers you can use anything that may be defined in them, this is useful because compile time is very quick, as the library is already compiled(similar to the .obj files created for every source file your project has). In addition to this, it safeguards the original code, you can create one in the new project wizard, I'm pretty sure there are some templates for them, or you could change the settings to one in the compiler.

/me shakes fist at Lilith

Spooter
16
Years of Service
User Offline
Joined: 27th May 2008
Location:
Posted: 2nd Jun 2008 00:32
I figured out how to create/use library files and I was wondering if anyone else would like me to write up a tutorial on how to do it? Just post answer/comments/questions.

Thanks
programing maniac
16
Years of Service
User Offline
Joined: 19th Apr 2008
Location: Bawk, Bawkity
Posted: 2nd Jun 2008 04:10
Uh..... A tutorial would be really good. I am clueless on how to do it.

Quote: " Just post answer/comments/questions. "


Uh, then I guess answer/comments/questions.

(Was that what I was supposed to do? Or do you want an answer, comment and a question?)

Thanks!

~~Its not about what you know, its about how you figure it out.~~
Spooter
16
Years of Service
User Offline
Joined: 27th May 2008
Location:
Posted: 2nd Jun 2008 05:32
I meant like if you had an answer on whether or not you wanted a tutorial, i mean post a comment if you had any other information about SDK/GDK/Library and i meant if you had any specific questions about library files i would try to answer them.

I'll start writing a tutorial for this. If anyone has any specific questions or any information that someone would like in the tutorial, post them and I will try and include them. I will probably have it done by June 3(probably by tomorrow though). I will look for posts during this time.

Thanks
programing maniac
16
Years of Service
User Offline
Joined: 19th Apr 2008
Location: Bawk, Bawkity
Posted: 2nd Jun 2008 21:03
Thanks! This will help a lot!

~~Its not about what you know, its about how you figure it out.~~
programing maniac
16
Years of Service
User Offline
Joined: 19th Apr 2008
Location: Bawk, Bawkity
Posted: 2nd Jun 2008 21:40
Hey, for the tutorial, I'll give you this-- a model of a human I just made. It isn't that great-- but it has bones and everything.

You need blender for it-
www.blender.org

Hopefully someone can use it!

~~Its not about what you know, its about how you figure it out.~~

Attachments

Login to view attachments
programing maniac
16
Years of Service
User Offline
Joined: 19th Apr 2008
Location: Bawk, Bawkity
Posted: 2nd Jun 2008 22:20
I gave it a jaw- To make it talk!

Hope you liked it!

I am open to any critisism-- remember, this is the first time I tried modeing a human!

Also, tell me if there are any misshaps when exported. Also if there are any problems.

~~Its not about what you know, its about how you figure it out.~~

Attachments

Login to view attachments
Spooter
16
Years of Service
User Offline
Joined: 27th May 2008
Location:
Posted: 3rd Jun 2008 03:40 Edited at: 3rd Jun 2008 03:40
Ok, thats cool, but how to does that actually fit into an sdk/gdk? no offense.

And the tutorials won't be done today sorry.

/*================================================*\
| Lead Programmer/Owner===============Anti-Triangle Cult=====|
\*================================================*/
programing maniac
16
Years of Service
User Offline
Joined: 19th Apr 2008
Location: Bawk, Bawkity
Posted: 3rd Jun 2008 03:48
you just export it into direct x format and load it onto darkGDK.

Then, in DarkGDK, you can move around the bones and also you can animate it and export it.

Quote: "And the tutorials won't be done today sorry."


No rush! Take your time, I don't have a deadline of when I need to know how to make .lib files! I know how hard it is to write a tutorial.

Quote: "Ok, thats cool, but how to does that actually fit into an sdk/gdk? no offense."


Want me to make a tutorial of that? It is going to have a video, and some words to help you go along! It will be like a trade of tutorials!

~~Its not about what you know, its about how you figure it out.~~
programing maniac
16
Years of Service
User Offline
Joined: 19th Apr 2008
Location: Bawk, Bawkity
Posted: 3rd Jun 2008 23:45
So do you want the tutorial?

~~Its not about what you know, its about how you figure it out.~~
Spooter
16
Years of Service
User Offline
Joined: 27th May 2008
Location:
Posted: 4th Jun 2008 02:31
I'm sure that it would help the entire forum greatly if you made a tutorial, but I specifically am not using 3D. I don't really like 3D so it wouldn't help my tremendously. Sorry for delay of tutorial I'm just starting it right now because of work. It might be posted today it might not.

/*================================================*\
| Lead Programmer/Owner===============Anti-Triangle Cult=====|
\*================================================*/
programing maniac
16
Years of Service
User Offline
Joined: 19th Apr 2008
Location: Bawk, Bawkity
Posted: 4th Jun 2008 02:41
yeah, it probably would help the forum, I will try and get a good video one, I am terrible at writing. I am probably just going to record how to do it and edit it and add words of what I am doing.

Do you know of any free video editing software? It doesn't have to be facny, just be able to add words to the video.

~~Its not about what you know, its about how you figure it out.~~
programing maniac
16
Years of Service
User Offline
Joined: 19th Apr 2008
Location: Bawk, Bawkity
Posted: 4th Jun 2008 02:50
wait, I found on, windows movie editor, turned out I already had it, came with the system lol!

~~Its not about what you know, its about how you figure it out.~~
Spooter
16
Years of Service
User Offline
Joined: 27th May 2008
Location:
Posted: 4th Jun 2008 04:52
Ok the tutorial is done. I am going to post it in a new thread with the subject , Static Library Files(Tutorial)

/*================================================*\
| Lead Programmer/Owner===============Anti-Triangle Cult=====|
\*================================================*/
Spooter
16
Years of Service
User Offline
Joined: 27th May 2008
Location:
Posted: 6th Jun 2008 22:11 Edited at: 6th Jun 2008 22:24
Hey programming maniac, good job with the models dude. I'm moving to a new 3d fighting game, and I was wondering if you can make or inform me how to make a basic model of a stick figure. Also do you know how to implement a .blend file into a darkgdk game?

/*================================================*\
| Lead Programmer/Owner===============Anti-Triangle Cult=====|
\*================================================*/
programing maniac
16
Years of Service
User Offline
Joined: 19th Apr 2008
Location: Bawk, Bawkity
Posted: 6th Jun 2008 23:14
Quote: " Also do you know how to implement a .blend file into a darkgdk game?"


Yes. Go to the file menu, then scroll down and you should see export, click that and scroll down to direct .x and click that.

When the new screen opens, click flip y axes, and then export.

Quote: "I was wondering if you can make or inform me how to make a basic model of a stick figure."


There are great tutorials for blender everywhere, look it up. But this is an amazing tutorial thing that has ike 500 tutorials-

http://en.wikibooks.org/wiki/Blender_3D:_Noob_to_Pro

Good luck!

~~Its not about what you know, its about how you figure it out.~~
Spooter
16
Years of Service
User Offline
Joined: 27th May 2008
Location:
Posted: 6th Jun 2008 23:37
Thanks, I will look into it.

/*================================================*\
| Lead Programmer/Owner===============Anti-Triangle Cult=====|
\*================================================*/
programing maniac
16
Years of Service
User Offline
Joined: 19th Apr 2008
Location: Bawk, Bawkity
Posted: 6th Jun 2008 23:39
No problem, and if you need any help along the way, like more good tutorial sites or something, you can use my MSN account to contact me.

Good luck, hopefully we will have another person who can model on this forum!

~~Its not about what you know, its about how you figure it out.~~

Login to post a reply

Server time is: 2024-11-17 17:43:27
Your offset time is: 2024-11-17 17:43:27