Guides / Game FX

Damage Numbers

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

Live demo

👾

Implementation prompts

Standard

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.

With motion

Damage numbers with 800ms float-up keyframes, crit scale 1.5x with red color, staggered spawn.
Design spec entry
### 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/