Table of Contents


beginner's guide to darkbasic game programming
Beginner's Guide to DarkBASIC Game Programming
by Jonathan S. Harbour and Joshua R. Smith  ISBN:1592000096
Premier Press © 2003 (711 pages)

Design and play your own games without worrying about the technical details of programming DirectX. DarkBasic handles the entire game engine for you! By the end of the book, you will have written complete 2D and 3D games.

has cd CD Content

Table of Contents
Beginner's Guide to DarkBasic Game Programming
Foreword
Introduction
Part I - The Basics of Computer Programming
Chapter 1 - Welcome to DarkBASIC
Chapter 2 - Introduction to Computer Programming
Chapter 3 - Basic Commands, Variables, and Data Types
Chapter 4 - Characters, Strings, and Text Output
Chapter 5 - Looping Commands
Chapter 6 - Making Programs Think—Branching Statements and Subroutines
Chapter 7 - More Power to the Numbers—Data Sequences and Arrays
Chapter 8 - Number Crunching—Mathematical and Relational Operators and Commands
Part II - Game Fundamentals—Graphics, Sound, Input Devices, and File Access
Chapter 9 - Basic Graphics Commands
Chapter 10 - Game Graphics—Learning to Use Bitmaps
Chapter 11 - The Art of Using Animated Sprites for 2D Games
Chapter 12 - Programming the Keyboard, Mouse, and Joystick
Chapter 13 - Adding Sound Effects to Your Game
Chapter 14 - Playing Some Tunes—CD Audio, MIDI and MP3 Music
Chapter 15 - Loading and Saving Information Using Files
Chapter 16 - Playing Intro Movies and Cut-Scenes
Part III - Advanced Topics—3D Graphics and Multiplayer Programming
Chapter 17 - Fundamentals of 3D Graphics Programming
Chapter 18 - Multiplayer Programming—The Crazy Carnage Game
Epilogue
Part IV - Appendixes
Appendix A - Answers to the Chapter Quizzes
Appendix B - Recommended Books and Web Sites
Appendix C - ASCII Chart
Appendix D - Guide to the CD-ROM
Index
List of Figures
List of Tables
List of Sidebars
cd content CD Content


Back Cover

You’re interested in programming games, but you don’t know where to start. Beginner’s Guide to DarkBASIC Game Programming is here to help. You’ll be programming games in no time—and with DarkBASIC, you’ll be amazed at how little code you have to write! DarkBASIC features more than a thousand commands geared toward game development, giving you a powerful tool as you put your newfound skills into practice. You’ll get coverage of both DarkBASIC and DarkBASIC Professional, as well as the complete DarkBASIC Language Reference on CD. This completely self-contained book is designed to give you all of the skills you need to begin an amazing journey into the world of game development.

About the Authors

Jonathan S. Harbour has been fascinated with computers since his first experience with a Commodore PET in 1979. He has been writing code for 15 years, having started with Microsoft BASIC and Turbo Pascal on a Tandy 1000. Jonathan graduated from DeVry Institute of Technology in 1997 with a bachelor’s degree in Computer Information Systems.

Joshua R. Smith is a full-time professional game developer at Semi Logic Entertainments, Inc. in Palo Cedro, California. He has worked on several commercial games, such as Real Ware and Hot Wheels: Stunt Track Driver 2. Joshua is an expert programmer, enjoys writing code in C and Macromedia Shockwave and Lingo, and is a longtime fan of the BASIC language.