Fork me on GitHub
Not signed in (Sign In)
    I am trying to use the DeathSpeed action to kill my particles:

    emitter.addAction(new DeathSpeed(30, true));

    For testing purposes, I set up a wall and when the particles collide with it I set their x and y velocity to something less than 30, but they dont die. I commented out all other actions related to life, deathZone, and age just to make sure it wasn't a priority issue. Ideas welcome on what else I can try.

    • CommentAuthorRichard
    • CommentTimeAug 15th 2010
    There was a bug in the DeathSpeed action so it wasn't working for minimum speeds. Sorry about that. I've fixed it and checked the fix into SVN, including new SWC libraries if you're using them rather than the source code. Thanks for letting me know about the issue.
    • CommentAuthormeiriko
    • CommentTimeDec 7th 2010
    Hi Richard,

    Is it in the SVN or GIT? Can you please tell me where to get the version that has min speed working?


    • CommentAuthorRichard
    • CommentTimeDec 14th 2010
    The fix was released in version 2.2.0 so it's in the latest downloads and in both code repositories.