Learn to write 2D and 3D games without any programming experience by harnessing the advanced 2D/3D graphics features of DarkBasic Professional. This easy-to-use language handles the entire game engine for you, so you are free to focus on designing and playing your own games. Written for beginners with no programming experience, DarkBASIC Pro Game Programming, Second Edition is a welcome change of pace from traditional game programming books. You won't need to spend time figuring out how the game engine works, but only what the game is supposed to do. You will be able to create self-contained executable games with the graphics and sound files stored inside the exe file. No DarkBasic runtime library is needed: compiled programs are self-contained and require only that DirectX is installed. Finally, a book for complete beginners who want to learn to write games!
Jonathan S. Harbour is an associate professor at the University of Advancing Technology (Tempe, AZ). His web site at www.jharbour.com includes an online forum and blog for book support. His most recent game projects are Starflight - The Lost Colony (www.starflightgame.com) and Aquaphobia: Mutant Brain Sponge Madness (www.aquaphobiagame.com).
Joshua R. Smith is a full-time professional game developer at Semi-Logic Entertainments in Palo Cedro, California. He has worked on several commercial games, such as Real War and Hot Wheels: Stunt Track Driver 2. Joshua is an avid C programmer but finds BASIC intriguing. He is currently living in Redding, California. In his spare time, he enjoys playing video games and spending time with his wife.
Part I: The Basics of Computer Programming 1. Welcome To DarkBASIC 2. Introduction to Computer Programming 3. Basic Commands, Variables, and Data Types 4. Characters, Strings, and Text Output 5. Repetition: Looping Commands 6. Making Programs Think: Branching Statements and Subroutines 7. More Power to the Numbers: Data Sequences and Arrays 8. Number Crunching: Mathematical and Relational Operators and Commands Part II: Game Fundamentals 9. Basic Graphics Commands 10. Game Graphics: Learning To Use Bitmaps 11. Drawing Animated Sprites 12. Programming the Keyboard, Mouse, and Joystick 13. Adding Sound Effects and Music To Your Game 14. Loading and Saving Information Using Files 15. Creating a 2D Arcade Game Part III: Advanced Topics 16. Tile-Based Scrolling and Level Editing 17. Multiplayer Network Programming 18. Fundamentals of 3D Graphics Programming 19. Loading and Rendering 3D Models 20. Creating a 3D Multiplayer Game Part IV: Appendixes A. Answers to the Chapter Quizzes B. Recommended Books and Web Sites C. ASCII Chart D. What's On The CD-ROM?