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

Summary

You now have a working Flood Control game. In this chapter, we have looked at:

  • Adding content objects to your project and loading them into textures at runtime using an instance of the ContentManager class
  • Dividing code up into classes that represent objects in the game
  • Building a recursive method
  • Using the SpriteBatch.Draw() method to display images
  • Dividing the Update() and Draw() code into different units, based on the current game state

In Chapter 3, Flood Control - Smoothing Out the Rough Edges, we will spruce up the Flood Control game, adding animation by modifying the parameters of the SpriteBatch.Draw() method and creating text effects in order to make the game visually more appealing.

主站蜘蛛池模板: 宁夏| 四子王旗| 秦安县| 孟连| 水富县| 东至县| 阿坝| 贵溪市| 宜君县| 敦化市| 南宁市| 金湖县| 常德市| 墨竹工卡县| 泸定县| 张掖市| 从江县| 确山县| 宾阳县| 余干县| 桐城市| 胶州市| 丽水市| 长汀县| 阜南县| 武功县| 五指山市| 中宁县| 城固县| 武穴市| 峡江县| 白银市| 奉新县| 嵩明县| 肇东市| 高陵县| 康平县| 社会| 郁南县| 手机| 工布江达县|