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.

DarkBASIC Discussion / Is there anyone who is smart or kind enough to help.

Author
Message
Big Man
20
Years of Service
User Offline
Joined: 4th Feb 2005
Location: BEHIND YOU!!!! (but I live in England)
Posted: 8th Feb 2005 01:56
HI
I am wanting to start a game.
I have tried many products ranging from the 3D games maker to dark basic and have decided to go for dark basic.
There is only one problem though.
I can't programme all that well, if there is anyone willing to help me out(via e-mail) or by this forum it would be great.

Thanks a lot.

Our aim is to keep the loo's clean, your aim can help.
Underworld 1020
21
Years of Service
User Offline
Joined: 2nd Mar 2004
Location: NY, USA
Posted: 8th Feb 2005 23:52
I think I can help you out...

Email: [email protected]
AIM: Underworld1020

Fud
20
Years of Service
User Offline
Joined: 16th Nov 2004
Location:
Posted: 9th Feb 2005 05:10
Programming Takes Practice! Don't be afraid of syntax errors

Teh Sig Goes Here.
Doom
20
Years of Service
User Offline
Joined: 31st Jan 2005
Location: Canada
Posted: 9th Feb 2005 06:06
Well im pretty newb too... ive just learned how to make 3d objects and make em move so yes

heres my info

email; [email protected]
msn: [email protected]
aol: davikewok

--director of BRUNCO STARTS academy/School of tech
Underworld 1020
21
Years of Service
User Offline
Joined: 2nd Mar 2004
Location: NY, USA
Posted: 9th Feb 2005 08:10 Edited at: 9th Feb 2005 08:21
Here's something to start off with...



Let me know if you understand it or not, if not then we start off a little simpler. I think I'm going to show you how to make a very basic FPS (First Person Shooter) type of game.

Benjamin
22
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 9th Feb 2005 11:47 Edited at: 9th Feb 2005 11:48
Quote: "I think I'm going to show you how to make a very basic FPS (First Person Shooter) type of game."

Uh, it might just be an idea to teach him the concept of variables first, then mathematical operators, then boolean logic, etc.

Multiplayer DLL on its way! Easy to use DLL for client/server multiplayer games.

CR: Because your mad
NanoBrain
20
Years of Service
User Offline
Joined: 20th Jan 2005
Location: Portland, OR
Posted: 9th Feb 2005 17:07
I agree with Benjamin. Start with the basics. Also, Big Man, DarkBasic comes with all the tutorials to teach you these concepts. From there, begin to experiment in DarkBasic with simple programs. I would suggest learning to code 2 dimensional programs first, so that there is not a 3rd dimension to confuse you.
Take time to read the tutorials. They are thorough enough to teach you high concepts. Lastly, programming invloves the much use of mathematics, which is used to create more sophisticated programs. So, learn to use formulas in code to do many things.

+NanoBrain+
Underworld 1020
21
Years of Service
User Offline
Joined: 2nd Mar 2004
Location: NY, USA
Posted: 9th Feb 2005 21:52
The first step would be to read all the tutorials that come with DarkBasic. I assumed that had already read them, but if you haven't then I suggest you read them first and I can walk you threw them if you want, but they are pretty good and easy to understand.

Element Designs
20
Years of Service
User Offline
Joined: 5th Nov 2004
Location: Upstate, New York
Posted: 9th Feb 2005 23:07
The first thing i programmed was a 2d intro for my game which actully worked out quite nice and it tought me alot about Loops,wait commands etc etc you should try after you have messed to much with the print command.

Element designs team
Underworld 1020
21
Years of Service
User Offline
Joined: 2nd Mar 2004
Location: NY, USA
Posted: 9th Feb 2005 23:35
Read this tutorial first (See Attachment)

Attachments

Login to view attachments
DeHonCha
20
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 15th Feb 2005 06:29
willing to help - what do you need to know?

For when they said I couldn't, I did...
heretic
20
Years of Service
User Offline
Joined: 19th Jul 2004
Location: the deepest, darkest, pit of cyberspace
Posted: 15th Feb 2005 06:43
take your TIME. read everything on this site about darkbasic. follow the tuts. most of all, be patient.

whenever someone farts, a demon gets his wings.
BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 15th Feb 2005 08:58
Experimentation is essential or else you will stain your pants and feel discouraged when you try something big in one go.

Build up toward your projects in small increments.

Crazy Donut Productions, Current Project: Project Starbuks
Sony stole our name!
Big Man
20
Years of Service
User Offline
Joined: 4th Feb 2005
Location: BEHIND YOU!!!! (but I live in England)
Posted: 17th Feb 2005 04:41 Edited at: 17th Feb 2005 21:03
Thanks guys I will keep every thing you said in mind.
I'll read the tutorials again.
But I am currently getting help from underworld 1020.
I understand the code snippet Underworld it is quite easy.Plus I have made a fps before maybe you can show me how to make a third person shooter or an Rpg.
Thanks Big Man

Our aim is to keep the loo's clean, your aim can help.
Big Man
20
Years of Service
User Offline
Joined: 4th Feb 2005
Location: BEHIND YOU!!!! (but I live in England)
Posted: 17th Feb 2005 20:59 Edited at: 17th Feb 2005 22:15
Underworld 1020
Here is a list of everything I know.
Print commands.
Loading bitmaps, sounds, Music, animations.
The wait command.
Setting the cursor.
Loading up a simple matrix/tera form.

Cheers.
P.s Here is a sample of code I wrote. It may seem a bit pathetic but it is the first program I wrote without the aid of the user manual that came with dark basic. You may need to load the sound "explode3.wav" for it to work properly.
Whoops I have just realised you don't need to setup the sync or anything like that.

Our aim is to keep the loo's clean, your aim can help.
Underworld 1020
21
Years of Service
User Offline
Joined: 2nd Mar 2004
Location: NY, USA
Posted: 18th Feb 2005 00:07 Edited at: 18th Feb 2005 07:44
Great, I'm glad that you understand the code I posted up above. The program you wrote is good, but I can show you something that will make the code a little shorter.

Take a look at this:


I simply used the "Text" command instead of the "Print" command. The "Text" command is similar to the "Print", but the the "Text" command includes the coordinates, so the "Set Cursor" command is not needed.

Also, I used a colon to seperate some commands and keep them on the same line. Colons are to use because it keeps the length of your code down a lot, so you don't have to keep scrolling down. However, if you keep using the colon on the same line, eventually your going to have to scroll horizontally. If want some good examples of the colon being used take a look in the "20 line Challenge" fourm on this site.

Another way to write some code that will do a countdown is this:


This time I made the code a little better by using some more simple commands. The "Center Text" command is similar to the "Text" command, but the "Center Text" command just centers the text on the specified coordinates and the "Text" commands doesn't.

I also used the "Str$" command this time. The "Str$" command simply takes a number value and turns it into a string value. This was needed because the "Num" value was a interger value. The "text" command and the "Center Text" command only output string values, so the Num integer value needed to be turned into a string value.

Another command I used was the "Cls" command, which you probably already know, but anyways it simple clears the screen.

The next new command I used was the "For" "Next" loop. A loop is exactly that, it just keeps loop the code inside the loop. The "Step" command tells the "For" "Next" loop to go up or down by a certain value, in this case -1.

The "Suspend For Key" command just waits until the user press a key before executing the rest of the code.

Big Man
20
Years of Service
User Offline
Joined: 4th Feb 2005
Location: BEHIND YOU!!!! (but I live in England)
Posted: 18th Feb 2005 02:20
Thanks loads underworld I was meaning to ask you for a way to make that code shorter.

Our aim is to keep the loo's clean, your aim can help.
Underworld 1020
21
Years of Service
User Offline
Joined: 2nd Mar 2004
Location: NY, USA
Posted: 18th Feb 2005 07:43 Edited at: 18th Feb 2005 09:20
No problem

I wrote some code that is a little more exciting, take a look:


I don't have time to explain it right now, but I will later.

Have fun

Big Man
20
Years of Service
User Offline
Joined: 4th Feb 2005
Location: BEHIND YOU!!!! (but I live in England)
Posted: 18th Feb 2005 22:21
Thats quite cool cheers underworld.

Our aim is to keep the loo's clean, your aim can help.
Underworld 1020
21
Years of Service
User Offline
Joined: 2nd Mar 2004
Location: NY, USA
Posted: 18th Feb 2005 23:33
I'm assuming that you understood the code, so if you want we can move on to something more advanced.

We can start by making a simple text based game if you want. Such as, Snake, Missle Command, or like a Tag type of game. Anything else you can think of is fine too, or if you want I can take a look at the FPS game that you wrote, or we can start a new one. I would wait before trying a RPG though because they can get quite complicated plus it takes tons of planning.

Or if you want I can just show you different commands and how to use them. Anything you wants fine

SageTech
20
Years of Service
User Offline
Joined: 3rd Dec 2004
Location: Orlando, Florida
Posted: 18th Feb 2005 23:39
i say start out programming something simple, but please! not the dreaded Hello World program

Sage Tech Manager
ionstream
20
Years of Service
User Offline
Joined: 4th Jul 2004
Location: Overweb
Posted: 19th Feb 2005 03:39
I remember when I was a newb...

Oh wait, no I don't, I never was one.

Underworld 1020
21
Years of Service
User Offline
Joined: 2nd Mar 2004
Location: NY, USA
Posted: 19th Feb 2005 04:25 Edited at: 19th Feb 2005 04:40
Personally I would prefer doing missle command because I think it would be cool to see Missle Command in a text based style. However, I don't know if the Big Man is ready for that yet.


This for you Sage Tech:




........
........

........
........







........
........

........
........







NinJA99
20
Years of Service
User Offline
Joined: 21st Jan 2005
Location: Windham, NH
Posted: 19th Feb 2005 21:36
At least DB is easier to learn than C/C++ or HTML or Javascript or Java (All of which I've learned)

PS im not trying to boast or anything

END TRANSMISSION
DeHonCha
20
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 20th Feb 2005 04:09
i really want to know all the game commands (and all that needs to be learned to know the game commands) in visual c 6 - really interested - any help?

For when they said I couldn't, I did...

Login to post a reply

Server time is: 2025-05-23 19:17:03
Your offset time is: 2025-05-23 19:17:03