Browse Source

Reorganize particle systems 2D

skyace65 7 years ago
parent
commit
145b8f64ff
1 changed files with 29 additions and 29 deletions
  1. 29 29
      learning/features/2d/particle_systems_2d.rst

+ 29 - 29
learning/features/2d/particle_systems_2d.rst

@@ -50,10 +50,10 @@ the relevant texture property:
 .. image:: img/particles2.png
 
 Time Parameters
-===============
+---------------
 
 Lifetime
---------
+~~~~~~~~
 
 The time in seconds that every particle will stay alive. When lifetime
 ends, a new particle is created to replace it.
@@ -67,13 +67,13 @@ Lifetime: 4.0
 .. image:: img/paranim15.gif
 
 One Shot
---------
+~~~~~~~~
 
 When enabled, a Particles2D node will emit all of it's particles once 
 and then never again.
 
 Preprocess
-----------
+~~~~~~~~~~
 
 Particle systems begin with 0 particles emitted, then start emitting.
 This can be an inconvenience when just loading a scene and systems like
@@ -82,14 +82,14 @@ used to let the system process a given amount of seconds before it is
 actually shown the first time.
 
 Speed Scale
------------
+~~~~~~~~~~~
 
 The speed scale has a default value of 1, and is used to adjust the 
 speed of a particle system. Lowering the value will make the particles 
 slower, increaseing the value will make the particles much faster.
 
 Explosiveness
--------------
+~~~~~~~~~~~~~
 
 If lifetime is 1 and there are 10 particles, it means every particle
 will be emitted every 0.1 seconds. The explosiveness parameter changes
@@ -104,7 +104,7 @@ creating explosions or sudden bursts of particles:
 .. image:: img/paranim18.gif
 
 Randomness
-----------
+~~~~~~~~~~
 
 All physics parameters can be randomized. Random variables go from 0 to
 1. The formula to randomize a parameter is:
@@ -114,29 +114,29 @@ All physics parameters can be randomized. Random variables go from 0 to
     initial_value = param_value + param_value*randomness
 
 Fixed FPS
----------
+~~~~~~~~~
 
 This setting can be used to set the particle system to render at a fixed 
 FPS. For instance, changing the FPS to 2 will make the particles render 
 every 2 frames a second, however it will not slow down. 
 
 Fract Delta
------------
+~~~~~~~~~~~
 
 This can be used to turn Fract Delta on or off.
 
 Drawing Parameters 
-==================
+------------------
 
 Visability Rect
----------------
+~~~~~~~~~~~~~~~
  
 The W and H values control width and height of the visability rectnagle 
 respectively. The X and Y values control the position of the Upper left 
 corner of the visability rectangle relative to the particle emitter.
 
 Local Coords
-------------
+~~~~~~~~~~~~
 
 By default this option is on, and it means that the space that particles
 are emitted to is contained within the node. If the node is moved, all
@@ -150,15 +150,15 @@ node is moved, the emissor is moved too:
 .. image:: img/paranim21.gif
 
 Draw Order
-----------
+~~~~~~~~~~
 
 The particle draw order can be set to index or lifetime.
 
 ParticlesMaterial settings
-==========================
+--------------------------
 
 Direction
----------
+~~~~~~~~~
 
 This is the base angle at which particles emit. Default is 0 (down):
 
@@ -173,7 +173,7 @@ This parameter is useful because, by rotating the node, gravity will
 also be rotated. Changing direction keeps them separate.
 
 Spread
-------
+~~~~~~
 
 Spread is the angle at which particles will randomly be emitted.
 Increasing the spread will increase the angle. A spread of 180 will emit
@@ -182,14 +182,14 @@ in all directions.
 .. image:: img/paranim3.gif
 
 Gravity
--------
+~~~~~~~
 
 The gravity applied to every particle. 
 
 .. image:: img/paranim7.gif
 
 Initial Velocity
-----------------
+~~~~~~~~~~~~~~~~
 
 Linear velocity is the speed at which particles will be emitted (in
 pixels/sec). Speed might later be modified by gravity or other
@@ -198,12 +198,12 @@ accelerations (as described further below).
 .. image:: img/paranim4.gif
 
 Angular Velocity
-----------------
+~~~~~~~~~~~~~~~~
 
 Angular velocity is the inital angular velocity applied to particles.
 
 Spin Velocity
--------------
+~~~~~~~~~~~~~
 
 Spin velocity is the speed at which particles turn around their center
 (in degrees/sec).
@@ -211,19 +211,19 @@ Spin velocity is the speed at which particles turn around their center
 .. image:: img/paranim5.gif
 
 Orbit Velocity
---------------
+~~~~~~~~~~~~~~
 
 Orbit velocity is used to make particles turn around their center.
 
 .. image:: img/paranim6.gif
 
 Linear Acceleration
--------------------
+~~~~~~~~~~~~~~~~~~~
 
 The linear acceleration applied to each particle.
 
 Radial Acceleration
--------------------
+~~~~~~~~~~~~~~~~~~~
 
 If this acceleration is positive, particles are accelerated away from
 the center. If negative, they are absorbed towards it.
@@ -231,7 +231,7 @@ the center. If negative, they are absorbed towards it.
 .. image:: img/paranim8.gif
 
 Tangential Acceleration
------------------------
+~~~~~~~~~~~~~~~~~~~~~~~
 
 This acceleration will use the tangent vector to the center. Combining
 with radial acceleration can do nice effects.
@@ -239,7 +239,7 @@ with radial acceleration can do nice effects.
 .. image:: img/paranim9.gif
 
 Damping
--------
+~~~~~~~
 
 Damping applies friction to the particles, forcing them to stop. It is
 especially useful for sparks or explosions, which usually begin with a
@@ -248,7 +248,7 @@ high linear velocity and then stop as they fade.
 .. image:: img/paranim10.gif
 
 Angle
------
+~~~~~
 
 Determines the initial angle of the particle (in degress). This parameter
 is mostly useful randomized.
@@ -256,19 +256,19 @@ is mostly useful randomized.
 .. image:: img/paranim11.gif
 
 Scale
------
+~~~~~
 
 Determines the initial scale of the particles.
 
 .. image:: img/paranim12.gif
 
 Color
------
+~~~~~
 
 Used to change the color of the particles being emitted.
 
 Hue variation
--------------
+~~~~~~~~~~~~~
 
 The variation value sets the inital hue variation applied to each 
 particle. The Variation rand value controls the hue variation