• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

GML Help With Particle Matters

BlueBot5000

Member
So for my game am trying best way to emit particles until the PowerUp is finished than it switch's back to normal Obj but i can't tell if repeat is what should and where i should put

How can i make the Particles emit forever on the PoweredUp Character?
 

simes007us

Member
I'd suggest looking into this function "part_particles_create" Once you've defined your particle system you can created them anywhere you wish with this. IE make your particle system:

partsys =part_system_create_layer("SpaceDust",false)
p1 = part_type_create();
part_type_sprite(p1 , spr_rockcloud, false, 0, true);
part_type_scale(p1, 4, 4);

etc
if timer >0
part_particles_create(partsys, x, y, p1, 1);
timer --
if timer<=0
timer = 30
 
Top