Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
iOS Game Programming Cookbook

You're reading from   iOS Game Programming Cookbook Over 45 interesting game recipes that will help you create your next enthralling game

Arrow left icon
Product type Paperback
Published in Mar 2015
Publisher
ISBN-13 9781784398255
Length 300 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Toc

Table of Contents (14) Chapters Close

Preface 1. iOS Game Development FREE CHAPTER 2. SpriteKit 3. Animations and Texture 4. Particle System and Game Performance 5. Adding Music to iOS Games and an Introduction to iCloud 6. Physics Simulation 7. Adding Reality to Games 8. Introduction to Game Math and Physics 9. Autonomous Moving Agents 10. 3D Game Programming with OpenGL 11. Getting Started with Multiplayer Games 12. Implementing Multiplayer Games Index

Using the particle system in games

Now as a complete tour of particle editor is over, we can have a usage of the particle emitters. We will build some stuff for our game that is, the thrust of spaceship using the same FireParticle file and a collision effect when the coin is picked by the spaceship with a default template of smoke.

In this section, editing of the particle file using the particle editor of Xcode will be done to produce a game particle effect such as the thrust of spaceship and a new particle file will be formed named SmokeParticle for the collision effect between the coin and spaceship. Also, we will discuss and understand some initial code-level classes.

Getting ready

We should have hands on the particle editor of Xcode with changing values of any particle file and creating some good particle systems that could be used at some places in the game. As the basic elements of particle editor are covered in the previous section, now we will be changing some values of the FireParticle...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image