-- the small avatar in the adventure map screen


PartFXParm ("num_parts", 6);
PartFXParm ("blend_mode", "ADDITIVE");
PartFXParm ("bitmap", "parts/purple_fire.png");
PartFXParm ("bitmap", "parts/purple_fire2.png");
PartFXParm ("area_radius", 0, 22);
PartFXParm ("area_angle_spread", 360);
PartFXParm ("age_to_die", 0.1, 0.2);
PartFXParm ("age", -0.1, 0);

PartFXParm ("move_angle", -90);
PartFXParm ("move_angle_spread", 10);
--PartFXParm ("move_speed", 40, 45);
PartFXParm ("move_speed", 4, 5);

-- define the alpha graph. 
-- first parm is time (between 0..1), 
-- the second is the alpha value at that time
PartFXParm ("alpha_graph", 0, 0);
PartFXParm ("alpha_graph", 0.2, 1);
PartFXParm ("alpha_graph", 1, 0);

PartFXParm ("scale_graph", 0, 1);
PartFXParm ("scale_graph", 0.2, 1.4);
PartFXParm ("scale_graph", 1, 0.4);

PartFXParm ("alpha", 0.8, 1);
PartFXParm ("scale", 1.1, 1.5);

PartFXParm ("angle_rps", 120, 180);


PartFXAddNew ();

PartFXParm ("num_parts", 4);
PartFXParm ("blend_mode", "ADDITIVE");
--PartFXParm ("bitmap", "parts/ball_pop_1.png");
--PartFXParm ("bitmap", "parts/ball_pop_2.png");
--PartFXParm ("bitmap", "parts/ball_pop_3.png");
--PartFXParm ("bitmap", "parts/ball_pop_4.png");
PartFXParm ("bitmap", "parts/ball_pop_5.png");
PartFXParm ("area_radius", 0, 12);
PartFXParm ("area_angle", 0);
PartFXParm ("area_angle_spread", 360);
PartFXParm ("age_to_die", 0.4, 0.7);
PartFXParm ("age", -0.2, -0.1);

PartFXParm ("angle", 0);
PartFXParm ("angle_spread", 360);
PartFXParm ("move_angle", 0);
PartFXParm ("move_angle_spread", 360);
PartFXParm ("speed", 40, 60);
PartFXParm ("init_move", 0, 10);

-- define the alpha graph. 
-- first parm is time (between 0..1), 
-- the second is the alpha value at that time
PartFXParm ("alpha_graph", 0, 0);
PartFXParm ("alpha_graph", 0.1, 1);
PartFXParm ("alpha_graph", 0.3, 1);
PartFXParm ("alpha_graph", 1, 0);

-- define the scale graph, same principle
PartFXParm ("scale_graph", 0, 0.4);
PartFXParm ("scale_graph", 0.3, 1.0);
PartFXParm ("scale_graph", 0.5, 1.0);
PartFXParm ("scale_graph", 1, 0.1);

PartFXParm ("angle_rps", 50, 140); -- rotates this much during its life time



