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

djeedai / bevy_hanabi / 8221522131 / 1
66%
main: 66%

Build:
DEFAULT BRANCH: main
Ran 10 Mar 2024 11:15AM UTC
Files 27
Run time 0s
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.1

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>

2992 of 5740 relevant lines covered (52.13%)

22.43 hits per line

Source Files on job 8221522131.1
  • Tree
  • List 0
  • Changed 14
  • Source Changed 0
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 8221522131
  • 4bb95a44 on github
  • Prev Job for on main (#8161498802.1)
  • Next Job for on main (#8245525066.1)
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