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 the code into classes that represent objects in the game
  • Building a recursive method
  • Use the SpriteBatch.Draw() method to display images
  • Divide the Update() and Draw() code into different units based on the current game state

In Chapter 3, 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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.67.166