Confirmedusers, editor, Administrators
886
edits
CreativeMD (talk | contribs) |
CreativeMD (talk | contribs) No edit summary |
||
Line 73: | Line 73: | ||
=== Quantity === | === Quantity === | ||
<syntaxhighlight lang="c#"> | |||
myParticles.minQuantity = 3; | |||
</syntaxhighlight> | |||
[[File:Particles (many).gif|300px]] | |||
<syntaxhighlight lang="c#"> | |||
myParticles.minQuantity = 0; | |||
myParticles.addQuantity = 100; | |||
</syntaxhighlight> | |||
[[File:Particles (random many).png|300px]] | |||
=== Color === | === Color === | ||
<syntaxhighlight lang="c#"> | |||
myParticles.color = ColorUtil.ToRGBABytes(ColorUtil.ColorFromArgb(255, 255, 0, 0)); | |||
</syntaxhighlight> | |||
[[File:Particles (red).gif|300px]] | |||
<syntaxhighlight lang="c#"> | |||
Random rand = new Random(); | |||
myParticles.color = ColorUtil.ToRGBABytes(ColorUtil.ColorFromArgb(255, rand.Next(0, 255), rand.Next(0, 255), rand.Next(0, 255))); | |||
</syntaxhighlight> | |||
[[File:Particles (random colors).gif|300px]] | |||
=== Glow === | === Glow === | ||
=== | <syntaxhighlight lang="c#"> | ||
myParticles.glowLevel = 20; | |||
</syntaxhighlight> | |||
[[File:Particles (glowing).gif|300px]] | |||
<syntaxhighlight lang="c#"> | |||
myParticles.glowLevel = 255; | |||
</syntaxhighlight> | |||
[[File:Particles (glowing brightest).gif|300px]] | |||
=== Gravity === | |||
<syntaxhighlight lang="c#"> | |||
myParticles.gravityEffect = 0.1F; | |||
</syntaxhighlight> | |||
[[File:Particles (low gravity).gif|300px]] | |||
=== Size === | |||
=== Model === | === Model === | ||
=== | === Opacity === | ||
=== Die In Air/ Liquid === | === Die In Air/ Liquid === |