Hands On DarkBASIC Pro

Contents (Volume 1)

Background Information

  • Algorithms
  • Stepwise Refinement
  • Structured English
  • Desk Checking
  • Boolean expressions

Starting DarkBASIC Pro

  • Creating a DarkBASIC Pro Project
  • Executing a Program
  • Understanding Screen Output
  • Text colour, size and font
  • Adding Comments

Data

  • Variables and Constants
  • The Assignment Statement
  • Arithmetic Calculations
  • Keyboard Input
  • READ and DATA
  • Strings
  • Creating Random Numbers

Selection

  • AND, OR and NOT Operators
  • The IF Statement
  • The SELECT Statement
  • Nested IF Statements
  • Testing Selection Constructs

Iteration

  • The DO..LOOP Construct
  • The EXIT Statement
  • The FOR..NEXT Construct
  • The SLEEP Statement
  • The REPEAT..UNTIL Construct
  • The WHILE..ENDWHILE Construct
  • Testing Iteration Constructs

Drawing Statements

  • Drawing Basic Shapes
  • Erasing Shapes
  • A First Attempt at Animation

Modular Programming

  • Creating Functions
  • Global and Local Variables
  • Mini-Specs
  • Parameter Passing
  • Pre and Post Conditions
  • Returning a Result

String Functions

  • Standard String Functions
  • Creating a Function Library

The Game of Hangman

  • Black Box Testing
  • Designing a Game
  • Equivalence Classes
  • White Box Testing

Arrays

  • Defining Arrays
  • Accessing Array Elements
  • Multi-dimensional Arrays
  • Programming Techniques Using Arrays
  • Searching and Sorting an Array

The Game of Bull and Touch

Advanced Data Types and Operators

  • INC and DEC Operators
  • Record Structures
  • Arrays of Records
  • Dynamic Lists
  • Declaring Variables
  • Queues and Stacks
  • Shift Operators
  • Bitwise Operators
  • Binary, Hexadecimal and Octal Values

Bitmaps

  • Basic Ideas
  • Loading a Bitmap
  • Displaying a Bitmap
  • Resizing a Bitmap
  • Positioning a Bitmap

Contents (Volume 2)

3D Concepts and Terminology

3D Primitives

Texturing

Cameras

Lighting

Meshes and Limbs

Importing 3D Models

User Control

Solitaire - The Board Game

Advanced Lighting and Texturing

Collisions

Particles

BSP Models

Elevators - a 3rd Person Game