指南 / 游戏特效

受击闪白

被击中瞬间整个角色/物体闪白 0.1 秒:最直接的命中反馈,告诉玩家'打中了'。配合音效食用更佳。

在线演示

🎯

实现提示词

标准

Hit flash: on taking damage, flash the sprite pure white for 100ms, then restore. Instant hit feedback.

含动效

Hit flash with 100ms white overlay, instant on/off, no easing.
设计规范条目
### Hit Flash (#hitflash)

Category: Game FX

White flash on hit: the target flashes white for 0.1s—instant hit confirmation. The most direct impact feedback.

- Do: Hit flash: on taking damage, flash the sprite pure white for 100ms, then restore

- Do: Instant hit feedback

With motion: Hit flash with 100ms white overlay, instant on/off, no easing.

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

规范包

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

已选指南 0 / 20