• 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!

GameMaker Cannon Shooting Particle Movement

Hi,

I'm making a Cannon for my game and trying to make a smoke burst effect from the barrel like this:
1) Smoke particles burst out of the barrel for up to 2 seconds (I kinda achieved this but GIF doesn't include that)
2) The particles that has travelled more than X pixels will start going up and with a movement that I can try to explain like:
> Changing "part_type_direction(myParticleUp, 11, 13, 0, 0);" to "part_type_direction(myParticleUp, 11, 13, 5, 0);"
> My particles start to increase angle all at once which I don't want.

And 2nd part above will be done with the particles on below the smoke too but the other way "-5".

I couldn't really find an easy way to do so, or a solid solution, I'm open to advices. Thanks!
Gyazo GIF of what I currently have (did some small changes)
 
Top