Skip to content
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

question: multiple life stages for behaviours, non-uniform scaling (radius)? #170

Open
riveranb opened this issue Jul 1, 2021 · 0 comments

Comments

@riveranb
Copy link

riveranb commented Jul 1, 2021

This is a great particle system tool. Here I wonder if I can do something with nebula?

  1. multiple stages on life for a behaviour: (for example)
    behaviour: {
    life: [2, 2, 2], // 0 - 2 secs, 2 - 4 secs, 4 - 6 secs
    // for stage0: 1->3, stage1: 3->0.2, stage2: 0.2->1
    behaveA: [1, 3, 0.2],
    behaveB: [3, 0.2, 1],
    easing: [ .. , .. , .. ]
    }

Is this possible?

  1. can I animate particle's scale/radius with non-uniform scaling? I observe current 'Scale' behaviour can mutate particle's scale uniformly.

  2. Is there a chance to reuse a 'System'? Create a system by fromJSONAsync(), and control system.emit() at sometime, and after it ends, keep it and try to restart emit() again in the future? Cause I found out currently after system is dead, the emitters are all dead and destroyed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant