Chapter 7. Timers and Animation: The Lunar Lander

When you move to a graphical interface, you can write many new kinds of programs. Games and animations are especially interesting to write. In this chapter, you will write a simple arcade game, with all the features you might expect from such a game. Along the way, you’ll master techniques used for writing animations in C#. In this chapter you will learn how to

  • Read individual key presses.

  • Work with multiple images.

  • Use the timer object to simplify animation.

  • Move objects around on the screen.

  • Detect collisions between objects.

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

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