blob: 3412ce30901dd5f33829d5a9da6a32559da68d4d [file] [log] [blame]
{
"MaxCount": 4000,
"Drawable": {
"Type": "SkCircleDrawable",
"Radius": 3
},
"EffectCode": [
"void effectUpdate(inout Effect effect) {",
" effect.rate = (sin(radians(effect.age * 720)) + 0.7) * 200;",
"}",
""
],
"Code": [
"void spawn(inout Particle p) {",
" p.lifetime = 6;",
" float a = radians(rand * 360);",
" p.pos = float2(cos(a), sin(a)) * 40;",
" p.vel = p.pos;",
" p.scale = 0.5;",
"}",
""
],
"Bindings": []
}