Search icon CANCEL
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
GameMaker Programming By Example

You're reading from   GameMaker Programming By Example Master the development of 2D games by learning to use the powerful GameMaker Language and tools provided by the GameMaker: Studio workspace and engine!

Arrow left icon
Product type Paperback
Published in Dec 2015
Publisher
ISBN-13 9781785887963
Length 212 pages
Edition 1st Edition
Arrow right icon
Authors (2):
Arrow left icon
Brian Christian Brian Christian
Author Profile Icon Brian Christian
Brian Christian
Steven Isaacs Steven Isaacs
Author Profile Icon Steven Isaacs
Steven Isaacs
Arrow right icon
View More author details
Toc

Particles


The final section of this chapter will introduce you to the use of particles in your game. Once you've gone through this, it should be child's play to use the extra functionality for them that we won't go over, since particles are very easy to set up and use, and they're also a very good component to get into the habit of using.

Before we begin coding particles, let's define what a particle is. A particle is a graphical resource defined by the particle type from which they are created, and they are displayed by using a particle system. They can create small or large effects without being CPU-intensive, allowing us to create cool effects without employing objects or sprites that could slow down the game. Particles create an organization for displaying your effects, and make it very easy. Particle types are "defined", so to speak, and are then displayed via a particle system directly, or through an emitter, which gives you some more functionality that you don't always need. We won...

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 €18.99/month. Cancel anytime