Jump to content

[Solved] Making sense of ParticleSystem


Recommended Posts

Hello, I have been trying to make sense of the Particle System for a while now. Basically every time a projectile is shot, I'm putting up a ParticleSystem for a splash effect. This works maybe 10 times, but then no sprites at all is created. The function is the same, I have even tried recycling the Particle System with stop/start so no more than 8 are created. I tried to use clone, but it complains that the texture is undefined.

I looked into the custom function and it seems the recycle function stops running. Can I reset/recycle all particles somehow?

What determines if a sprite is shown or not from the Particle System? Looking from the documentations I don't get much wiser.

Link to comment
Share on other sites

Trying to recreate the issue in PG I realised that the texture might get removed upon dispose. On most places it doesn't, but it seems as if that was the behavior on ParticleSystem. Instead of using a global texture I cloned it for each case of Particle System and it solved the issue.

Is removing texture intended?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...