指南 / 游戏特效

伤害数字

攻击命中时从目标头顶飘出的数字:暴击放大变色,普通伤害白色,治疗绿色。数字上飘+淡出,节奏感极强。

在线演示

👾

实现提示词

标准

Damage numbers: on hit, spawn a floating number above the target—crits in large red, normal in white, heals in green; float up 40px and fade over 0.8s.

含动效

Damage numbers with 800ms float-up keyframes, crit scale 1.5x with red color, staggered spawn.
设计规范条目
### Damage Numbers (#dmgnum)

Category: Game FX

Floating damage numbers on hit: crits scale up in red, normal hits white, heals green. Numbers float up and fade—pure game feel.

- Do: Damage numbers: on hit, spawn a floating number above the target—crits in large red, normal in white, heals in green

- Do: float up 40px and fade over 0.8s

With motion: Damage numbers with 800ms float-up keyframes, crit scale 1.5x with red color, staggered spawn.

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

规范包

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

已选指南 0 / 20