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

precompile heal effect #3581

Closed
wants to merge 2 commits into from
Closed

precompile heal effect #3581

wants to merge 2 commits into from

Conversation

tcm390
Copy link
Contributor

@tcm390 tcm390 commented Aug 10, 2022

precompile heal effect material

Issue: (delay on the first effect)

Webaverse.-.Google.Chrome.2022-08-10.14-42-10.mp4

Result:

Webaverse.-.Google.Chrome.2022-08-10.14-45-35.mp4


let storeMaterial = false;
let particleAlreadyInScene= false;
let particleAlreadyInScene= true;
let circlePlay = false;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this is true, why do we need this variable?

Copy link
Contributor

@avaer avaer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code needs cleanup.

@alisaad673
Copy link
Contributor

Seems to be working fine, there's no hiccup/delay/jitter now on the first time use of heal effect

@alisaad673 alisaad673 linked an issue Aug 12, 2022 that may be closed by this pull request
@tcm390
Copy link
Contributor Author

tcm390 commented Sep 5, 2022

@tcm390 would you do some code cleanup?
clean code

@tcm390 tcm390 closed this Dec 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Heal animation precompile (infinifruit)
4 participants