设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
扫描二维码关注官方公众号
返回列表
+ 发新帖
查看: 72|回复: 0

[制作教程] Smoother Animations Using Spriter

[复制链接]
累计送礼:
0 个
累计收礼:
1 个
  • TA的每日心情
    慵懒
    3 天前
  • 签到天数: 207 天

    连续签到: 1 天

    [LV.7]常住居民III

    3646

    主题

    862

    回帖

    2万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    VIP
    7
    卡币
    21262
    OK点
    16
    推广点
    0
    同能卷
    50
    积分
    25800

    灌水之王

    发表于 前天 21:19 | 显示全部楼层 |阅读模式
    Hi everyone! I'm not sure if I'm the only one who finds the default animations in RPG Maker to be sort of choppy. But it has always bothered me. And recently I came across Spriter. It's a 2d skeletal animation software. Using this, we can easily create smoother animations. Well, there are other programs like Spine, dragon bones but personally I find spriter to be very easy to use. In this tutorial, I'll show you how to make smoother, longer and more complicated animations using spriter. I'm fairly new to it so I might be wrong in  some cases but I'm hoping this will come to be useful to someone.

    What you'll need:
    1.Spriter (There's a pro version available but you can also get the free one. Either will do)

    2.Photoshop

    A plugin that allows more character frames. I prefer Galv's character frames
    Step 1- Preparing the sprite
    For animating your sprites, you will need to separate the sprite into parts such as head, torso, upper left arm, upper right arm, lower left arm, lower right arm etc etc whatever part you want to animate, you have to separate it.
    I'm going to use Photoshop for this. In this tutorial, I will show you how to make a smoother walk animation. That's why I'm only going to show the animation for the down direction. We will need the idle pose.

    we want to animate this character's walking motion. Now, separate the head, hair (if you want to animate the hair too... but I will not do it since it's a bit too complicated. But with more practice, you may be able to), torso, upper arm left,upper arm right, lower arm left, lower arm right, upper leg left, lower leg left, lower leg right, lower leg right.
    Spoiler: ScreenshotExpand each part a little where the joint is so that when the part moves, the part underneath it has some color too.
    Spoiler: Screenshot
    For example, here we have the main part of the body.No arms, no legs. Just the part that we won't animate. I have filled in the area under the arm with blue color. So that when the arm moves, that part won't remain transparent.
    Similarly, we just separate the parts and extend them a little around the joints and underneath them.
    Spoiler: ScreenshotName all the parts. Because you'll regret not doing so afterwards ^^Save the layers in a folder. It'll look like this
    It's also a good idea to save the whole sprite as a png image too. You'll know why soon.

    Step 2- Arranging the parts in Spriter
    Open spriter and go to File--> New Project. Select the folder you just made where all the parts are.
    Useful shortcuts:
    Middle mouse button- pan
    Mouse wheel-zoom
    left click-select
    Left click and drag- select more than one part
    F-centre on the canvas
    Alt + Drag and release- Create bones
    B + Left click- Append to bone
    Now you'll see that all the parts are shown on the right side of the screen. Drag and drop the parts on the canvas. Bring in the guide first. Reduce the transparency on the left part of the screen. (There's a bar called alpha. Change the value there)Arrange the other parts over it. That way you can position the parts accurately. Once done, delete the guide image.
    Spoiler: Screenshot
    Step 3- Making bones and assigning parts to them
    This part is very easy.Once you've arrange all the parts,
    Alt + Left click and drag to create a new bone. I usually start with the torso.
    Next, while this bone is still selected, make another bone for the neck/head. Again, while mother bone is selected, make another bone for the upper legs. Next while upper leg is selected, make a bone for lower leg. Doing this, all the bones are joined in order.
    Now to join the parts to the bones, left click on the bone first. Then press B and left click on the part. Done! Rotate the bone and the part will move along with the bone.

    Step 4- Animating
    Make sure you are at frame 0. You can travel between frames by dragging the mouse along the timeline. Now... don't do anything. This is the staring frame which will contain the idle animation. I suppose you've arranged the parts to make up an idle pose so there's nothing to do here.
    Move a few frames forward. I usually go to 200. Now make the necessary changes to make it look the character has taken a step forward. Here's what I did:
    Spoiler: ScreenshotMoved the upper and lower right leg 3 px upward, rotated the lower right arm to look like in the picture, moved the whole sprite 3 px down.
    Go to frame 0. Go to Edit-->Copy current Frame. Now go to frame 400, Edit-->Paste. Now the idle pose will be pasted here.
    Go to frame 600 and repeat what we did before, this time for the left leg and right arm. The result will look like this
    Spoiler: Screenshot
    Push the play button to see how the whole animation looks like. If necessary make minor changes. Once you're satisfied, go to File--->Export as PNG/gif.
    Spoiler: ScreenshotMake these changes. Now, click Export. You'll be asked where to save the image. If you go and see the image, you'll see that it is a big one. Mine is 1860 x 96. Don't get scared seeing the size though.The big size is what will help to make the smooth animation.
    Spoiler: Screenshot
    Step 5- Repeat repeat repeat
    Repeat these steps to make animations for left, right (You can just make left and flip horizontally to make right) and up directions. Each will result in another wide strip of images.

    Step 6- Fixing jagged pixels
    The rotation makes the pixels jagged up. Draw where there should be color and erase where shouldn't be. It's the worst part of this whole ordeal. Ugh.

    Step 7- Making the sprite sheet
    Make a new file in Photoshop. Width= width of the images, Height= height of the images x 4.

    Now just paste them orderly- down, left, right, up. And there you have it! A sprite sheet... a very big one.

    Step 8- Using it in the game
    I recommend Galv's Character Frames plugin. In the plugin description, it's said that you should save the sprite sheet like MainHero%(8).png
    However, if your sprite-sheet is for a single character, include $ in front of it. If your character's name is Harold, name is $Harold%(62).png  (Because there are 62 columns. If you want less, you can change it in spriter's export options)


    I'm very lazy so my animation looks very disgusting... But I'm sure you'll do a great job! Good luck!


    本贴来自国际rpgmaker官方论坛作者:Sodium89处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/smoother-animations-using-spriter.109170/

    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有账号?立即注册

    x
    天天去同能,天天有童年!
    回复 送礼论坛版权

    使用道具 举报

    文明发言,和谐互动
    文明发言,和谐互动
    高级模式
    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    简体中文
    繁體中文
    English(英语)
    日本語(日语)
    Deutsch(德语)
    Русский язык(俄语)
    بالعربية(阿拉伯语)
    Türkçe(土耳其语)
    Português(葡萄牙语)
    ภาษาไทย(泰国语)
    한어(朝鲜语/韩语)
    Français(法语)
    关闭

    幸运抽奖

    社区每日抽奖来袭,快来试试你是欧皇还是非酋~

    立即查看

    聊天机器人
    Loading...

    QQ|Archiver|手机版|小黑屋|同能RPG制作大师 ( 沪ICP备12027754号-3 )

    GMT+8, 2026-7-10 02:05 , Processed in 0.105907 second(s), 56 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

    快速回复 返回顶部 返回列表