Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.33 KB

README.md

File metadata and controls

35 lines (23 loc) · 1.33 KB

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.