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/08 23:36]
valiant_curiosity [Lifetime]
gdevelop5:objects:particles_emitter [2019/06/13 08:45]
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  +
- +
-<note tip>​**See it in action!** 🎮\\ +
-Open these examples online.</​note>​ +
- +
- +
-[[https://​editor.gdevelop-app.com/?​project=example://​particles-explosions|{{:​gdevelop5:​objects:​particleemitterexplosions.png?​200|}}]] +
- +
-* https://​editor.gdevelop-app.com/?​project=example://​particles-explosions +
- +
-[[https://​editor.gdevelop-app.com/?​project=example://​particles-various-effects|{{:​gdevelop5:​objects:​particleemitervarious.png?​200|}}]] +
- +
-* https://​editor.gdevelop-app.com/?​project=example://​particles-various-effects+
  
 ## Particles kind ## Particles kind
 To use the Particle Emitter, create a new object from the Objects list. A panel will open: To use the Particle Emitter, create a new object from the Objects list. A panel will open:
  
-{{ :​gdevelop5:​objects:​addnewobject-particlesemitter.png?​400 |}}+{{ :​gdevelop5:​objects:​addnewobject-particlesemitter.png?​nolink ​|}} 
  
 Select "​Particles Emitters"​ from the list. Select "​Particles Emitters"​ from the list.
  
-A new panel will popup. This 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.+A new panel will pop up. This 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.
  
-{{ :​gdevelop5:​objects:​particleemitterspanelofchoices.png?​400 |}}+{{ :​gdevelop5:​objects:​particleemitterspanelofchoices.png?​nolink ​|}}
  
 //There are 3 rendering modes available for Particle Emitters: Points, Lines and Textured.// //There are 3 rendering modes available for Particle Emitters: Points, Lines and Textured.//
Line 47: Line 38:
  
 * 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 has a limited lifetime that is chosen randomly between two values. These two values ​ 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. If the emitter is fixed to a number, the emitter will stop emitting after reaching the set 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 second. 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 by the  object on screen . 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