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 / help me start at darkgdk

Author
Message
Travis Gatlin
15
Years of Service
User Offline
Joined: 14th May 2009
Location: Oxford, Alabama
Posted: 24th May 2009 04:43
please help im new to the scripting world i know some stuff but that is for a completely other editor i want DB but it is not compatible with vista please give me some code to start making games please! and i have seen the samples but i need more! i wanna make adventure games with guns.
kklouzal
15
Years of Service
User Offline
Joined: 15th May 2009
Location: Arizona
Posted: 24th May 2009 05:42
First off, let me say this,

LOL.



Secondly, you need to learn, at least, the basics of c++, before you start trying to make yourself a game.

Taking and using someone elses code is just not going to cut it. =]


But you could be like me, I started with c++ and GDK last monday and almost have a working RPG hehe.

I <3 C++ & Dark GDK 4 2 maek mai gamezorz! =D
Travis Gatlin
15
Years of Service
User Offline
Joined: 14th May 2009
Location: Oxford, Alabama
Posted: 24th May 2009 06:06
but how old are you?
Bran flakes91093
16
Years of Service
User Offline
Joined: 13th Sep 2008
Location: Crazy Land
Posted: 24th May 2009 06:08
Welcome to the forums. Here's some advice:

Begging for code (usually) gets you nowhere. Everyone will just ignore your plea, thinking to themselves: "Oh great. Just another noob that wants free code." Especially when you are extremely new to the programming world and think you can make the next Runescape or Call of Duty etc. What you should be doing is diving into C++ and learning the syntax and other necessary commands plus all of the important keywords. Here is a great website for doing just that: http://www.cplusplus.com/doc/tutorial/

The point of this was not to be harsh , but to give you the truth. Good luck learning C++!

#ifdef _DEBUG
FixBugs(All);
#endif
kklouzal
15
Years of Service
User Offline
Joined: 15th May 2009
Location: Arizona
Posted: 24th May 2009 06:10 Edited at: 24th May 2009 06:11
I'm 18 years old. =D

& I wasnt trying to be harsh, just letting him know whats up, but you did that better than me =P

I <3 C++ & Dark GDK 4 2 maek mai gamezorz! =D
Travis Gatlin
15
Years of Service
User Offline
Joined: 14th May 2009
Location: Oxford, Alabama
Posted: 24th May 2009 15:34
ok then....i just want some code to just play around with until i know how it works & im only 12
AlexI
19
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 24th May 2009 15:36
Quote: "ok then....i just want some code to just play around with"


You didn't look very far, it does come with lots of examples.

puppyofkosh
17
Years of Service
User Offline
Joined: 9th Jan 2007
Location:
Posted: 24th May 2009 16:08
Quote: "im only 12"

You shouldn't post your age.


And read the tutorials I found them very helpful when I started.
Travis Gatlin
15
Years of Service
User Offline
Joined: 14th May 2009
Location: Oxford, Alabama
Posted: 24th May 2009 17:07
i dont care if people know my age so what it is how many years i've been alive also i've looked at all of the tutorials that would help me but they didnt give me what to do or how to put the code!
Travis Gatlin
15
Years of Service
User Offline
Joined: 14th May 2009
Location: Oxford, Alabama
Posted: 24th May 2009 17:50 Edited at: 24th May 2009 17:50
ok now i now where to put the code but i put makeobjectcube(1);
and it says everything is right but it says one error it says error int assumed note:C++ doesnt support default int. where do i put the int?
jezza
16
Years of Service
User Offline
Joined: 8th Mar 2008
Location: Bham, UK
Posted: 24th May 2009 18:28
Did you read the c++ tutorial to which the link was posted earlier? Id recommend going through that and learning how to use C++ with the standard library before using DarkGDK.

Travis Gatlin
15
Years of Service
User Offline
Joined: 14th May 2009
Location: Oxford, Alabama
Posted: 24th May 2009 18:58
ok i will try
Travis Gatlin
15
Years of Service
User Offline
Joined: 14th May 2009
Location: Oxford, Alabama
Posted: 24th May 2009 19:02
ok i read the tutorial and it didnt help me with my problem
Bran flakes91093
16
Years of Service
User Offline
Joined: 13th Sep 2008
Location: Crazy Land
Posted: 24th May 2009 19:20 Edited at: 24th May 2009 19:37
You read the whole tutorial in 4 minutes? There is more than one page, you know. That whole website is for learning c++ with hundreds of pages. There is no way you read it all in 4 minutes. Learning C++ is not going to take a matter of minutes. It will take weeks (if you are really set on learning it and try hard) to months to learn and years to perfect.

By the way, try dbMakeObjectCube(...). Spelling and capital letters matter.

Also, take a look at the documentation: "<Drive>:\Program Files\The Game Creators\Dark GDK\Documentation\Dark GDK.chm"

That has all of the functions documented in Dark GDK.

Please put some effort into learning C++ first or plainly give up, because sooner or later everyone will get sick of you asking for help with not even a little bit of C++ knowledge.

EDIT: Sorry jezza I have a history of beating people in under a minute or two

#ifdef _DEBUG
FixBugs(All);
#endif
jezza
16
Years of Service
User Offline
Joined: 8th Mar 2008
Location: Bham, UK
Posted: 24th May 2009 19:21 Edited at: 24th May 2009 19:23
You read the whole tutorial in four minutes, and now have a complete understanding of c++? Well clearly you know more than us now.

EDIT: beat me to it.

Travis Gatlin
15
Years of Service
User Offline
Joined: 14th May 2009
Location: Oxford, Alabama
Posted: 24th May 2009 19:34
omg just never mind ok? i will figure it out on my own!
AlexI
19
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 24th May 2009 21:09
Quote: " i will figure it out on my own! "


Well done

prasoc
15
Years of Service
User Offline
Joined: 8th Oct 2008
Location:
Posted: 24th May 2009 23:20
*facepalm*
WH8
15
Years of Service
User Offline
Joined: 17th Mar 2009
Location:
Posted: 25th May 2009 01:28 Edited at: 25th May 2009 01:37
I recommend that you understand the following before using Dark GDK:

1.) Variable declaration and initialization.

2.) Function prototypes and function defining.

3.) Operators.

4.) Arrays.

5.) Types.

6.) if statements.

7.) while, for, and do...while loops.

8.) Logical AND, OR, and NOT.

9.) goto statements.

10.) Pointers and references.

11.) What a string is.

You need to understand the C++ syntax. If you don't understand the syntax, you will find yourself very easily confused.

I recommend that you start with console applications first before moving to creating applications with Dark GDK. Before I started using Dark GDK, I created console applications.

I recommend that you have some basic understanding of how a computer system works. Do some research on input devices, output devices, memory, CPU, and secondary storage devices. Learn how the instructions in a program makes its way from the hard disk drive, to the memory, and then to the CPU. Learn how data and instructions are stored in memory.

I also recommend that you have some knowledge on binary numbers and hexadecimal numbers.

I know this seems like a lot of stuff that you should know. You don't need to know everything that I posted. Knowing everything that I posted just helps. If you have any questions, please ask. Please remember to try hard to figure it out yourself before asking the question. Remember to be patient.
Travis Gatlin
15
Years of Service
User Offline
Joined: 14th May 2009
Location: Oxford, Alabama
Posted: 25th May 2009 01:38
well i have db now so i dont really need dark gdk any more
WH8
15
Years of Service
User Offline
Joined: 17th Mar 2009
Location:
Posted: 25th May 2009 02:04 Edited at: 25th May 2009 02:07
If I am correct, Dark BASIC uses the Basic programming language? If this is so, the recommendations still don't change. You should still understand about variables. You should still know functions. You should still understand if statements and loops. You should still understand the syntax.
Travis Gatlin
15
Years of Service
User Offline
Joined: 14th May 2009
Location: Oxford, Alabama
Posted: 25th May 2009 02:23
oh i can understand DB it is very easy dont worry i dont need any help.
Lilith
16
Years of Service
User Offline
Joined: 12th Feb 2008
Location: Dallas, TX
Posted: 25th May 2009 05:46
Quote: "well i have db now"


I thought it wasn't compatible with Vista.

Lilith, Night Butterfly
I'm not a programmer but I play one in the office
Travis Gatlin
15
Years of Service
User Offline
Joined: 14th May 2009
Location: Oxford, Alabama
Posted: 25th May 2009 06:04
it isnt you just need 2 give it admin powers!

Login to post a reply

Server time is: 2024-10-01 01:19:36
Your offset time is: 2024-10-01 01:19:36