-
-
Notifications
You must be signed in to change notification settings - Fork 97
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
Particle2D should not reset itself when you change amount #1327
Comments
See also #815 and godotengine/godot#16352. |
thanks, sorry, I did search first. Sometimes the words do not find things :) Is there any chance this might appear in a pre 4.0 update? |
Fixing this likely requires rewriting the particle system, so I doubt it. As a workaround, you can instance multiple particle nodes with less particles in each node and instance/free those nodes as needed. |
godotengine/godot#16352 (comment) suggests a solution that should probably be easy to do with the current system. Further down in that issue there's a linked shader that implements this: godotengine/godot#16352 (comment) |
Thanks, you can close this issue.
…On Fri, 7 Aug 2020, 21:21 Tomek, ***@***.***> wrote:
Fixing this likely requires rewriting the particle system, so I doubt it.
godotengine/godot#16352 (comment)
<godotengine/godot#16352 (comment)>
suggests a solution that should probably be easy to do with the current
system.
Further down in that issue there's a linked shader that implements this: godotengine/godot#16352
(comment)
<godotengine/godot#16352 (comment)>
It's most likely very outdated at this point, but some custom shader is a
viable workaround for now.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1327 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADCERRNINPTFEIU2XFC436LR7RO35ANCNFSM4PXZNVMA>
.
|
Closing in favor of godotengine/godot#16352, as this is actually a bug. |
Describe the project you are working on:
2D platform
Describe the problem or limitation you are having in your project:
When you change the 'amount' value of particle2D it resets the particles, i.e. immediately stops them all then starts again. This means if you want to increase particles over time, such as in an animation player, e.g. number of flames particles increase, you cannot.
Describe the feature / enhancement and how it helps to overcome the problem or limitation:
Allow or change particle system so that increasing amount will simply continue adding more particles as required instead of stopping the particle system and restarting. I guess the same can apply to reducing...
Describe how your proposal will work, with code, pseudocode, mockups, and/or diagrams:
If this enhancement will not be used often, can it be worked around with a few lines of script?:
I would presume anyone wanting to change amount will expect the particle system to not reset as it looks awful.
Is there a reason why this should be core and not an add-on in the asset library?:
it is probably as users expect.
The text was updated successfully, but these errors were encountered: