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

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.

主站蜘蛛池模板: 庆云县| 鲜城| 澄城县| 凌云县| 竹北市| 辽宁省| 义乌市| 平度市| 灌云县| 资源县| 西安市| 三原县| 威海市| 南安市| 石台县| 兴化市| 西乌珠穆沁旗| 淳化县| 波密县| 红原县| 丹巴县| 宁化县| 灵石县| 筠连县| 仪征市| 昌平区| 永平县| 榆社县| 平江县| 乌拉特后旗| 天峻县| 长沙市| 和龙市| 舟曲县| 蕲春县| 台湾省| 新巴尔虎右旗| 大英县| 广德县| 德格县| 彩票|