指南 / 游戏特效

粒子爆发

点击处炸开一团粒子并消散:按钮反馈、庆祝时刻、中奖动画都用它。

在线演示

点击任意位置

实现提示词

标准

Particle burst on button click (canvas): 30 colored particles from the click point, dissipate in 1s.

含动效

Particle burst with 28 colored particles, gravity and fade over ~1s; click anywhere to trigger (canvas).
设计规范条目
### Particle Burst (#particles)

Category: Game FX

Particles burst and dissipate on click—used for button feedback, celebrations, and win animations.

- Do: Particle burst on button click (canvas): 30 colored particles from the click point, dissipate in 1s

With motion: Particle burst with 28 colored particles, gravity and fade over ~1s; click anywhere to trigger (canvas).

Live demo: https://uidesignmd.com/guides/particles/

规范包

从所选指南中导出实现规则和链接。

已选指南 0 / 20