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

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.

主站蜘蛛池模板: 义乌市| 吉林市| 宁化县| 满城县| 潞城市| 措勤县| 平度市| 南开区| 同心县| 武城县| 秦安县| 当涂县| 白银市| 天台县| 神农架林区| 灌云县| 彰化县| 桂林市| 察哈| 桐乡市| 肥东县| 安义县| 徐闻县| 礼泉县| 伽师县| 盐亭县| 诸暨市| 张家口市| 南涧| 文化| 阳泉市| 顺昌县| 黑龙江省| 石楼县| 都兰县| 安岳县| 上栗县| 明星| 鱼台县| 平阳县| 靖宇县|