--- a/LuaAPI.wiki Thu Sep 10 00:49:20 2015 +0000
+++ b/LuaAPI.wiki Thu Sep 10 00:50:42 2015 +0000
@@ -535,9 +535,10 @@
`Angle, Power, WDTimer, Radius, Karma, DirAngle, AdvBounce, ImpactSound, nImpactSounds, Tint`
A rough description of some of the parameters:
-* `Radius`: Effect or collision radius, most of the time
-* `ImpactSound`: Sound it makes on a collision (see [[Sounds]])
-* `Tint`: Used by some gear types to determine its colorization. The color is in RGBA format.
+
+ * `Radius`: Effect or collision radius, most of the time
+ * `ImpactSound`: Sound it makes on a collision (see [[Sounds]])
+ * `Tint`: Used by some gear types to determine its colorization. The color is in RGBA format.
Example:
<code language="lua">
@@ -550,14 +551,14 @@
`X, Y, dX, dY, Angle, Frame, FrameTicks, State, Timer, Tint`
-* `X`, `Y`: typically position
-* `dX`, `dY`: typically speed
-* `Angle` is usually the rotation angle
-* `Frame` is typically the animation frame
-* `FrameTicks` is usually an animation counter
-* `State` can have a variety of values, but is typically bit packed
-* `Timer` is usually the gear lifetime
-* `Tint` is the RGBA color
+ * `X`, `Y`: typically position
+ * `dX`, `dY`: typically speed
+ * `Angle` is usually the rotation angle
+ * `Frame` is typically the animation frame
+ * `FrameTicks` is usually an animation counter
+ * `State` can have a variety of values, but is typically bit packed
+ * `Timer` is usually the gear lifetime
+ * `Tint` is the RGBA color
Most visual gears require little to no modification of parameters.
@@ -619,12 +620,12 @@
=== <tt>!SetVisualGearValues(vgUid, X, Y, dX, dY, Angle, Frame, !FrameTicks, State, Timer, Tint)</tt> ===
This allows manipulation of many of the visual gear values. In the case of `vgtCircle`, the visual gear values are mapped as follows:
-* `X`, `Y`: Position
-* `State`: Radius.
-* `Timer`: Thickness
-* `FrameTicks`: Pulsation speed (`0` to disable)
-* `dX`, `dY`: min/max pulsation opacity (`0`-`255`)
-* `Tint`: Color in RGBA
+ * `X`, `Y`: Position
+ * `State`: Radius.
+ * `Timer`: Thickness
+ * `FrameTicks`: Pulsation speed (`0` to disable)
+ * `dX`, `dY`: min/max pulsation opacity (`0`-`255`)
+ * `Tint`: RGBA color
Most visual gears require little to no modification of parameters.