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

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.

主站蜘蛛池模板: 太谷县| 铁力市| 郓城县| 赞皇县| 佛山市| 旬邑县| 定边县| 西昌市| 景洪市| 青龙| 布拖县| 宁远县| 阜平县| 安康市| 互助| 中方县| 铜陵市| 冕宁县| 满城县| 定陶县| 广元市| 麻城市| 文成县| 平塘县| 万州区| 同江市| 定日县| 浮梁县| 长治县| 新绛县| 砀山县| 绩溪县| 祥云县| 满洲里市| 镇远县| 临城县| 南靖县| 博乐市| 驻马店市| 芷江| 大石桥市|