O'Reilly logo

GameMaker Game Programming with GML by Matthew DeLucas

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Integrating particles

Now that the basics of particles effects have been explained, the process of integrating them into the puzzle game can begin. In the puzzle game, matching pieces of three, which is one of the main actions, feels a little boring. Using particle effects when pieces are "destroyed", not only will the pop sound be played, but now a particle effect burst from the center of each piece. Originally, six pieces were made in spr_pieces, so six different effects will be produced. The resulting effect will depend on the image_index object of the pieces destroyed. To manage the easy creation of particle systems and particle types, a new object resource will be created.

obj_particle_manager

A new object resource named obj_particle_manager ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required