// // fireballsmoke // numParticles 30 material textures/particles/smokepuff initialVelocity ( point, 0.3, 0, 0.0 ) size ( 22, 24 ) randomColor ( 0.1, line, 0.2, 0.15, 0.1, 0.25, 0.20, 0.15 ) angle ( 0, 359 ) //rotationSpeed ( 1, 1 ) livefor 5 movewithParent staydead begin { // when a particle dies, it will re-start with the same base velocity copyVelocitys targetSize ( 15, 0.015 ) targetColor ( 0.0, 0.0, 0.0, 0.0, 0.0252 ) source ( 0.55, point, 0.0, 0.0, 0.0 ) //killIfOlderThan 50 killUnseen applyDamping (0.9, 0.9, 0.6) gravity ( 0.0, 0.0, 0.19 ) // run this loop applyMathSoFar }