Turkish Coffee
Member
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)
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)