Log In  

Cart #34518 | 2016-12-30 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
14

This sample code shows how to use particles to create smoke or explosions.

Use direction keys to move the smoke

Press X for a pufft of smoke

Press Y for a big explosion

P#34520 2016-12-30 13:07 ( Edited 2018-01-17 01:13)

Hey nice Krystman, I just posted a similar code.. did you see it? Looks like you used a similar method but with better code.

P#34524 2016-12-30 13:25 ( Edited 2016-12-30 18:25)

Yeah I saw it! Was working on this one a few days offline. Didn't notice you beat me to it. Great job!

P#34610 2016-12-31 13:04 ( Edited 2016-12-31 18:04)

Great sample, code comments and all. Thanks for this.

P#34874 2017-01-03 16:59 ( Edited 2017-01-03 21:59)

I was actually trying to figure this out earlier today, super useful!

P#35031 2017-01-05 20:24 ( Edited 2017-01-06 01:24)

Do you want to be credited if I use a (modified version of) your code? It works beautifully in this project: https://twitter.com/BraininaBowl/status/909726171000184832

P#44483 2017-09-23 13:34 ( Edited 2017-09-23 17:34)

This is super good and very userful. Bookmarked.

P#44511 2017-09-23 17:09 ( Edited 2017-09-23 21:09)

No credits required. It's all yours.

P#48251 2018-01-16 20:13 ( Edited 2018-01-17 01:13)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-19 07:34:54 | 0.012s | Q:24