Game Development Reference
In-Depth Information
3. Do some more tweaks to make it look like a thrust, set its speed to 50 , make the
initial alpha to 180 , and last and most importantly, set the scale to 0.2 so that it
matches the spaceship scale.
4. Now we have our spaceship thrust built, which will look like this:
5. The following are the values set in the particle editor of Xcode to create the thrust
of the spaceship using the default FireParticle file.
After this, one more particle effect called collision effect is left to be created when a coin
is picked by the spaceship. The following are the steps involved to make a
SmokeParticle file (particle system) for the collision effect of the coin and the space-
ship:
1. Open Xcode and go to File | New | File .
2. In the Resource section of iOS , select SpriteKit Particle File and click on Next .
3. Select the Smoke template for the particle system so that an inherited smoke ef-
fect is created and click on Next .
Search WWH ::




Custom Search