vmcruz Posted May 8, 2014 Share Posted May 8, 2014 I know this isn't much, but I wanted to share with you a simplistic and very basic particle system. This is my little contribution to those newers who want to experiment. Code in attached files.particles.bmpindex.html marvster 1 Quote Link to comment Share on other sites More sharing options...
ericjbasti Posted May 8, 2014 Share Posted May 8, 2014 Nice trail effect with those primary colors. One suggestion... I see you create a new particle when an old one dies. Perhaps you could write an init() or reset() property for the particles so you can resurrect the dead particle with new values instead of creating a whole new one. Quote Link to comment Share on other sites More sharing options...
vmcruz Posted May 8, 2014 Author Share Posted May 8, 2014 Haha, that's true, thanks for the tip! . That happens when you port old C++ code to Javascript. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.