Chapter 32
Space SHMUP – Part 2
In this chapter, you add power-ups, multiple enemies, and different weapon types to the Space SHMUP game. In doing so, you learn more about class inheritance, enums, function delegates, and several other important topics. As an added bonus, you also make the game a lot more fun!
What You Will Learn
This chapter covers several new concepts and reviews many others. These include:
Implementing five different Enemy types using class inheritance
Setting the likelihood of various Enemies appearing and dropping various power-ups
Understanding more about private, protected, and public fields and methods
Using an AnimationCurve to rotate a GameObject with precision over time
Implementing two different weapon types and ...
Get Introduction to Game Design, Prototyping, and Development 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.