文件名称:游戏开发数据结构
文件大小:19.61MB
文件格式:PDF
更新时间:2015-01-07 17:51:57
游戏 数据结构
一本介绍游戏开发方面的书。 Introduction What is a computer program? When you get down to the lowest level, you can separate a program into two main sections: the data and the instructions that operate on the data. These two sections of a program are commonly called the data structures and the algorithms. This book will teach you how to create many data structures, ranging from the very simple to the moderately complex. Understanding data structures and algorithms is an essential part of game programming. Knowing the most efficient way to store data and work with the data is an important part of game programming; you want your games to run as quickly as possible so you can pack as many cool features into them as you can. I have a few goals with this book: ■ Teach you how the most popular data structures and algorithms work ■ Teach you how to make the structures and algorithms ■ Teach you how to use the data structures in computer games Mark Twain once said this: It is a good thing, perhaps, to write for the amusement of the public. But it is a far higher and nobler thing to write for their instruction. I have always tried to help people whenever they need it. However, most of my help has been interactive—in chat rooms or in person. People ask me questions, and I answer them. If they don’t understand, I can explain it better. A book is a different format for me because you cannot ask me a question if there is something you don’t understand. So I have used the only method I can think of to prevent you from needing to ask questions: I explain everything. Well, not quite everything because that is pretty much impossible, but I have tried