Indi originally started a thread linking all the tutorials for beginners that I had scattered around the forums. In that thread it was suggested that it would be easier to find individual tutorials if the first post contained links to each one as an index - rather than having to scroll through all posts to find each one.
Unfortunately, as Indi started the thread I was unable to edit the first post so I've started this new one. I can then update the first post if and when new tutorials are added.
The old thread has been un-stickied and is here:
http://forum.thegamecreators.com/?m=forum_view&t=96010&b=7
TDK_Man
Tutorial Index:
1. TDK's Programming For Beginners Part I - Variables
Part one of a series of tutorials from my web site which covers the basic building blocks of programming in Dark Basic - 99.9% of which is relevant to both DBC and DBPro users starting to learn programming.
Subjects Covered:
* Numeric Variables
* String Variables
* Single Dimension Arrays
* Multi-Dimensional Arrays
* Cubic Arrays
* Maths Operators
* Relational Operators
* If...Then Conditions
2. TDK's Programming For Beginners Part II - Layout, Structure And Style
Part 2 looks at program control and how to organise your code to make it easier to add to and locate errors.
Subjects Covered:
* Program Jumps
* For...Next Loops
* Do...Loops
* Repeat...Until Loops
* While...EndWhile Loops
* Program Layout
* Indentation
* Subroutines
* Variable Scope (Local/Global)
3. TDK's Programming For Beginners Part III - Elementary Commands
Part 3 covers a few 'building blocks' commands which allow you to write the most basic of programs.
Subjects Covered:
* Screen Output
* RGB()
* RGBR(), RGBG() and RGBB()
* Ink
* CLS
* Print
* Set Cursor
* STR$()
* Text/Center Text
* 2D Graphics Commands
* String Functions: Left$(), Mid$(), Right$() and CHR$()
* VAL()
* ASC()
* Rnd() and Randomize
* Mouse and Keyboard Input
4. TDK's Programming For Beginners Part IV - File Access
Part 4 shows you how to read and write data from and to disk, including a section on creating a hiscore table in your games.
Subjects Covered:
* Open To Write
* File Exist()
* Open To Read
* File End()
* Saving Arrays
* Saving Hiscore Tables
* File Formats
* Loading Routines
* Reading Other Files
* Reading Files With Line Lengths Greater than 255 Characters
5. Choosing The Correct Variables
DB Classic has both integer and float variables. This tutorial shows you how to decide which to use and why.
6. Functions In DB Classic & DB Pro
The essential guide to what Dark Basic functions are, what the benefits of using them are, how they are used and what to look out for when using them.
7. Everything You Wanted To Know About Strings
Pretty much all you need to know about using strings in your DB programs. From cutting them up and joining them back together again to shuffling and dealing a pack of cards - it's all here!
8. TDK's Timer Tutorial
How to use the Timer() function to add clocks, timer events and counters to your DB programs.
9. DB Matrix Primer
The DB terrain matrix explained fully and in detail, but in plain easy to understand terms. From initial creation to texturing and deforming - everything you need to know.
10. Dark Basic Collision Made Simple
How to stop DB objects passing through each other using the native DB collision commands.
Subjects Covered:
* Object Hit()
* Object Collision()
* Collision With Objects With Unknown Object Numbers
* Sliding Collision
* Make Object Collision Box
* Get Object Collision X()
* Get Object Collision Y()
* Get Object Collision Z()
11. 2D Shooting - A Basic Introduction (DBC & DBP)
A primer for DBC and DBP on how to shoot bullets in 2D games and still move - including firing multiple bullets.
12. Game logic for Beginners
How to turn the game you can see in your mind into a Dark Basic program.
13. DB Multiplayer Commands Tutorial
Want to create a multiplayer game in DB? This tutorial will bring you up to speed on all the commands you need to make it happen.
14. Beginners Introduction To Particles In DB Classic
An in-depth look at simulating particles in DB Classic (Pro has it's own particle commands). Make flames, smoke, clouds, dust, weather effects and much, much more.
15. A Guide On Writing Tutorials
Think you could write a tutorial yourself? Check out this guide to see what is expected of you if you do.
16. A Tutorial On How To Create In-Game Menus
Need a menu screen in your game with clickable buttons? This tutorial shows you three methods of doing it - the hardest part is deciding which method to use...
17. The Secrets Of Set Camera To Follow
Can't get the camera to follow you character or car. Check out this tutorial to find out where you are going wrong. Even includes a media-less boxing ring! Go figure what that's for...
18. How To Avoid Using Goto
A simple explanation of why using Goto can cause your programs to stop working and also makes them a lot harder to write than they need to be. I also discuss why I think using functions for everything isn't really the right way to do things either...
TDK_Man