GT GhostTown游戏想象力平台
首页 / 特效图库 / 界面 UI / Combo Counter Combo Counter
界面 UI

Combo Counter Combo Counter

fx_id ui/combo-counter 更新 2026.11.16

界面 的《Combo Counter》是这一分类里 45 帧的单发特效。帧尺寸 208×100,整张精灵表 1040×900 像素、5 列排布,播放帧率 30 fps,pivot 原点落在 (104, 50)。按钮、高亮与界面反馈,属于战斗之外的交互层。

特效动画

点击画面可暂停 / 继续 · 45 帧 / 30 fps / 单次播放 · 时长约 1.49 秒

关键帧

第 1 帧
第 16 帧
第 31 帧
第 45 帧

帧与参数

fx_idres://effects/sheets/ui/combo-counter
分类界面 / ui
帧数45 帧
单帧尺寸208 × 100
精灵表尺寸1040 × 900(5 列)
播放帧率30 fps
循环否(播完停在第 1 帧)
pivot 原点(104, 50)
整段时长1.49 秒
源文件combo-counter.png + combo-counter.json

在游戏里调用

GDScript · 检查器挂载
# 1. 场景里加一个 FxPlayer 节点(Node2D)
# 2. 检查器里填 fx_id,其余保持默认即可
fx_id = "ui/combo-counter"
sheets_dir = "res://effects/sheets"
auto_play = true
play_speed = 1.0
GDScript · 代码里加载
var fx := FxPlayer.new()
fx.fx_id = "ui/combo-counter"
fx.auto_play = false
add_child(fx)
fx.load_fx("ui/combo-counter")
fx.play(0)   # 0 = 播完即停
# 命中结束或技能中断时回收
fx.stop()
fx.queue_free()

用法建议

挂在哪里按分类语境使用,注意与攻击判定帧对齐。
节奏建议 play_speed 保持 1.0。要让打击更重,可临时调到 0.7-0.85;要表现连续命中,可叠加两份节点错开 0.1 秒。
对齐pivot 在 (104, 50),开启 use_pivot 后特效原点会落在节点位置上;贴地特效把节点放在脚底即可。
返回特效图库 浏览同类特效