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 / need help!!

Author
Message
James Bond
20
Years of Service
User Offline
Joined: 20th Jul 2004
Location:
Posted: 21st Jul 2004 00:15
how do you guyz learn dark basic?? .. how do you create all those games!! .... how do you learn how to program enemies .... how do you .. ?? .... how do you .. ?? ..... i'am sure u can't do all this by just reading the tutorials available on this sites .... or somewhere else in the web .......
PLEASE TELL ME WHERE I CAN COMPLETLY LEARN TO USE DARKBASIC !!!
Kentaree
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 21st Jul 2004 01:32
You start off by reading through the helpfiles, then working your way to tutorials, and working on your own games. Then, when you encounter problems, you go to the forum and ask questions. Not before you have even tried to learn the language.

AMD Athlon XP2800+
GeForce FX5200 128MB
1024MB DDR 333MHz RAM
AsriCE
22
Years of Service
User Offline
Joined: 10th Jan 2003
Location: Brunei
Posted: 21st Jul 2004 03:05
Yeps.. just like Kentaree said. Try the tutorials, refer each and every commands in the help files and most important of all, you must try to understand the logic behind the code. You don't have to rush. Code at your own pace and start small. Eventually, your coding skills will bloom when spring comes.

Here is a brief overview on how to program in DarkBASIC:
1) Initialization. This is the first thing you do. Here is where you create all your objects, load up all your images, levels, everything.

2) Main Loop. After loading up all your medias, you enter a loop. This is the main core of your program. Here, you perform all kinds of process and user input. E.G What to do if the user presses the "Enter Key"?

3) Release. You delete all objects, enemies, animations, etc before terminating the program.

To put the above in code, it would look like:



So what it does is that the cube will rotate in its Y-Axis if the user presses the Up-Key, and exits if the user presses the Enter-Key. Try experimenting the commands yourself. The more time you invest, the more experience you get. Hope that helps.

AsriCE Crew,
- Adi

There's only one hope.

Login to post a reply

Server time is: 2025-05-25 00:28:26
Your offset time is: 2025-05-25 00:28:26