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

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.

主站蜘蛛池模板: 新野县| 鱼台县| 大丰市| 赤壁市| 商丘市| 云南省| 吴旗县| 綦江县| 焦作市| 普陀区| 伊通| 鄢陵县| 新绛县| 宿迁市| 金平| 伊春市| 郁南县| 民和| 淮北市| 广安市| 新竹市| 安宁市| 班戈县| 满洲里市| 扶沟县| 游戏| 汤原县| 临颍县| 莒南县| 政和县| 苍山县| 德化县| 松滋市| 商城县| 沈阳市| 嵊泗县| 安徽省| 建德市| 镇赉县| 商都县| 申扎县|