J
jaber
Guest
hi,
very straight, I have created an object and added the code:
create_event
step_event
I am trying to rotate the emitter, I tried rotating the object using
image_angle = something also with direction = something but that is not working! any one knows why?
How can I rotate the emitter then?
Thanks in advance
cheers!
very straight, I have created an object and added the code:
create_event
GML:
// Setup:
sys_particle = part_system_create()
part_system_layer(sys_particle, layer)
part_particle = part_type_create()
part_type_shape(part_particle, pt_shape_explosion)
part_type_size(part_particle, 0, 1.35, 0, 0)
part_type_scale(part_particle, 1, 1)
part_type_color3(part_particle, 6480853, 7763629, 2500351)
part_type_alpha3(part_particle, 0, 0.25, 0.16)
part_type_speed(part_particle, 0, 1.48, 0, 0)
part_type_direction(part_particle, 0, 360, 0, 0)
part_type_gravity(part_particle, 0, 270)
part_type_orientation(part_particle, 315, 315, 1, 0, 1)
part_type_blend(part_particle, 1)
part_type_life(part_particle, 0, 34)
emit_particle = part_emitter_create(sys_particle)
Code:
// To Use Particle:
part_emitter_region(sys_particle, emit_particle, x - 150, x + 150, y - 0, y + 0, ps_shape_rectangle, ps_distr_invgaussian)
part_emitter_burst(sys_particle, emit_particle, part_particle, 10)
image_angle = something also with direction = something but that is not working! any one knows why?
How can I rotate the emitter then?
Thanks in advance
cheers!