Posted: 24th Aug 2011 6:47
So, unfortunately, the example in the help files isn't close to what I'm looking for, not even sure if we can do it. Basically I want an immediate burst of particles(100+ in a frame if I can get it), but the emitter doesn't seem to let me go for any time less than a second. I feel like I've played around with every setting but I'm probably missing something simple, anyone have an idea how I can make this work? Thanks.
Posted: 24th Aug 2011 16:05
Just use an animated sprite, it's less CPU intensive and free's up resources and makes your game more battery efficient.
Posted: 25th Aug 2011 1:50
First of all, I don't have the AppGameKit yet (I plan on getting it soon ) so this is going by the documentation only.

However I've been going over the particles commands and I think I see how you could accomplish that.

You could create a particle emitter and set its frequency to some ridiculously high number, 20000 for instance...

Then set the max number of particles for the emitter to 100.

The emitter will create your 100 particles in one frame and then stop creating new particles.


Example:

CreateParticles( ID, x, y )
SetParticlesFrequency( ID, 20000 )

Be sure to limit the max number of particles for that emitter to 100 or you'll have an out of control emitter pumping out 20000 particles per second.

SetParticlesMax( ID, 100 )


And that should do it...
Posted: 25th Aug 2011 4:51
@Grumpy Jedi, thanks for the suggestion, it was closer to the effect I wanted but still not quite there. I think I'll be going with the sprite method Daniel recommended.
Posted: 25th Aug 2011 11:48
If you get a decent looking explosion, would you mind posting a screenshot or two? Without additive blending, I'm struggling to get something I like the look of.