Particles

Discussion and feedback on Construct 2

Post » Thu Nov 10, 2011 5:34 pm

I've done a couple of searches on the forums and noticed that CC has particles already but I couldn't locate anything in regards to C2.

Are implementing a particle engine into C2 anywhere on the current road map?

TIA.
B
22
S
5
G
6
Posts: 57
Reputation: 4,487

Post » Thu Nov 10, 2011 5:45 pm

Yep it's on our todo list, but it's actually fairly straightforward to fake it with sprites: just spawn loads of small sprites with a Bullet movement and randomly adjust their speed and angle. That's exactly what the Particles object does for you.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Thu Nov 10, 2011 5:50 pm

Doh! I didn't even think about faking it with bullets!

I'll play around with it and see what sort of effects I can get out of it.

Thanks for the quick response!
B
22
S
5
G
6
Posts: 57
Reputation: 4,487

Post » Thu Nov 10, 2011 6:35 pm

wow...great...nice trick ;)
B
159
S
38
G
11
Posts: 229
Reputation: 17,361

Post » Thu Nov 10, 2011 11:12 pm

Thats exactly how i did it in my space fantasy game, I spawned some sprites, then got them to spawn more at different angles. If theres alot of them, just set a timer count to destroy them after so many seconds.
B
40
S
14
G
11
Posts: 243
Reputation: 9,432

Post » Fri Nov 11, 2011 4:12 am

Yep, I've used that trick myself and here's a couple examples for anyone interested.
http://dl.dropbox.com/u/41325628/magic-light.capx
http://dl.dropbox.com/u/41325628/smoke.capx

Cheers!

-David
B
126
S
7
G
4
Posts: 185
Reputation: 7,233

Post » Fri Nov 11, 2011 4:54 am

Thanks David
saludos :D
B
9
S
2
G
4
Posts: 19
Reputation: 2,648

Post » Fri Nov 11, 2011 6:28 am

Yeh, I tend to spawn physics sprites for my particles... I'm sure it's not the best technique performance-wise, but their behaviour is much more pleasing.
B
28
S
7
G
7
Posts: 102
Reputation: 6,483

Post » Fri Nov 11, 2011 7:13 am

Those were great; thanks for sharing David.
B
22
S
5
G
6
Posts: 57
Reputation: 4,487

Post » Fri Nov 11, 2011 9:51 am

Thanks David !!! Helps me !
"keep calm we have giant robots!"
B
22
S
5
G
5
Posts: 95
Reputation: 3,432

Next

Return to Construct 2 General

Who is online

Users browsing this forum: saiyadjin and 13 guests