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

Chapter 2: Variables, Operators, and Decisions – Animating Sprites

In this chapter, we will do quite a bit more drawing on the screen and, to achieve this, we will need to learn about some of the basics of C++. We will learn how to use variables to remember and manipulate values, and we will begin to add more graphics to the game. As this chapter progresses, we will find out how we can manipulate these values to animate the graphics. These values are known as variables.

Here is what is in store:

  • Learning all about C++ variables
  • Seeing how to manipulate the values stored in variables
  • Adding a static tree graphic, ready for the player to chop away at
  • Drawing and animating a bee and three clouds
主站蜘蛛池模板: 上林县| 即墨市| 石景山区| 米脂县| 武邑县| 广南县| 靖州| 新昌县| 上饶市| 昭平县| 永宁县| 五原县| 鄂托克旗| 普陀区| 鹤岗市| 奉化市| 永康市| 峨山| 临猗县| 蒲城县| 丰顺县| 靖江市| 定州市| 琼结县| 浮梁县| 甘德县| 永福县| 潞城市| 榆林市| 安义县| 揭西县| 沈阳市| 汶上县| 齐齐哈尔市| 泗阳县| 黄石市| 英吉沙县| 丽水市| 诏安县| 台北县| 大宁县|