Test Your Knowledge: Exercise

  1. Create a multishot power-up which, when active, will fire four shots instead of one. Instead of shooting one shot in the center of the camera, when the multishot is active, shoot one shot from above and right of the camera, one from above and left, one from below and right, and one from below and left.

    • When the player shoots three ships in a row, the game will randomly choose which power-up to activate (rapid fire, or multishot).

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.