官术网_书友最值得收藏!

The structure of the Mach5 engine

Throughout this book, we will be using design patterns to solve common game programming problems. The best way to do this is by example, and so we will be examining how these problems arise and implementing the solutions using the Mach5 engine, a 2D game engine designed in C++ by Matt Casanova. By looking at the entire source code for a game, we will be able to see how many of the patterns work together to create powerful and easy-to-use systems.

However, before we can pe into the patterns, we should spend a little time explaining the structure of the engine. You don't need to understand every line of source code, but it is important to understand some of the core engine components and how they are used. This way we can better understand the problems we will be facing and how the solution fits together.

While looking at the diagram, it may seem a little confusing at first, so let's examine each piece of the engine separately.

主站蜘蛛池模板: 安龙县| 罗定市| 禄丰县| 钦州市| 宜君县| 班戈县| 阜南县| 三门县| 长岭县| 江津市| 东乌珠穆沁旗| 临沂市| 方山县| 广西| 新郑市| 泊头市| 湖北省| 共和县| 金秀| 墨玉县| 湘潭市| 内黄县| 涪陵区| 罗源县| 巧家县| 满洲里市| 大名县| 广丰县| 巫山县| 钦州市| 松滋市| 甘肃省| 鹤壁市| 汶上县| 洪泽县| 丹寨县| 株洲市| 文安县| 墨竹工卡县| 孙吴县| 炎陵县|