# screen-flash — Screen Flash VFX

Full-screen color flash overlay for dramatic impact moments.

## Common Uses

| Color | Use Case |
|-------|----------|
| White `#FFFFFF` | Explosion, lightning, perfect score |
| Red `#FF0000` | Damage taken, game over |
| Gold `#FFD700` | Level complete, achievement |
| Blue `#4488FF` | Power-up collected, freeze effect |
| Black `#000000` | Scene transition, blackout |

## Animation Sequence

```
0ms → holdTime:   Fade in (alpha 0 → peak)
holdTime → end:   Fade out (alpha peak → 0)
Total: 200ms default
```

## Parameters

| Parameter | Default | Description |
|-----------|---------|-------------|
| `color` | `#FFFFFF` | Flash color |
| `alpha` | 0.7 | Maximum opacity (0–1) |
| `duration` | 200ms | Total duration |
| `holdTime` | 50ms | Time to hold at peak before fading |
