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 now! 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
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning AndEngine

You're reading from   Learning AndEngine Design and create Android games with the simple but powerful tool AndEngine

Arrow left icon
Product type Paperback
Published in Sep 2014
Publisher
ISBN-13 9781783985968
Length 286 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Martin Varga Martin Varga
Author Profile Icon Martin Varga
Martin Varga
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Particle systems


A particle system is a method used to create effects such as fire, smoke, or snow. The technique involves rendering a lot of small particles at once. A particle is a small picture. It's hard to define what it should represent. In the case of snow, it should be a single snowflake. When creating smoke or fire a small fire ball or a puff of smoke would be a good start.

A particle system usually creates a particle at a given point using initial parameters such as scale, opacity, and rotation. A set of modifiers is also created and each particle is modified by all modifiers over time. A particle system also defines the lifespan of a particle and how many particles are to be spawned.

Making particle systems look good is an art and there is no single way to do it. We are going to see how we can create two completely different effects using the same picture. Our game doesn't really need particle systems and so we will add one of these effects to the menu scene just for illustration...

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 R$50/month. Cancel anytime