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

Legacy GM Using a single particle system for all emitting objects

P

PWL

Guest
I'm having several spots (let's say obj_spot) that I will emitt particles from. Like a floating ball of a certain color. This color property is called "color" within these objects. They will vary, that's the point.

I would really like to write one code (in ex. obj_particle_handler) that handles all of the particle emitters instead of creating one emitter or even particle system for each of the obj_spots.

How would I best loop through the position of all the obj_spots and emitt particles from obj_spot's in a color of its color-property? Especially how will I handle the unique color for each one?
 
Top