-
Notifications
You must be signed in to change notification settings - Fork 296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Particles per second parameter apparently does not change anything #20
Comments
Thanks for reporting @ANPez I did a quick look in the code and as far as I can see is that
But not used when the particles are being created here Konfetti/konfetti/src/main/java/nl/dionsegijn/konfetti/emitters/StreamEmitter.kt Lines 33 to 51 in c242aec
I'll make some time to implement this properly and see if I can cover this with tests. But I have not much time until the weekend. A Pull request is welcome ofcourse if there is no time to wait. In the meantime you might be able to achieve the same by creating more than one particle stream if you need a lot of particles creations happening at the same time. For a slower rate there needs to be a fix. |
Hi @ANPez, To fix the particles per second bug I've refactored the I'm not exactly sure when I'll push an update for the library, for now the pull request isn't merged yet. I'll update you on the progress. |
Thanks! Really appreciate your work 👍 |
I see the same result when passing "1" as parameters as when 1000.
The text was updated successfully, but these errors were encountered: