Beginners Guide To Basic Game Programming - (Index)

Started by kevin, April 20, 2008, 10:08:46 PM

Previous topic - Next topic

kevin


Beginners Guide To Basic Game Programming (Index)

www.PlayBASIC.com




Tutorial Index:


1. Beginners Guide To Basic Game Programming - Part I - Variables
  Part one of a series of tutorials covers the building blocks of programming in PlayBASIC - The majority of which will be relevant to most BASIC programming languages.

   Subjects Covered:

    * Numeric Variables
    * String Variables
    * Single Dimension Arrays
    * Multi-Dimensional Arrays
    * Cubic Arrays
    * Maths Operators
    * Relational Operators
    * If...Then Conditions



2. Beginners Guide To Basic Game Programming - Part II - Layout, Structure And Style
  Part 2 looks at program control and how to organize 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. Beginners Guide To Basic Game Programming  - 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
    * SetCursor
    * STR$()
    * Text/CenterText
    * 2D Graphics Commands
    * String Functions: Left$(), Mid$(), Right$() and CHR$()
    * VAL()
    * ASC()
    * Rnd() and Randomize
    * Mouse and Keyboard Input



4. Beginners Guide To Basic Game Programming - 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:

    * WriteFile
    * FileExist()
    * ReadFile
    * EndOFFile()
    * Saving Arrays
    * Saving Hiscore Tables
    * File Formats
    * Loading Routines
    * Reading Other Files



5. Choosing The Correct Variables
   PlayBASIC supports both integer and float variables. This tutorial shows you how to decide which to use and why.



6. User Defined Function Primer
  The essential guide to what PlayBASIC 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 PlayBASIC 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 PlayBASIC programs.



9. 2D Shooting - A Basic Introduction
   A primer on how to shoot bullets in 2D games and still move - including firing multiple bullets.



10. Game logic for Beginners
    How to turn the game you can see in your mind into a Play Basic program.




Acknowledgements:


 These preceding Beginners Guide To Basic Game Programming tutorials we're written by TDK_Man (a very talented and experienced programmer from the DB/Dbpro community). The tutorials we're converted for use with PlayBASIC with full permission in April 2008 by Kevin Picone.