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

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.

主站蜘蛛池模板: 定结县| 名山县| 西峡县| 黑河市| 林口县| 任丘市| 深水埗区| 呈贡县| 佛坪县| 札达县| 恩施市| 伽师县| 古田县| 通渭县| 珲春市| 筠连县| 霍林郭勒市| 通江县| 临高县| 安岳县| 陕西省| 江城| 福建省| 上思县| 贺州市| 界首市| 济源市| 濮阳市| 平顶山市| 项城市| 望奎县| 青田县| 成安县| 纳雍县| 西畴县| 蒙阴县| 赣州市| 房产| 大城县| 商洛市| 郁南县|