mirror of
https://github.com/godotengine/godot.git
synced 2024-11-24 21:22:48 +00:00
Updated tutorial_particles_2d (markdown)
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.
|
||||
|
||||
<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>
|
Loading…
Reference in New Issue
Block a user