Skip to content

MonoGame.Particles is a 2D particle system for MonoGame. It can be used as a normal particle engine but it also supports particles that use a physics system for collisions.

License

Notifications You must be signed in to change notification settings

SjaakAlvarez/MonoGame.Particles

Repository files navigation

MonoGame.Particles

MonoGame.Particles is a 2D particle system for MonoGame. It can be used as a normal particle engine but it also supports particles that use a physics system for collisions.

Physics and particles

To use the particle engine, a World object has to be created first. The world object handles all updates and disposal of particle emitters.

There are 2 types of particle emitters, normal Emitters and Physics Emitters. Both can be used at the same time in the same world. Both can be customized using Origins, BirthModifiers and Modifiers.

Examples

Also included is a simple Physics Engine which is based on Impulse Engine by Randy Gaul. The engine supports:

  • Circle collision
  • Polygon collision
  • Friction and restitution
  • Collision and separation events
  • Fast AABB spatial hash

Examples

Use this engine for simple stuff only. If you want accurate physics, use a more complete engine like Aether.Physics2D.

About

MonoGame.Particles is a 2D particle system for MonoGame. It can be used as a normal particle engine but it also supports particles that use a physics system for collisions.

Topics

Resources

License

Stars

Watchers

Forks

Languages