GT GhostTown游戏想象力平台
首页 / 特效图库 / 暗影 Shadow / Dark Explosion Dark Explosion
暗影 Shadow

Dark Explosion Dark Explosion

fx_id shadow/dark-explosion 更新 2026.11.16

暗影 的《Dark Explosion》是这一分类里 115 帧的单发特效。帧尺寸 280×248,整张精灵表 3080×2728 像素、11 列排布,播放帧率 30 fps,pivot 原点落在 (140, 206)。黑雾、诅咒与暗影爆发,小镇夜色的主要色调来源。

特效动画

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

关键帧

第 1 帧
第 39 帧
第 77 帧
第 115 帧

帧与参数

fx_idres://effects/sheets/shadow/dark-explosion
分类暗影 / shadow
帧数115 帧
单帧尺寸280 × 248
精灵表尺寸3080 × 2728(11 列)
播放帧率30 fps
循环否(播完停在第 1 帧)
pivot 原点(140, 206)
整段时长3.79 秒
源文件dark-explosion.png + dark-explosion.json

在游戏里调用

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

用法建议

挂在哪里命中或死亡时用:单发不循环,跟攻击判定同一帧触发,播完自动停。
节奏建议 play_speed 保持 1.0。要让打击更重,可临时调到 0.7-0.85;要表现连续命中,可叠加两份节点错开 0.1 秒。
对齐pivot 在 (140, 206),开启 use_pivot 后特效原点会落在节点位置上;贴地特效把节点放在脚底即可。
返回特效图库 浏览同类特效