© Jarred Capellman, Louis Salin 2020
J. Capellman, L. SalinMonoGame Masteryhttps://doi.org/10.1007/978-1-4842-6309-9_8

8. Particles

Jarred Capellman1  and Louis Salin1
(1)
Cedar Park, TX, USA
 

You would be hard pressed to find a game without particles these days. Even simple 2D games like ours now use particles to embellish the visual effects seen on the screen – anything from a torch flickering in a hallway to a water fountain in the middle of a stunning garden. A developer could even create a flock of birds or a school of fish using such systems, with each particle being a bird or fish.

The idea behind particle engines is to generate hundreds or even thousands of particle game objects that have certain attributes like color, opacity, or scale and ...

Get MonoGame Mastery: Build a Multi-Platform 2D Game and Reusable Game Engine now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.