views:

141

answers:

4

hi,

right now, for an explosion, i am just showing 3 images in a for loop, is there any better way to create a more realistic explostion? thanks.

+2  A: 

Google for "particle system"

MK
Is there such thing?
Paulo Santos
I think MK means 'look up particle system in Google'.
Xavier Ho
... which is actually a helpful answer, since the question did not mention particle systems at all, and they *can* be used to create more realistic explosions.
SamB
particle systems are also quite cpu intensive, something that most android devices have plentiful of
Newtopian
+1 First hit: http://en.wikipedia.org/wiki/Particle_system
trashgod
+1  A: 

maybe a bank of 10 or 15 images that pick randomly from to dynamically create new sequences

Newtopian
+3  A: 

Try blitting a sequence of pre-rendered bitmaps combined with a few single pixel "sparks" that fly from the origin. ParticleIllusion (which isn't free) lets you generate some very nice looking explosions and save them as a sequence of pngs.

justkevin