Skip to content

Hanabi — a GPU particle system plugin for the Bevy game engine.

License

Notifications You must be signed in to change notification settings

Svengali/bevy_hanabi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎆 Bevy Hanabi

License: MIT or Apache 2.0 Doc Crate Bevy tracking

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:

App::default()
    .add_plugins(DefaultPlugins)
    .add_plugin(HanabiPlugin)
    .run();

Add a particles effect

🚧 TODO; this library is under development... 🚧

Examples

See the examples/ folder.

gradient

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
      • Bounded (AABB, etc.)
    • Lifetime
    • Size change over lifetime
    • Color change over lifetime
    • Face camera
    • Face constant direction
  • Render
    • Quad (sprite)
      • Textured
    • Generic 3D mesh

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

About

Hanabi — a GPU particle system plugin for the Bevy game engine.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 99.6%
  • Batchfile 0.4%