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

Summary

This was quite a challenging chapter and perhaps a little bit mean to be the first one. It is true that configuring an IDE to use a C++ library can be a bit awkward and long. Also, the concepts of classes and objects are well known to be slightly awkward for people who are new to coding.

Now that we are at this stage, however, we can totally focus on C++, SFML, and games. As we progress with this book, we will learn more and more C++, as well as implement increasingly interesting game features. As we do so, we will take a further look at things such as functions, classes, and objects to help demystify them a little more.

We have achieved plenty in this chapter, including outlining a basic C++ program with the main function, constructing a simple game loop that listens for player input and draws a sprite (along with its associated texture) to the screen.

In the next chapter, we will learn about all the C++ we need to draw some more sprites and animate them.

主站蜘蛛池模板: 建平县| 丹江口市| 阿图什市| 佛山市| 库伦旗| 文安县| 讷河市| 济阳县| 濮阳市| 犍为县| 婺源县| 增城市| 民丰县| 阳原县| 绥滨县| 体育| 酒泉市| 宝鸡市| 昂仁县| 阳朔县| 志丹县| 蕉岭县| 张家港市| 山西省| 调兵山市| 廊坊市| 泸水县| 海南省| 新巴尔虎右旗| 安溪县| 叶城县| 盱眙县| 雷波县| 武乡县| 邵阳市| 慈利县| 柯坪县| 大城县| 禹城市| 灌云县| 元阳县|