Summary

Great work! We have added a fun component to our game and learned some advanced techniques. We created a multi-use Crate class, wired it up for contact events, and created new animations with particle emitters. We learned an advanced technique to recycle our emitter nodes with a pool of particle emitters. Then, we used our new systems to create a smashable health crate and crates that reward the player with coins.

Our game is looking great and is a lot of fun to play! In Chapter 11, Choosing a Monetization Strategy, we will discuss publishing, advertising, and monetization options.

Get Swift Game Development - Third Edition 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.