Game Programming for Teens (英語) ペーパーバック – 2003/5
Kindle 端末は必要ありません。無料 Kindle アプリのいずれかをダウンロードすると、スマートフォン、タブレットPCで Kindle 本をお読みいただけます。
This volume takes young readers on a journey from ignorance to proverbial wisdom in the art of game programming. Beginning with nothing, the reader should learn the nuances of the Blitz Basic Language. The first part includes instructions on basic coding such as operators and statements. It provides an introduction to the language in general. After teaching loops and the like, the reader is trained in the art of style. During part two, the reader begins to learn how to work with graphics to create an enthralling experience. Page flipping and collision detection are explained in detail, as is basic image programming. Parallaxing effects are also included. Translations are looked into, as well as other items required in a graphical program. The final part of the book brings it to a close, it consists of everything else the reader will need on his journey. This section teaches the skills of sounds and music and Artificial Intelligence. Input, including that from the keyboard, mouse, and joystick.
Part I: The Basics of BASIC 1 1. Getting Started 2. Getting to Know BASIC 3. Loops, Functions, Arrays, and Types 4. The Style Factor Part II: Getting Graphical 5. Beginning Graphics 6. Page Flipping and Pixel Plotting 7. Basic Image Programming 8. Animation 9. Collision Detection Part III: Completing the Puzzle 10. Handling Input 11. Sounds and Music 12. Artificial Intelligence 13. The Final Frontier: Invaderz!!! Part IV: Appendices A. Scan Code Reference B. Useful Links C. What's on the CD Index --このテキストは、ペーパーバック版に関連付けられています。商品の説明をすべて表示する
I would also recommend this book to an adult who wants to learn the basics of game programming. It's a pretty fast read, very easy to follow. I personally learned a lot from this book. I've been programming computers for 30 years, but I've never written a graphics-based game before, and this book efficiently and easily goes through all the techniques for creating good games very quickly. I think it would also be fairly easily followed by a teen or adult who has never programmed before.
The book uses Blitz Basic, which is optimized for writing computer games and seems to be much easier to use than Visual Basic (the computer language I first tried when teaching my child). A trial version of Blitz Basic is on the CD-ROM included with the book, and the full version (called BlitzPlus) can be purchased online if desired (but is not required). The CD-ROM also includes excellent example artwork, animations, and sounds for the games described in the book, which is a great way to get a teen or pre-teen into programming without getting bogged down with creating art and sounds from the start.
By the way, this book covers creating 2D games (like Pong, Space Invaders, that sort of thing). 3D games are (I am told) much more challenging, and are covered in other books. (Blitz Basic is for 2D games; for 3D games, there is a related programming language called Blitz3D.)
I have one important complaint about this book, which is why I gave it 4 stars rather than 5 stars. There are many errors in this book. It could have used more careful technical editing. For example, in the section on arrays, the author carefully explains how the indexes for a 30-element array range from 0 to 29, and cautions the reader not to try accessing element 30 (which is one past the end of the array), and then proceeds to give a sample program that makes exactly this mistake. There are several errors of this magnitude in the book, and at least a minor mistake every 3 or 4 pages. It's unfortunate, because these mistakes can be very confusing to a beginning programmer.
But having said that, I still very much recommend this book. It's a good one. Congratulations to the teenage author who wrote it, excellent job!
I easily resolved this for him by copying the entire contents of the CD, to the folder that was established during the initial installation of the compiler. Issue resolved. Other than that, we have not witnessed any other issues. I did take a sneak peak at the finished program that the reader will eventually establish throughout the chapters, and it was very cool being programmed from BASIC.
I would recommend this book to anyone who has a son or daughter that loves to play games and is constantly on the computer.