GT GhostTown游戏想象力平台
首页 / 特效图库 / 爆炸 Explosions / 泥土炸裂 Dirt Explosion
爆炸 Explosions

泥土炸裂 Dirt Explosion

fx_id explosions/dirt-explosion 更新 2026.11.16

爆炸 的《泥土炸裂》是这一分类里 109 帧的单发特效。帧尺寸 260×240,整张精灵表 2860×2400 像素、11 列排布,播放帧率 30 fps,pivot 原点落在 (130, 206)。命中、死亡、场景破坏时的爆点,决定打击的分量感。

特效动画

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

关键帧

第 1 帧
第 37 帧
第 73 帧
第 109 帧

帧与参数

fx_idres://effects/sheets/explosions/dirt-explosion
分类爆炸 / explosions
帧数109 帧
单帧尺寸260 × 240
精灵表尺寸2860 × 2400(11 列)
播放帧率30 fps
循环否(播完停在第 1 帧)
pivot 原点(130, 206)
整段时长3.60 秒
源文件dirt-explosion.png + dirt-explosion.json

在游戏里调用

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

用法建议

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