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

Chapter 3. C++ Strings, SFML Time, Player Input, and HUD

In this chapter we will spend around half the time learning how to manipulate text and display it on the screen, and the other half looking at timing and how a visual time bar can create a sense of urgency in the game.

We will cover the following topics:

  • Pausing and restarting the game
  • C++ strings
  • SFML Text and SFML font classes
  • Adding a HUD to Timber!!!
  • Adding a time bar to Timber!!!
主站蜘蛛池模板: 浪卡子县| 常州市| 集贤县| 常德市| 南丰县| 云霄县| 拉孜县| 扬州市| 上林县| 舞阳县| 白银市| 宁河县| 慈利县| 炎陵县| 昆明市| 赤水市| 贵定县| 广安市| 封丘县| 铜山县| 繁峙县| 金平| 佛学| 灵山县| 聂拉木县| 习水县| 漯河市| 东城区| 德格县| 保康县| 定兴县| 香格里拉县| 西乡县| 莱阳市| 中卫市| 青冈县| 汕尾市| 玉环县| 祁连县| 志丹县| 白城市|