Test Your Knowledge: Exercise

  1. To familiarize yourself further with what was covered in this chapter, customize the shot firing mechanism by modifying the code to do the following:

    • Slow the shots down by 50%

    • Cut the shot delay in half (i.e., make shots fire twice as often when holding the space bar continuously)

    • Every time a shot is fired, fire three shots in a spread (i.e., one shot down the center and two other shots, one to the left and one to the right)

Get Learning XNA 3.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.