Building Leyborn Idle: XP and Item Toasts
What We Did
Added animated toast notifications for XP and item gains, giving the player clear, satisfying feedback with every successful action.
When a resource is gathered or experience is earned, a lightweight toast now animates into view tracking gains without cluttering the interface.
This system is built around a shared UI manager that queues, reuses, and animates messages efficiently, ensuring smooth stacking even under rapid updates.
Why It Matters
- Instant feedback: Players immediately see their progress without checking menus or stats.
- Game feel: Adds rhythm and responsiveness to idle gameplay.
- Lightweight implementation: Uses pooled objects and simple animation curves, keeping it performant and non-blocking.
- Reusability: The same system will handle all future notifications, level ups, achievements, crafting results, and more.
Next Steps
- Add rarity-based color coding for item toasts.
- Introduce level-up popups using the same framework.
- Expand toast handling to crafting, smelting, and skill unlocks.
- Integrate sound cues for XP and rare drops.