🎆 Bevy Hanabi
Hanabi — a particle system plugin for the Bevy game engine.
Usage
This plugin is only compatible with Bevy v0.6.
System setup
Add the Hanabi plugin to your app:
default
.add_plugins
.add_plugin
.run;
Create a particle effect
Create an EffectAsset describing a visual effect:
Add a particle effect
Use a ParticleEffectBundle to create an effect instance from an existing asset:
commands
.spawn
.insert
.insert_bundle;
Examples
See the examples/ folder.


Feature List
- Spawn
- Constant rate
- One-time burst
- Repeated burst
- Initialize
- Constant position
- Position over shape
- cube
- sphere
- cone
- plane
- generic mesh / point cloud (?)
- Random position offset
- Constant velocity
- Random velocity
- Constant color
- Random color
- Update
- Motion integration
- Apply forces
- Constant (gravity)
- Force field
- Collision
- Shape
- plane
- cube
- sphere
- Depth buffer
- Shape
- Lifetime
- Size change over lifetime
- Color change over lifetime
- Face camera
- Face constant direction
- Render
- Quad (sprite)
- Textured
- Generic 3D mesh
- Deformation
- Velocity (trail)
- Quad (sprite)
- Debug
- GPU debug labels / groups
- Debug visualization
- Position magnitude
- Velocity magnitude
- Age / lifetime
Compatible Bevy versions
The main branch is compatible with the latest Bevy release.
Compatibility of bevy_hanabi versions:
bevy_hanabi |
bevy |
|---|---|
0.1 |
0.6 |