Game Development Reference
In-Depth Information
8.
spaceShipCollidedWithCoin
looks like this after a call is made to add
Coin CollisionEffect
.
As output of all above creating of
SmokeParticle
file using particle editor and adding
it in the code using
SKEmitterNode
class on the spaceship, the smoke collision effect
appears at the collision point of coin and the spaceship.