Skip to main content

Animations

Loot Log uses a multi-stage animation pipeline to create smooth, polished pickup notifications. Every animation parameter is configurable.


Animation Timeline

Each entry follows this lifecycle:

  1. Fade In (fadeInMs, default 300ms) — Entry fades from transparent to opaque with optional slide and scale effects
  2. Display (displayDurationMs, default 5000ms) — Entry is fully visible
  3. Fade Out (fadeOutMs, default 500ms) — Entry fades out with optional reverse slide

Slide Animation

Entries slide in horizontally from the screen edge. The slide distance and easing curve control how the animation feels.

SettingDefaultRangeDescription
slideDistance2200–500Pixels the entry slides during fade-in
slideEasingQUAD_OUTEasing curve for the slide
fadeOutSlidetrueReverse the slide during fade-out

Easing Functions

EasingDescription
QUAD_OUTSmooth deceleration — the default, natural-feeling ease
CUBIC_OUTStronger deceleration — faster start, smoother stop
BACK_OUTSlight overshoot past the target, then settle back
ELASTIC_OUTSpringy bounce effect — overshoots and oscillates

Scale Entrance

When enabled, entries scale up from a smaller size during fade-in, creating a pop-in effect.

SettingDefaultRangeDescription
scaleEntrancefalseEnable scale pop-in
entranceScaleStart0.80.1–1.0Starting scale (animates to 1.0)

Stagger Delay

When multiple entries are visible, stagger delay adds a progressive offset to each entry's animation. The first entry animates immediately; subsequent entries are delayed.

SettingDefaultRangeDescription
staggerDelayMs00–500Delay per entry in milliseconds
tip

A stagger delay of 50–100ms creates a pleasing cascade effect when picking up multiple items at once.


Vertical Transitions

When entries appear or disappear, existing entries smoothly shift to fill the gap rather than snapping to their new position.

SettingDefaultRangeDescription
verticalAnimSpeed0.30–1Transition speed. Lower = faster, higher = smoother