Game Development Reference
In-Depth Information
How it works
This is how it works when we add SKEmitterNode to SKSprite and the result of the
preceding steps is depicted in the following screenshot, a thrust added to the spaceship:
Similarly, to add a collision smoke effect, we need the ParticleSystem file, which has
been created in previous sections. For this effect also, the process works similar as depicted
earlier for thrust of the spaceship. The following are the two snapshots after implementing
the collision smoke effect.
• Coin collides with the spaceship:
• Collision smoke effect produced:
Search WWH ::




Custom Search