• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

djeedai / bevy_hanabi / 8221522131
66%

Build:
DEFAULT BRANCH: main
Ran 10 Mar 2024 11:15AM UTC
Jobs 1
Files 27
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 Mar 2024 11:08AM UTC coverage: 52.125% (-3.3%) from 55.442%
8221522131

push

github

web-flow
Implement particle groups, enabling simple particle trails. (#296)

This commit essentially allows multiple effects to share the same
underlying buffer. Such sub-effects are known as *particle groups*. An
effect may have up to 32 particle groups, each with its own capacity.
Every modifier specifies which particle groups it affects. Spawners
always spawn into particle group 0; this restriction was implemented for
simplicity and can be lifted later.

A new modifier has been added, `CloneModifier`. This allows particles to
be duplicated into a group on a fixed rate. By cloning particles into a
group, particle trails can be created.

It's intended that a node graph can be layered on top of particle groups
in the future. Particle groups are the most efficient way I can think of
to implement node graphs in any case, so this seems to me to be a step
toward a node-based editor.

Currently, init modifiers don't run on cloned particles. Their age is,
however, reset to 0 if present, as this is typically the most useful
behavior.

Internally, each particle group receives its own update and render
invocation. This reduces branching in both shaders, simplifies much of
the bookkeeping, and enables ribbon rendering for trails in the future
(needed for weapon effects, etc.)

The new `worms` example illustrates how trails can be produced with this
groups feature.

---------

Co-authored-by: Jerome Humbert <djeedai@gmail.com>

183 of 885 new or added lines in 8 files covered. (20.68%)

55 existing lines in 5 files now uncovered.

2992 of 5740 relevant lines covered (52.13%)

22.43 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8221522131.1 10 Mar 2024 11:15AM UTC 0
52.13
GitHub Action Run
Source Files on build 8221522131
Detailed source file information is not available for this build.
  • Back to Repo
  • 4bb95a44 on github
  • Prev Build on main (#8161498802)
  • Next Build on main (#8245525066)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc