Table of Contents

Enum LabelEffect

Namespace
FishMMO.Client
Assembly
FishMMO.Client.dll

Bit-flag positions for visual effects on UITKWorldLabel. Combine with IntBitExtensions to enable multiple effects simultaneously.

int flags = 0;
flags.EnableBit(LabelEffect.FadeIn);
flags.EnableBit(LabelEffect.FloatUp);
flags.EnableBit(LabelEffect.ScaleUp);
UITKLabelMaker.Display3D("Hit!", pos, Color.red, 2f, 1f, false, flags);
public enum LabelEffect

Fields

Bounce = 5

Oscillates Y position with a sine wave for a bouncing effect.

FadeIn = 0

Fades alpha from 0 to 1 over the first half of the label's lifetime.

FadeOut = 1

Fades alpha from 1 to 0 over the second half of the label's lifetime.

FloatRandom = 7

Moves the label in a random direction with simulated gravity, floating then falling.

FloatUp = 6

Moves the label upward at a constant speed.

Pulse = 4

Oscillates scale with a sine wave for a pulsing heartbeat effect.

ScaleDown = 3

Scales the label down from target font size to 0 over its lifetime.

ScaleUp = 2

Scales the label up from 0 to target font size over its lifetime.

Shake = 9

Shakes the label position randomly for an impact/jitter effect.

Wave = 8

Oscillates Y position with a sine wave for a gentle wave effect (slower than Bounce).