
-- initial spark

FXParm ("num_parts", 1);

FXParm ("blend_mode", "ADDITIVE");
FXParm ("bitmap", "fxs/flare.png");
--FXParm ("sound", "sfx/explosion_small.ogg");


FXParm ("age_to_die", 0.3, 0.3);
FXParm ("age", 0, 0);
FXParm ("area_radius", 0, 0);

FXParm ("angle", 0, 360);

FXParm ("move_angle", 0);
FXParm ("move_angle_spread", 0);
FXParm ("move_speed", 0,0);
--FXParm ("initial_move", 10,14);

FXParm ("scale_graph", 0, 0.2);
FXParm ("scale_graph", 0.35, 1);
FXParm ("scale_graph", 1, 0.2);

FXParm ("alpha", 0.9, 0.9);

FXParm ("alpha_graph", 0, 1);
FXParm ("alpha_graph", 0.75, 1);
FXParm ("alpha_graph", 1, 0);



FXAddNew ();
FXParm ("num_parts", 45);

FXParm ("blend_mode", "ADDITIVE");
FXParm ("bitmap", "fxs/purplestar.png");
--FXParm ("sound", "sounds/fireworks_boom_03.ogg");

FXParm ("mass", 50, 70);

FXParm ("age", -0.05, -0.15);
FXParm ("age_to_die", 0.35, 0.65);

FXParm ("area_radius", 0, 20);
FXParm ("area_angle_spread", 360);

FXParm ("angle", -90);
FXParm ("angle_spread", 360);

FXParm ("move_angle", -90);
FXParm ("move_angle_spread", 360);
FXParm ("move_speed", 6,94);
--FXParm ("init_move", 3,14);

FXParm ("scale_graph", 0, 0.1);
FXParm ("scale_graph", 0.1, 1.2);
FXParm ("scale_graph", 1, 0.1);

FXParm ("alpha_graph", 0, 0);
FXParm ("alpha_graph", 0.2, 1.0);
FXParm ("alpha_graph", 0.8, 1.0);
FXParm ("alpha_graph", 1, 0);

-- fire

FXAddNew ();

FXParm ("num_parts", 2);

FXParm ("blend_mode", "ADDITIVE");
FXParm ("bitmap", "fxs/explosion-additive.png");

FXParm ("age_to_die", 0.4, 1.2);
FXParm ("age", -0.1, -0.4);
FXParm ("area_radius", 0, 20);
FXParm ("area_angle_spread", 360);

FXParm ("mass", -1, -3);

FXParm ("angle", 0, 360);
FXParm ("angle_rps", -90, 90);

FXParm ("move_angle", 0);
FXParm ("move_angle_spread", 360);
FXParm ("move_speed", 0,20);
FXParm ("initial_move", 10,14);

FXParm ("scale_graph", 0, 0.7);
FXParm ("scale_graph", 0.2, 1.0);
FXParm ("scale_graph", 1, 1);

FXParm ("scale", 1.55, 2.2);

FXParm ("alpha", 0.8, 0.9);

FXParm ("alpha_graph", 0, 0);
FXParm ("alpha_graph", 0.2, 1);
FXParm ("alpha_graph", 1, 0);



-- smoke cloud after the explosion

FXAddNew ();
FXParm ("num_parts", 2);

--FXParm ("blend_mode", "ADDITIVE");
FXParm ("bitmap", "fxs/smoke.png");

FXParm ("age_to_die", 1.0, 2.0);
FXParm ("age", -0.2, -1.1);
FXParm ("area_radius", 0, 100);
FXParm ("area_angle_spread", 360);

FXParm ("angle", 0, 360);
FXParm ("angle_rps", -90, 90);

FXParm ("mass", -2, -6);

FXParm ("move_angle", 0);
FXParm ("move_angle_spread", 360);
--FXParm ("move_speed", 1920,2000);
--FXParm ("initial_move", 60,84);

FXParm ("scale_graph", 0, 1);
FXParm ("scale_graph", 1, 3);

FXParm ("scale", 1.9, 2.4);
--FXParm ("scale", 0.3, 0.9);

FXParm ("alpha", 0.7, 0.9);
--FXParm ("alpha", 0.3, 0.7);

FXParm ("alpha_graph", 0, 0);
FXParm ("alpha_graph", 0.1, 1);
FXParm ("alpha_graph", 1, 0);




