image

image

Tuesday, November 4, 2014

Indie Day 26 - Resources Are Important

new tree


new bush


new particle code thanks to Justin has been implemented, you can probably find it on his blog but i made a slight adjustment so now it looks like this.

///particlecode
Sname = part_system_create();
particle1 = part_type_create();
part_type_shape(particle1,pt_shape_disk);
part_type_size(particle1,0.01,0.10,0,0);
part_type_scale(particle1,1,1);
part_type_color3(particle1, c_red, c_red, c_red);
part_type_alpha3(particle1,1,0.7,0.2);
part_type_speed(particle1,0.10,3,0,0);
part_type_direction(particle1,0,359,0,0);
part_type_gravity(particle1,0,270);
part_type_orientation(particle1,0,0,0,0,1);
part_type_life(particle1,10,20);

and there's code in certain events to make those particles show up.

No comments:

Post a Comment