1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Updated tutorial_particles_2d (markdown)

reduz
2014-11-04 10:58:52 -08:00
parent 282160437b
commit 45fde9f648

@@ -95,3 +95,14 @@ Determines the intial angle of the particle (in degress). This parameter is most
Determines the intial and final scales of the particle. Determines the intial and final scales of the particle.
<p align="center"><img src="images/paranim12.gif"></p> <p align="center"><img src="images/paranim12.gif"></p>
#### Color Phases
Particles can use up to 4 color phases. Each color phase can include transparency.
Phases must provide an offset value from 0 to 1, and alays in ascending order. For example, a color will begin at offset 0 and end in offset 1, but 4 colors might use diferent offsets, such as 0, 0.2, 0.8 and 1.0 for the different phases:
<p align="center"><img src="images/particlecolorphases.png"></p>
Will result in:
<p align="center"><img src="images/paranim13.gif"></p>