zrobiłem takie coś na particlach jak zrobicie lepsze do prosze o podanie gml
kod jakby ktoś z początkujących szukał
Create
GML
[/b]Sname = part_system_create()
particle1 = part_type_create()
part_type_shape(particle1,pt_shape_smoke)
part_type_size(particle1,0.1,0.5,0.05,0)
part_type_scale(particle1,1,1)
part_type_color1(particle1,c_green)
part_type_alpha3(particle1,0.7,0.40,0.10)
part_type_speed(particle1,0.5,1,-0.01,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_blend(particle1,-1)
part_type_life(particle1,40,80)
part_system_depth(Sname,-20)
emitter1 = part_emitter_create(Sname)
Step
GML
part_emitter_region(Sname,emitter1,x-20,x-20,y+20,y+20,0,0)
part_emitter_stream(Sname,emitter1,particle1,-4)