Add a particle management system
Would be nice to have this built-in in the engine directly !
Bookmarked this site ages ago, been waiting for enough spare time to use it wisely : http://www.yaldex.com/game-programming/0131020099_ch19.html
Very very good article, thank you for the link ! :)
Not sure if this would help but I found this earlier: http://jarrodoverson.com/static/demos/particleSystem/
I am currently working on building one in my game. If you are interested i will share it when it works...
Can you share the link, I would like to see what you are working on.
Erick Romero
[email protected]
Caminando hacia lo infinito, puedo pensar en lo imaginable.
On 09/29/2012 03:31 PM, Grenzfrei wrote:
I am currently working on building one in my game. If you are interested i will share it when it works...
— Reply to this email directly or view it on GitHub https://github.com/obiot/melonJS/issues/9#issuecomment-9008469.
Being able to use images for the particles makes them a lot more realistic. I love the explosion example here. Once the demo loads hit the spacebar twice:
http://gamvas.com/lib/demos/particles/index.html
Filters are an added bonus, particularly additive. http://seb.ly/demos/JSParticles/Particles2_1.html
See canvas globalCompositeOperation. It's expensive changing the globablCompositeOperation so it's recommended that all items on the canvas that use a particular mode be drawn at once.
A simple but effective game that uses globalCompositeOperation with it's particle explosions: http://www.phoboslab.org/ztype/
@erromu: Sure, here are two early experiments: weather: http://grenzfrei.azurewebsites.net/weather.html fire: http://grenzfrei.azurewebsites.net/fire.html
They sure need some touchups, especially in regards of performance. Some ideas to optimize that?
I also opened a post in the forum: https://groups.google.com/forum/?fromgroups=#!topic/melonjs/ardBhXCwkg8
an interesting article : http://www.andrespagella.com/introduction-particle-systems-html5-canvas
Here's another good article I found - http://buildnewgames.com/particle-systems/
I saw this one as well, very good article, with a basic implementation, just ready to be used and improved :)
Hi
Nice experiment:
http://mikeferron.com/experiments/particles
Thanks!
hourraaa !!