Animating a swordfight!

Well, a battler anyway......
Yesterday I started on making a battler for a game I'm working on, and I thought it might be helpful for folks if I did a little tutorial on how I do this while it's still fresh in my mind.
It's still a WIP, but it's coming along pretty well so far.
Now, I am working with a LOT more animation frames than stock RPG Maker allows, but the basics still apply.
The first thing I needed was reference poses.
I could NOT find my medieval longsword techniques book (I just moved, it's in a box somewhere) so I went online looking for reference material.
I came across this site-


Scroll down a bit and you'll see line drawing diagrams for offensive and defensive stances.

This was a GREAT start for things, and if you're using the standard 3 frames of animation, it's likely perfect for you.
Pick the frames you think will work for you!
I compiled all the poses onto one image (Fig. #1) so I could see what was what/where so I could start the next step.
I cut a pose from that image (Fig. #2) and blew it up in Procreate so it wasn't super tiny and unusable. (Just use your preferred editing software, it all does the same thing)
Then I started chopping it up (Fig. #3) so it was a *bit* more to scale for the sprite I'm doing.
It didn't have to be perfect, I'll put that on a separate layer later, and then do my work on layers over that, it's just for reference.
I did that a bunch of times to get my keyframes for the animation I'm doing.
I imported all of that into Pixquare, because that's what I'm currently using for sprite animation.
I'm not going to go into all of that chopping up stuff because @Avery already has a great tutorial on doing that, which you should go check out if you haven't already done so.


So, then I did a good bit of that chop-chop to my existing sprite, with the poses it had.
This really helps keep things in scale to the original sprite, you don't want things getting too big or too small as you add them.
Which, with as many frames as I'm using, WILL happen if you're not careful.
Small errors have a tendency to magnify!
I also did a LOT of drawing to fill in between the chopped bits because it didn't HAVE a lot of those poses.
I just do outlines at first to see if the animation looks ok, no sense in doing a ton of work you have to undo if things don't look right.
And then I had to do all the frames between the poses that I picked as keyframes.
It took a bit of time to do that!
Then I ran the animation to see how things looked.
Oh boy.....yeah, at that point I walked away for a bit....hahahaaaaa.
Came back later and cleaned things up.

Now, if I HAD to just do 3 frames, fig. #4 is how I would do it.
Figure out where to go from your idle frame, and try not to pick something too severely different from that pose, or it's gonna look wonky.
Go from there for your first position.
I'm doing a defensive animation right now, so I picked something halfway between idle and the full guard.
Then I add the full guard, either one of the last two poses would work.
Go back to the half guard, and the transition back to idle should be about as smooth as 3 frames is going to get you.

Ignore the neon green bikini, that's just a placeholder to cover her up so I can post the GIF here without the mods giving me the stinkeye.
Clothes/hair/armor will come later after I get the base animations done.
Same with the sword, that's just there so I know where the centerline will be, I can make that any weapon I want.
But if you don't get the basic forms right, everything else will look wonky too.
This GIF is 6 frames of idle (which was easy because I already had that in the base sprite I got from Angeler1234, yeah, the jiggly one...I turned her into an ork), 18 frames of the defensive guard animation that I had to create (Which WASN'T easy...), then back to 6 frames of idle
Now I'll start on the attack frames, which should go a lot faster now that I have a bunch of parts that I didn't have before.

Anyway, have fun, if this helps you at all, woohoo!
Now go make cool stuff.

V!
Wow I'm so glad I came across your post, it's rare to find a reference with the pose also in front view!
There are other weapon styles on there as well, I just used the longsword ones because I'm working on a battler with a 2 handed weapon. It's a pretty cool resource to have for reference ideas.
I got the stabbing attack pretty much done. Little tweaks to finish it up, then I can add the hair and clothes.

I've moved this thread to Resource Support. Thank you.

Since this is a WIP and can't be used by others in their own games I moved it out of General Resources.
That’s fair. Mainly I’m looking to explain my “how to” process so if other folks want to go down this rabbit hole, a good bit of the basic ‘here’s how things move” work is done.

I took a video clip, threw it in procreate dreams and did some rough outlines of my key frames on another layer, then did the export and resizing thing. Ran into some problems with camera placement, perspective and angles though. So, I pretty much ignored the legs on this stuff and just used these for arm and torso movement. Had to do some fudging because her arms aren’t the same and her noggin is wayyyyyyyyy bigger. But it’s still a solid reference to work from.

Still a bit to go to chase down some stray pixels.
The only complications you may encounter would be certain actions not being possible or a struggle because of your actors proportions. Mainly head to body ratio, it's only since you're going for realism that I'm mentioning it.
The swing above the head would be a struggle and holding a two handed weapon above the head would be impossible for that base.
1780685167916.png

My advice from personal experience would be, before committing to creating full actions (though that is the fun part) would be to spend a bit of time testing a variation of exaugurated poses to ensure two things. First would be that it works, and the second being is that you're happy with the results.

This then gives you a chance to alter anything on your base that needs tweaking before getting to an obstacle, making the alterations and then having to go back over all your other work fixing the alteration.
Well, you are NOT wrong! Hahahaaaa. Wow, it has been a struggle making certain things work with this sprite’s dimensions. I’m at a toss-up at times when deciding between “Screw it, this thing is gonna be so small no one is really going to notice” and “No, I’m gonna make this work RIGHT.” On some things I think I’m just going to have to pick a spot somewhere in between the two and just try to get things as close as I can and still have it look OK.
Because sometimes, the juice just isn’t worth the squeeze, and I have soooooooo much to do that I just can’t let myself get bogged down with minutia.

But, I probably will anyway.

Thank you for your thoughts on this, they are much appreciated!

(EDIT)-
I did this little scene of some sword practice in the forest to see how things looked when the individual animations are all strung together, as well as test out how some other things would work.
artist credits go to-
Angeler1234 for the sprite I modded.
Merakintsugi for the hair, which I had to mod the heck out of to get it to work for me.
@Candacis for some plants, which I modded to match the colors of the Winlu stuff I’m using.
Modded Winlu assets for the rock wall and shrubbery.
Gandalf Hardcore for the big fir tree.
@Avery for the waterfall.

The waterfall posed an issue because it’s only a 3 frame animation. It’s a GORGEOUS bit of art, but it was created to work within the stock engine 3 frame animation limit. When I put it in, at only 3 frames it looked kinda….spastic. Like gravity was on overdrive. I really wish MZ had a 5 frame animation feature as a stock option so things could look a lot smoother. 2 extra frames doesn’t sound like much, but it would make a HUGE difference. But it is what it is, so that’s that. To get around that what I did was lay out the animation frames, and do some chopping to make tween frames for frames 2 and 4 so I had a 5 frame animation loop. While it could use some further tweaking, it looks (to ME anyway) a lot smoother than the 3 frame version.

Things I learned ( or relearned) while putting this thing together-

Layers.
In THEORY, I *KNOW* that I have to be mindful of what is on what layer, but wow do I suck at keeping track of that!
I am my own worst enemy at times.

Shadows are an all or nothing thing. So, it looks like I have a good bit of work cut out for me to make them for all my sprite assets. Because I just don’t like how the sprite looks on the ground without them.

Mixing assets done by different artists can REALLY look out of place if you don’t recolor things to get a consistent overall look. While a particular piece may look absolutely amazing by itself, if it sticks out like a sore thumb and doesn’t blend in with everything else, it won’t look right.

Animated foliage would look pretty sweet, but I don’t think I want the extra workload that would require. Implementing that would be a considerable undertaking for this one man team.

Sometimes ADDING frames to an animation is NOT the answer. While it looks smoother, it also means it looks slower. That has it’s pros and cons and is a situational variable.

I really love doing pixel art animation, and I’m really having a blast doing it again, especially not having to use a mouse in PS to do it.

Original thread: https://forums.rpgmakerweb.com/threads/animating-a-swordfight.183830/