You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Updated tutorial_particles_2d (markdown)
@@ -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>
|
||||||
Reference in New Issue
Block a user