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

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.

主站蜘蛛池模板: 岳阳市| 湟源县| 富宁县| 福安市| 新安县| 肥城市| 朝阳县| 彭水| 黄冈市| 凌源市| 长乐市| 城固县| 齐齐哈尔市| 绥化市| 仁怀市| 霍城县| 鹿泉市| 万州区| 方正县| 梁平县| 汤原县| 青阳县| 庆云县| 台中县| 滦平县| 昌平区| 闵行区| 东台市| 桐柏县| 米易县| 浮梁县| 上饶县| 铁岭县| 晋江市| 大同市| 长泰县| 张家口市| 彰武县| 姜堰市| 马尔康县| 儋州市|