Particle effects (0.95)

Post your own tutorials, guides and demos.

Post » Mon May 19, 2008 1:38 am

Three demos of the new Particles plugin in 0.95, which can efficiently draw and handle thousands of particles. The second two create up to 20,000 particles so might be quite intensive on lower end cards!

These effects also look good with blur or soften effects to hide the fact all the particles are square, but it doesn't seem to work, I'll see if I can have a hotfix for that soon... and a future version should allow textured particles so you can use custom graphics.
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544

Post » Mon May 19, 2008 11:28 am

Insta-win
B
2
S
2
G
5
Posts: 512
Reputation: 2,674

Post » Mon May 19, 2008 4:07 pm

Cool I was looking for an example, Ok what I would like to do is when my player sprite dies, 1 spray of small red particles fly up ONCE then it's over.

So could I just do:

Always - Set position to player sprite
On collision with <object> <need a command to fire the particles once?>
Destroy player sprite

OR

On collision with <object> spawn particles


I'm not sure how to make it just go once, and how to make them happen at the spot where My player sprite died.

This is for a 2d plat former.
B
2
G
4
Posts: 34
Reputation: 1,118

Post » Mon May 19, 2008 5:15 pm

You could destroy the particle spray after a short delay, or reduce the rate to 0.

I've hotfixed the particles object so it works with effects now, here's a demo of how soften and blur can improve the effect:
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544

Post » Mon May 19, 2008 7:18 pm

can't get it to work, I just want like one little wave of particles to spray up, and for them not to dissapear. I also need to have the particles spawn from the place of where my sprite died.
The only way i semi made that part work is when i already had some particles off to the side then it worked.
B
2
G
4
Posts: 34
Reputation: 1,118

Post » Mon May 19, 2008 9:59 pm

...
B
3
S
2
G
4
Posts: 322
Reputation: 2,119

Post » Mon May 19, 2008 11:17 pm

Instance, that's brilliant :D
B
2
G
4
Posts: 44
Reputation: 1,138

Post » Sun Jun 01, 2008 4:48 pm

I quickly added some soft white circle textures to these particle effects (textured particles are supported in the latest build), and they look a lot better! Point-spriting may not work on all video cards though, so let me know if you just see squares as if with texturing off.
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544


Return to Your tutorials & example files

Who is online

Users browsing this forum: No registered users and 0 guests