• 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 Setting a curve as a particle emitter region

Is it possible to set a sprite as a particle emitter region?
I want a object to draw particles that come out of a curve. (Not a open circle)
 

obscene

Member
No, you will have to create particles each step and define the positions manually. You'll probably find it optimal to initialize an array full of a bunch of random points within the curve in a create event and then create your particles at a random point from the array.
 

Slyddar

Member
There is no curve emitter. I would probably just use part_particles_create() with lengthdir_x/y. The dir would be a random_range between your curves start and end arc with the len matching your curve requirements.
 
Top