# score-fly — Score Fly-Up Animation

Displays a floating score popup that rises and fades out. Provides instant feedback for score gains, combos, or bonuses.

## Animation Sequence

```
0ms:     Create score text at match position, scale 0
0→120ms: Scale in 0→1.2 (elastic punch)
120ms:   Scale settle 1.2→1.0
120→800ms: Float up + fade out
800ms:   Destroy text object
```

## Parameters

| Parameter | Default | Description |
|-----------|---------|-------------|
| `text` | required | Score string: "+100", "COMBO!", "×3" |
| `flyHeight` | 60px | Distance to float upward |
| `duration` | 800ms | Total animation time |
| `color` | "#FFD700" | Text color (gold by default) |
| `fontSize` | 32px | Text size |
| `x`, `y` | required | Screen position to spawn at |

## Common Patterns

- Score gain: `"+100"` in gold
- Combo multiplier: `"×3 COMBO!"` in orange
- Perfect: `"PERFECT!"` in rainbow gradient
- Time bonus: `"+5s"` in blue
