The library comes with a star graphic, assumed stored in /img/star.png, which it uses as the default:
imgExplosion();
in place, fade, no-rotate, fast, lots
$.fn.imgExplosion({
inPlace:true,
rot:false,
interval:200,
explode:false,
num:50
});
Throw at an angle
$('#Ninja').imgExplosion({
angle:true
});
Alternate throwing top/bottom
$('#Circle').imgExplosion({
alternate:true
});
Alternate at angle
$('#Shocked').imgExplosion({
angle:true,
alternate:true
});
Burst
$('#Burst').imgExplosion({
angle:true,
centerOn:this,
interval:2,
minThrow:500,
maxThrow:1300,
angle:true,
explode: false,
extraWidth:200,
rotateSpeed:30
});