bevy_particle_systems
A native and WASM-compatible 2D particle system plugin for bevy
Note: This crate is still under development and its API may change between releases.
Example
The above was captured running a release build of the basic
example, cargo run --example basic --release
, and ran at 190-200 FPS on a
2019 Intel i9 MacBook Pro, rendering about 10k particles.
INFO bevy diagnostic: frame_time : 5.125810ms (avg 5.211673ms)
INFO bevy diagnostic: fps : 206.027150 (avg 204.176718)
INFO bevy diagnostic: entity_count : 11358.713999 (avg 11341.450000)
Usage
- Add the [
ParticleSystemPlugin
] plugin.
use *;
use ParticleSystemPlugin;
- Spawn a particle system whenever necessary.
use *;
use *;
Bevy Versions
bevy_particle_systems |
bevy |
---|---|
0.10 | 0.11 |
0.9 | 0.10 |
0.6 - 0.8 | 0.9 |
0.5 | 0.8 |
0.4 | 0.7 |