Difference between revisions of "ParticleSystem:setSizes"
(New function for 0.8.0) |
m |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{newin|[[0.8.0]]|080|type=function}} | + | {{newin|[[0.8.0]]|080|type=function|text=It has replaced [[ParticleSystem:setSize]]}} |
− | + | Sets a series of sizes by which to scale a particle sprite. 1.0 is normal size. The particle system will interpolate between each size evenly over the particle's lifetime. | |
At least one size must be specified. A maximum of eight may be used. | At least one size must be specified. A maximum of eight may be used. | ||
Line 6: | Line 6: | ||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> | ||
− | ParticleSystem:setSizes( size1, | + | ParticleSystem:setSizes( size1, size2, ..., size8 ) |
</source> | </source> | ||
=== Arguments === | === Arguments === | ||
Line 16: | Line 16: | ||
== See Also == | == See Also == | ||
* [[parent::ParticleSystem]] | * [[parent::ParticleSystem]] | ||
+ | * [[ParticleSystem:setSizeVariation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
{{#set:Description=Sets the sizes of the particle over its lifetime.}} | {{#set:Description=Sets the sizes of the particle over its lifetime.}} | ||
− | |||
== Other Languages == | == Other Languages == | ||
{{i18n|ParticleSystem:setSizes}} | {{i18n|ParticleSystem:setSizes}} |
Latest revision as of 18:18, 2 February 2014
Available since LÖVE 0.8.0 |
It has replaced ParticleSystem:setSize. |
Sets a series of sizes by which to scale a particle sprite. 1.0 is normal size. The particle system will interpolate between each size evenly over the particle's lifetime.
At least one size must be specified. A maximum of eight may be used.
Function
Synopsis
ParticleSystem:setSizes( size1, size2, ..., size8 )
Arguments
Returns
Nothing.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info