GM:S 1.4 Using a single particle system for all emitting objects

Discussion in 'Programming' started by PWL, Sep 28, 2016.

  1. PWL

    PWL Member

    Jun 21, 2016
    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?

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice