跳到正文
AI Sprite Maker

飞行精灵图动画

飞行角色的悬停或振翅循环。

PNG 精灵图集 + JSON 帧数据。任何项目均可免费使用,包括商业游戏。

规格

帧数
6
建议 FPS
8
单帧尺寸
88×30
类型
循环
视角
侧视角
飞行 mannequin sprite sheet

把你的角色套到这个动作上

描述或上传一个角色,我们会把它“穿”到这个动作上:同样的节奏、同样的脚步落地点,换成你的美术。

消耗 10 积分

在引擎中使用飞行动画

精灵图集是一行(或几行)等大的帧,没有内边距,所以任何引擎都能按帧尺寸切片。下面是最常用引擎的最简设置,已经填好了这个动作的帧数、尺寸和帧率。

这是循环动作:把动画设为循环播放,就能无缝衔接。

Godot 4

# AnimatedSprite2D > SpriteFrames > "Add frames from sprite sheet"
# Horizontal: 6, Vertical: 1, select all 6 frames.
$AnimatedSprite2D.sprite_frames.set_animation_speed("fly", 8)
$AnimatedSprite2D.sprite_frames.set_animation_loop("fly", true)
$AnimatedSprite2D.play("fly")
# Project Settings > Rendering > Textures > Default Texture Filter = Nearest

Unity

// Texture: Sprite Mode = Multiple, Filter = Point, Compression = None
// Sprite Editor > Slice > Grid By Cell Size: 88 x 30
// Drag all 6 sprites into the scene to create the clip, then:
// Animation window > Samples = 8, Loop Time = on

Phaser 3

this.load.spritesheet("fly", "fly.png", { frameWidth: 88, frameHeight: 30 });
// in create():
this.anims.create({
  key: "fly",
  frames: this.anims.generateFrameNumbers("fly", { start: 0, end: 5 }),
  frameRate: 8,
  repeat: -1,
});
player.play("fly"); // with pixelArt: true in the game config

逐帧分解

人偶图集的每一帧,按顺序排列。自己画帧时可以用它作为节奏参考,也可以用来确定游戏逻辑该在哪一帧响应。

1
2
3
4
5
6

关于这个动作的常见问题

人偶精灵图集可以用在商业游戏里吗?

可以。人偶精灵图集可免费用于任何项目,包括商业项目。欢迎注明出处,但不强制。

怎样把我自己的角色套到这个飞行动画上?

打开生成器,描述或上传你的角色,然后选择这个动作。AI 会把你的角色套到完全相同的节奏和姿势上,结果与人偶逐帧对齐。

为什么我的帧在引擎里看起来很模糊?

引擎在对纹理做过滤。把过滤方式设为 Nearest(Godot)、Point(Unity)或 pixelArt: true(Phaser),每个像素就会保持锐利。

更多动作