Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
gdevelop:documentation:manual:built_particle [2018/05/27 08:14]
4ian [Gravity and friction]
gdevelop:documentation:manual:built_particle [2018/05/27 09:00] (current)
4ian
Line 7: Line 7:
 ===== Editing the object ===== ===== Editing the object =====
  
-Particle Emitter allows to change a large number of parameters :+Particle Emitter allows ​you to change a large number of parameters:
  
 ==== Rendering mode ==== ==== Rendering mode ====
  
-3 rendering mode are available : Points, Lines and Quad.\\+3 rendering mode are available: Points, Lines and Quad.\\
 The first mode will display points with the specified size.\\ The first mode will display points with the specified size.\\
 The second will display lines with specified thickness, and a length that will vary according to the length specified and the speed of the particle.\\ The second will display lines with specified thickness, and a length that will vary according to the length specified and the speed of the particle.\\
Line 19: Line 19:
 ==== Particles ==== ==== Particles ====
  
-Each particle have a limited lifetime, chosen randomly between two values which can be changed.+Each particle have a limited lifetime, chosen randomly between two values which can be changed
 +* The quantity of particles contained in the emitter ("​tank"​) can be unlimited or fixed to a number, in which case the emitter will stop emitting after reaching this number of particles. 
 +* The flow is the number of particles created every seconds. You can enter -1 to fire all particles in a single shot.
  
-Quantity of particle can be unlimited or fixed to a number, in which case the emitter will stop emitting after reaching this number of particle.\\ +You can also change the maximum number of particles rendered on screen by the object. Note that this number ​changes ​the memory taken by the emitter. If this number is really huge, it can cause the game to crash.
-The flow is the number of particle created by seconds. You can enter -1 so as to throw all particles in a single shot. +
- +
-You can also change the maximum number of particle. Note that this number ​change ​the memory taken by the emitter. If this number is really huge, it can cause crash.+
  
 __Simple setup__\\ __Simple setup__\\
-You can choose ​an initial ​color for particles, and a color to fade to.+You can choose ​a starting ​color for particles, and a color to fade to.
  
 __Advanced setup__\\ __Advanced setup__\\
-Each particle have a red, green, blue component. For each of them, you can choose if the value must be fixed ( In which case you can enter the value in the box below ), if the value must be randomly choosen ( In which case, you can choose the minimum and maximum using the two boxes ) or if the value must be changed over the time ( In which case, you can also choose the minimum and maximum using the two boxes ).+Each particle have a red, green, blue component. For each of them, you can choose if the value must be fixed (in which case you can enter the value in the box below), if the value must be randomly choosen (in which case, you can choose the minimum and maximum using the two boxes) or if the value must be changed over the time (in which case, you can also choose the minimum and maximum using the two boxes).
  
-You can also choose ​an initial ​and final value for the transparency.\\+You can also choose ​a starting ​and final value for the transparency.\\
 Size and angle of particles can also be customized in the same way. You can in addition choose if these values must changed over the time or take a random value when they are created. Size and angle of particles can also be customized in the same way. You can in addition choose if these values must changed over the time or take a random value when they are created.
  
Line 41: Line 40:
  
 __Simple setup__\\ __Simple setup__\\
-Particles will be emitted in direction. You can choose the angle of this direction as well as the angle of the spray cone. A important ​value for this spray cone will result in a emission of particles in a large number of direction around the direction specified. A value of 0 will emit particles only in the specified ​direction.+Particles will be emitted in the direction ​represented by the angle of the emitters on the scene. You can change ​the angle of the spray cone, which is also represented on the scene editor by two lines: a large value for this spray cone will result in a emission of particles in a large number of directions. A value of 0 will emit particles only in a single ​direction.
  
 __Advanced setup__\\ __Advanced setup__\\
Line 63: Line 62:
  
 __Advanced setup__\\ __Advanced setup__\\
-You can change the gravity applied to particle of the emitter : Enter its value on X, Y and Z ( depth ) axis. A value of 0;0;0 will define no gravity. +You can change the gravity applied to particle of the emitter : Enter its value on X, Y and Z (depth) axis. A value of 0;0;0 will define no gravity. 
-Finally, friction influence ​particles' ​deceleration.+ 
 +Friction influences ​particles deceleration ​over time.
  
 ===== Actions and conditions ===== ===== Actions and conditions =====