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?
Develop games in your browser. Powerful, performant & highly capable.
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.
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!
wow...great...nice trick ;)
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.
Yep, I've used that trick myself and here's a couple examples for anyone interested.
saludos :D <img src="smileys/smiley2.gif" border="0" align="middle" />
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.
Those were great; thanks for sharing David.
Thanks David !!! Helps me !
So can the bullets also have the physics behavior and have that effected? I'm wondering because I'm trying to do a "spray" effect like if you covered your finger on the end of a water hose. Does anyone have any information on this method perhaps?