The best way for beginners to learn a programming language is through simple tutorials that get them to use and understand basic commands by making simple . TDK_Man’s Dark Basic Programming for Beginners Part 1 – Variables This is the first of an intended series of tutorials aimed at teaching the newcomer to. The following tutorial is assuming that you have just purchased Dark Basic, and will go over everything needed to start you off. This tutorial is.

Author: Grozilkree Kikree
Country: Venezuela
Language: English (Spanish)
Genre: Sex
Published (Last): 21 November 2006
Pages: 77
PDF File Size: 10.78 Mb
ePub File Size: 14.65 Mb
ISBN: 581-4-32032-937-1
Downloads: 17631
Price: Free* [*Free Regsitration Required]
Uploader: Vogal

The program makes it easy, and with a handful of impressive examples you can learn by doing on darkbssic short, fast programs. The up arrow would be ‘upkey ‘, the left arrow would be ‘leftkey ‘, down arrow would be ‘downkey ‘, and right arrow would be ‘rightkey ‘.

DarkBASIC Programming

But we want a darkasic person rpg Examples of real numbers: We will declare the variables ‘posx ‘ and ‘posz ‘. It looks like this: Its gonna be a heck of alot of tutorials though.

So how about we just make it 3rd Person? Our code should be: I have a youtube channel with over Project Videos! Now, take out the ‘ cls ‘ and the ‘ Wait ‘.


For an exercise, make the program wait untl you press the return key with a Repeat-Until, and add a sync. Yes, so you would have x1,y1,x2,y2. First of all, after the turning code, we need to declare two variables that use previous variables, functions, and trigonometry.

Lets make the width and the height both If you want to learn how to make video games and you think that you want to learn how to program then there is an excellent opportunity for you to do both.

Dark Basic Professional Beginner’s Tutorials

Its the same with the rgb r,g,b to the right of the bold comma, except that it changes the background color. Well, we have where to click the button Now its time to put it to works for the RPG! With this software you will be making your own games.

Now, thats not how you print words – to print words, all you need is to replace ‘ health ‘ with darkbasc “words here” ‘ and you get the words ‘ words here ‘ on the screen.


This way, it can change.

Although you must remember, at the end of an IF statement without the ‘then’ you must always have an ‘endif’. No no no, no sitcky yet.

Make video games with DarkBASIC

I think that explains it, does it not? Read the introduction to the website. Test it out, and wala! Easy stuff The last step finallyis re-defining the timer variable. I just pointed out a flaw. The next two are the actual speeds we find out by doing a little math. Tutoial r stands for red, b stands for blue, and g stands for green. Hey Xenocythe nice tutorials. Its called text hieght and text width. The comma is used for seperation between the variable and how much you want to increase by.

This is where we will have the main game code, so now I’m gonna test you. Math, and camera commands.

Every object you have must have a number so you can operate it.