- Beginning C++ Game Programming
- John Horton
- 127字
- 2021-03-26 16:12:23
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
推薦閱讀
- Python快樂(lè)編程:人工智能深度學(xué)習(xí)基礎(chǔ)
- Java完全自學(xué)教程
- Python自動(dòng)化運(yùn)維快速入門(第2版)
- Access 2010數(shù)據(jù)庫(kù)基礎(chǔ)與應(yīng)用項(xiàng)目式教程(第3版)
- 零基礎(chǔ)學(xué)Python網(wǎng)絡(luò)爬蟲案例實(shí)戰(zhàn)全流程詳解(入門與提高篇)
- Java程序設(shè)計(jì)案例教程
- 微信小程序開(kāi)發(fā)實(shí)戰(zhàn):設(shè)計(jì)·運(yùn)營(yíng)·變現(xiàn)(圖解案例版)
- 平面設(shè)計(jì)經(jīng)典案例教程:CorelDRAW X6
- Anaconda數(shù)據(jù)科學(xué)實(shí)戰(zhàn)
- Visual Basic語(yǔ)言程序設(shè)計(jì)基礎(chǔ)(第3版)
- Puppet:Mastering Infrastructure Automation
- HTML5+CSS3+jQuery Mobile+Bootstrap開(kāi)發(fā)APP從入門到精通(視頻教學(xué)版)
- 菜鳥成長(zhǎng)之路
- Continuous Integration,Delivery,and Deployment
- Instant JRebel