Animated sheen on 2D sprites
The coin, card, and gold let the large-angle light band pass over the writing, but only paint the pixel with the picture with source-atop, so that the reward looks shiny.
- Category
- 2D visual effects
Technical terms · Sheen sweep (shine highlight) · globalCompositeOperation 'source-atop' · Diagonal linear gradient band · Glint sparkle