This eBook requires the free Adobe® Digital Editions software.
Before downloading this DRM-encrypted PDF, be sure to:
Sams Teach Yourself Game Programming with Visual Basic in 21 Days teaches the reader the art of game programming from the ground up. The reader is assumed to have basic programming knowledge that he wishes to apply to the creation of basic games. Upon completion of the book readers will have learned to build eight games including card games, puzzles, and strategy games, each focusing on a specific task and building the readerß³ knowledge and skill level. The final week is a culmination of the skills learned in the first two weeks where the reader builds a complete game incorporating sound, animation, etc.
Introduction.
What Should You Already Know about Programming? What Hardware and Software Do You Need? Conventions Used in This Book. Let the Games Begin!
WEEK 1. AT A GLANCE.
Day 1. The Art of Game Programming.Complex, But Not Too Complex. The Hidden Benefits of Programming Games. Why Use Visual Basic? Types of Games Best Suited to Visual Basic.
Games Using Straight Visual Basic. Visual Basic Games that Call the Windows API.
The Elements of Game Programming.
Game Design. Graphic Design. Sound Generation. Controls and Interfaces. Image Handling. Animation. Algorithms. Artificial Intelligence. Game Testing.
Summary. Q&A. Workshop.
Quiz. Exercises.
Day 2. Drawing Graphics with Visual Basic.Using Colors in Visual Basic.
The Color Constants. The System Colors. The RGB Function. The QBColor Function. Hexadecimal Numbers
Drawing Shapes.
The Line Method. The Circle Method.
Line and Fill Properties.
The DrawWidth Property. The DrawMode Property. The DrawStyle Property. The FillColor and FillStyle Properties.
The Graphics Controls.
The Line and Shape Controls. The Image and PictureBox Controls.
The Face Catch Game.
Playing Face Catch. Building Face Catch. Understanding Face Catch.
Summary. Q&A. Workshop.
Quiz. Exercises.
Day 3. Creating Game Screens with Fonts and VB Graphics.Setting Text Colors.
The ForeColor Property. The FontTransparent Property.
Working with Fonts.
The Font Property. Properties of Fonts.
The Nightshade Text Adventure Game.
Playing Nightshade. The Story. Getting Into the Game. Nightshade Hints. Nightshade's Help Menu. Building Nightshade. Understanding Nightshade.
Summary. Q&A. Workshop.
Quiz. Exercises.
Day 4. Developing Program Code.The Story of Life. The Rules of Life. Life Implementation. The Speed Problem. Linked Lists. An Object-Oriented List. Exploring the List Class. A Cell List. The Life Program.
Playing Life. Building Life. Understanding Life.
Summary. Q&A. Workshop.
Quiz. Exercises.
Day 5. Displaying and Manipulating Images.The Image Control in Detail.
