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

Summary

And there we have it! In this first chapter, you've learned some fundamentals about design patterns and also got the Mach5 engine running on your computer.

Specifically, we learned that design patterns are solutions for common programming problems. There are a lot of reasons why we should use them, but in order to use patterns effectively, you first need to know what problem you are trying to solve and which ones can help you in that instance, which is what this book intends to teach you.

We learned how game development is always changing and how important it is to have a plan, as well as an architecture that can support those changes. With that in mind, we learned about various aspects of coding that will be used in the creation of our architecture.

We ped into learning about the separation of concerns principle and how important it is for us to separate the what and how; making it so they do not depend on each other allows us to alter or extend any part of our project with minimal hassle. Afterwards, we explored what interfaces were and how they are useful in giving us a foundation we can build on. Later, we ped into the Mach5 engine, saw an example of how compartmentalized code worked, and the advantages of it. We also saw how using design patterns in games can be a great thing, as well as the problems that they have.

Finally, we downloaded the Mach5 engine ourselves and made sure that it worked correctly. Moving on, in the next chapter, we will tackle our first design pattern, the Singleton, and see how it can be useful to us!

主站蜘蛛池模板: 德清县| 滨州市| 通化市| 扶沟县| 岳阳县| 龙里县| 孟村| 武邑县| 延庆县| 宣武区| 泽普县| 墨竹工卡县| 固安县| 新宾| 广丰县| 抚顺市| 油尖旺区| 孙吴县| 镇沅| 志丹县| 化德县| 六枝特区| 惠安县| 合山市| 灵台县| 连云港市| 盐亭县| 克拉玛依市| 会昌县| 湘阴县| 花莲县| 明星| 宾阳县| 林芝县| 乌拉特前旗| 施甸县| 威信县| 呈贡县| 册亨县| 垫江县| 南漳县|