Basic burst effect

Can anyone let me know or guide to any tutorial or material, which talks about the basic burst effect when a circular object say ball collides and bursts. That is we see as if the ball is bursted.
I know that we have particle candy which has all effects, but we have to buy it. Rather I want the basic burst effect from where which we can understand and develop our own effect. [import]uid: 183447 topic_id: 33386 reply_id: 333386[/import]

You could take a look at the following Fireworks example for inspiration: http://developer.coronalabs.com/code/simple-particle-emitter-and-fireworks-show [import]uid: 106799 topic_id: 33386 reply_id: 132603[/import]

If you want something super simple:

local function destroyParticle(target)  
 target:removeSelf()  
 target = nil  
end  
  
local function spawnParticle(x, y)  
  
 local particle = display.newCircle(x, y, math.random(5,15))  
 transition.to(particle, {time=math.random(50,150)+500, x=x+math.random(-100,100), y=y+math.random(-100,100), alpha=0.0, easing=easing.inExpo, onComplete=destroyParticle})  
end  
  
for i = 1, 100 do  
 timer.performWithDelay(i\*50,function() spawnParticle(display.contentWidth / 2, display.contentHeight / 2) end)  
end  

Of course you might want to put an image in instead of a circle and play with the various easings. If you want more of a fireworks type effect where the particle fall, add in some physics and do a physics.addBody() on each circle and maybe instead of the y destination being completely random have it shoot up (y = y - math.random(100)) instead or y = y + math.random(-100,25) which would send some downward and more upward.
[import]uid: 199310 topic_id: 33386 reply_id: 132682[/import]

You could take a look at the following Fireworks example for inspiration: http://developer.coronalabs.com/code/simple-particle-emitter-and-fireworks-show [import]uid: 106799 topic_id: 33386 reply_id: 132603[/import]

If you want something super simple:

local function destroyParticle(target)  
 target:removeSelf()  
 target = nil  
end  
  
local function spawnParticle(x, y)  
  
 local particle = display.newCircle(x, y, math.random(5,15))  
 transition.to(particle, {time=math.random(50,150)+500, x=x+math.random(-100,100), y=y+math.random(-100,100), alpha=0.0, easing=easing.inExpo, onComplete=destroyParticle})  
end  
  
for i = 1, 100 do  
 timer.performWithDelay(i\*50,function() spawnParticle(display.contentWidth / 2, display.contentHeight / 2) end)  
end  

Of course you might want to put an image in instead of a circle and play with the various easings. If you want more of a fireworks type effect where the particle fall, add in some physics and do a physics.addBody() on each circle and maybe instead of the y destination being completely random have it shoot up (y = y - math.random(100)) instead or y = y + math.random(-100,25) which would send some downward and more upward.
[import]uid: 199310 topic_id: 33386 reply_id: 132682[/import]