Level-Up Animation System
Overview
How It Works
Animation Flow
1. Start with pre-battle XP
↓
2. Animate toward post-battle XP
↓
3. Detect when XP crosses level threshold
↓
4. Fill bar to 100% → Show level-up → Reset bar for next level
↓
5. Continue animating toward final XP
↓
6. Show "LEVEL UP!" notification with final levelXPProgresBar Component
Key Features
Props
Usage
Level-Up Detection Logic
Skip Functionality
PartyMemberReward Component
Structure
Capturing Level-Ups
BattleResults Integration
Customization Examples
Custom Level-Up Animation
Custom XP Bar Styling
Sound Effects
Multiple Level-Ups
Common Issues
Level doesn't update during animation
Bar shows wrong progress after level-up
Skip jumps to wrong level
Performance Tips
See Also
Last updated