Difference between revisions of "AreaSpreadDistribution"

m (Updated for 0.10.2)
(Updated for 0.11.0)
Line 6: Line 6:
 
{{New feature|0.10.2|
 
{{New feature|0.10.2|
 
;ellipse: Uniform distribution in an ellipse.
 
;ellipse: Uniform distribution in an ellipse.
 +
}}
 +
{{New feature|0.11.0|
 +
;borderellipse: Distribution in an ellipse with particles spawning at the edges of the ellipse.
 +
;borderrectangle: Distribution in a rectangle with particles spawning at the edges of the rectangle.
 
}}
 
}}
 
;none: No distribution - area spread is disabled.
 
;none: No distribution - area spread is disabled.

Revision as of 03:31, 25 March 2018

Available since LÖVE 0.9.0
This enum is not supported in earlier versions.

Types of particle area spread distribution.

Constants

uniform
Uniform distribution.
normal
Normal (gaussian) distribution.
Available since LÖVE 0.10.2
ellipse
Uniform distribution in an ellipse.


Available since LÖVE 0.11.0
borderellipse
Distribution in an ellipse with particles spawning at the edges of the ellipse.
borderrectangle
Distribution in a rectangle with particles spawning at the edges of the rectangle.
none
No distribution - area spread is disabled.

See Also

Other Languages