melonJS icon indicating copy to clipboard operation
melonJS copied to clipboard

Add a particle management system

Open ghost opened this issue 15 years ago • 12 comments

Would be nice to have this built-in in the engine directly !

ghost avatar Aug 27 '11 11:08 ghost

Bookmarked this site ages ago, been waiting for enough spare time to use it wisely : http://www.yaldex.com/game-programming/0131020099_ch19.html

Ben2303 avatar Aug 29 '11 19:08 Ben2303

Very very good article, thank you for the link ! :)

ghost avatar Aug 30 '11 02:08 ghost

Not sure if this would help but I found this earlier: http://jarrodoverson.com/static/demos/particleSystem/

RaXaR avatar Jan 17 '12 04:01 RaXaR

I am currently working on building one in my game. If you are interested i will share it when it works...

Grenzfrei avatar Sep 29 '12 21:09 Grenzfrei

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.

erromu avatar Sep 29 '12 22:09 erromu

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/

greghouston avatar Sep 30 '12 02:09 greghouston

@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

Grenzfrei avatar Oct 01 '12 01:10 Grenzfrei

an interesting article : http://www.andrespagella.com/introduction-particle-systems-html5-canvas

ghost avatar Nov 22 '12 04:11 ghost

Here's another good article I found - http://buildnewgames.com/particle-systems/

nvlbg avatar Jan 31 '13 16:01 nvlbg

I saw this one as well, very good article, with a basic implementation, just ready to be used and improved :)

ghost avatar Feb 01 '13 08:02 ghost

Hi

Nice experiment:

http://mikeferron.com/experiments/particles

Thanks!

aaschmitz avatar Oct 16 '13 02:10 aaschmitz

hourraaa !!

obiot avatar Jan 10 '14 05:01 obiot