Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
gdevelop5:objects:particles_emitter [2018/10/07 23:42]
valiant_curiosity [Particles emitters]
gdevelop5:objects:particles_emitter [2019/06/13 08:45] (current)
piyushpalawat99 [Examples]
Line 1: Line 1:
 # Particles emitters # Particles emitters
 +
 +<note tip>​**See it in action!** 🎮\\
 +[[#​Examples|I would rather see the Particles emitters object examples! Please take me there now.]]
 +</​note>​
  
 Particles emitters are used to display a large number of small particles. They simulate effects in a game. A few examples of particle emitters are fire, explosions, smoke, and dust. Particles emitters are used to display a large number of small particles. They simulate effects in a game. A few examples of particle emitters are fire, explosions, smoke, and dust.
Line 5: Line 9:
 {{ :​gdevelop5:​objects:​particles-emitters-preview.png?​nolink |}} {{ :​gdevelop5:​objects:​particles-emitters-preview.png?​nolink |}}
  
-The Particles Emitter object can be configured with a multitude of different parameters ​ to create the desired effects.+The Particles Emitter object can be configured with a multitude of different parameters to create the desired effects.
  
-## Examples ​+## Particles kind 
 +To use the Particle Emitter, create a new object from the Objects list. A panel will open:
  
-<note tip>​**See it in action!** 🎮\\ +{{ :​gdevelop5:​objects:​addnewobject-particlesemitter.png?nolink |}}
-Open these examples online.</​note>​+
  
  
-[[https://​editor.gdevelop-app.com/?​project=example://​particles-explosions|{{:​gdevelop5:​objects:​particleemitterexplosions.png?​200|}}]]+Select "​Particles Emitters"​ from the list.
  
-* https://​editor.gdevelop-app.com/?​project=example://​particles-explosions+A new panel will pop upThis panel contains the properties that can be set for your emitter. You will need to scroll down to view all of the properties available for the emitter.
  
-[[https://​editor.gdevelop-app.com/?​project=example://​particles-various-effects|{{:​gdevelop5:​objects:​particleemitervarious.png?200|}}]]+{{ :​gdevelop5:​objects:​particleemitterspanelofchoices.png?nolink ​|}}
  
-* https://editor.gdevelop-app.com/?​project=example:​//particles-various-effects+//There are 3 rendering modes available for Particle Emitters: Points, Lines and Textured.//
  
-## Particles kind +Points mode, will display circles with the specified size. 
- +Lines mode,  will display lines with the specified length and thickness. 
-3 rendering mode are available: ​Points, Lines and Textured. +Textured ​mode, will display an image of the specified size.
- +
-* The first mode, Points, will display circles with the specified size. +
-The second ​mode, Lines,  will display lines with the specified length and thickness. +
-The third mode, Textured, will display an image of the specified size.+
  
 ## Colors ## Colors
  
-* You can choose a starting color for particles, and a color to fade to. You can also choose a starting ​and final value for the transparency.+* You can choose a starting color for particles, and a color to fade to. You can also choose a starting ​final value for the object'​s ​transparency.
  
 ## Direction of emission ## Direction of emission
  
-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 emission of particles in a large number of directions. A value of 0 will emit particles only in a single 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 ​in the scene editor ​as two lines: a large value for this "spray cone" ​will result in an emission of particles in a large number of directions. A value of 0 will emit particles only in a single direction.
  
 * Particles appears in a sphere, around the position of the emitter object. You can change the radius of the sphere. * Particles appears in a sphere, around the position of the emitter object. You can change the radius of the sphere.
-* Gravity can be applied on particles, on X and Y axis. For example, a negative value on Y axis will cause the particles to go up in the air. +* Gravity can be applied on particles, on X and Y axis. For example, a negative value on the Y-axis will cause the particles to go up in the air. 
-* Friction influences particles deceleration over time+* Friction influences particles deceleration over time.
  
 ## Lifetime ## Lifetime
  
-* Each particle ​have a limited lifetimechosen randomly between two values ​which can be changed. +* Each particle ​has a limited lifetime ​that is chosen randomly between two values. These two values ​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 number ​of particles contained in the emitter ("​tank"​) can be unlimited or fixed to a number. If the emitter is fixed to a number, the emitter will stop emitting after reaching ​the set 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.+* The flow is the number of particles created every second. You can enter -1 to fire all particles in a single shot.
  
-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.+You can also change the maximum number of particles rendered by the object ​on the screen. Note that this number changes the memory taken by the emitter. ​//If this number is too big, it can cause the game to crash.//
  
 +
 +## Examples ​
 +
 +<note tip>​**See it in action!** 🎮\\
 +Open these examples online.</​note>​
 +
 +
 +[[https://​editor.gdevelop-app.com/?​project=example://​particles-explosions|{{:​gdevelop5:​objects:​particleemitterexplosionsnew.png?​nolink|}}]]
 +
 +* https://​editor.gdevelop-app.com/?​project=example://​particles-explosions
 +
 +[[https://​editor.gdevelop-app.com/?​project=example://​particles-various-effects|{{:​gdevelop5:​objects:​particleemitervariousnew.png?​nolink|}}]]
 +
 +* https://​editor.gdevelop-app.com/?​project=example://​particles-various-effects