Chapter 31: Space SHMUP – Part 1

The SHMUP (or shoot ’em up) game genre includes such classic games as Galaga and Galaxian from the 1980s and the modern masterpiece Ikaruga.

In this chapter, you create a SHMUP using several programming techniques that will serve you well throughout your programming and prototyping careers, including class inheritance, enums, static fields and methods, and the singleton pattern. Though you’ve seen many of these techniques before, they will be used more extensively in this prototype.

Starter UnityPackage

Note: By default, Chrome will not allow the download of any UnityPackage files. Google has marked all unitypackage files as “malicious.” To download this file, right-click it (control-click on macOS) and choose Save Link As… . This will show you a red exclamation point at the bottom of your browser window, but you can click the ^ next to that message and choose Keep to download the file.

Setting the Scene – p.757

  • The text states that "225" is full opacity for a Color’s alpha. It should be 255 instead, as shown below.