Game
Dead Drift

2 years ago

Part 2 of the "Basic Animation" article is here! Hope you folks enjoy seeing zombies get hit in the face!

#pixelart #retro #indiedev #gamedev


Part One of this article can be found here!


zombie_getting_hit-tutorial.png

At the end of Part One, I was talking about the different parts of this animation, composed of the movements of the back, head, and arms. I was also mentioning how I animated the arms moving at different speeds.

This asymmetry was intentional.

image.png

There are several reasons to do this in this case:

  • It produces a more "organic" movement;

  • It contributes to the zombie's "unbalanced" motif;

  • It makes sense since the zombie is recovering from a blow.

If you look again at frame 2 (the "hit" keyframe) you'll see that I also used the asymmetry principle: the zombie's head tilts to its right.

Alright! It's time. Now let's see how this animation looks in the game!

This is a big part! Sometimes we make an animation that looks really good in our image editor, but when we put it in the game, it looks... wrong. It's too slow, the character is too small on the screen and we need something more exaggerated. That's why you need to test this stuff as early as possible.

For this example, I coded to be only one zombie in the whole game and, get ready for this: it is truly undead now. I'm giving it infinite lives:

hit_anim.gif

Poor guy...

In this case, at least on an isolated case like this one, I think it works fine. It has a funny "bobblehead" effect to it, with the head bouncing back and forth. Since I don't normally do very serious games, this works for me.

You may have noticed that there's a certain repetitiveness to this animation. This is something that could be fixed by using variations, like having 3 or 4 different "getting hit" animations and using a random one every time the zombie gets a bullet to its ugly face.

I'm not doing this for now, though. I don't think it's so critical for this game, and I'm gonna wait for some testing before I do that. This is this article's final tip:

After working a long time on some animation, stay away from it before making improvements to it and working on it again. You've been looking at it for a long time, and you're probably biased toward what you consider flaws.

That's it! Hope you folks have enjoyed this article. See you soon!



14 comments

Loading...

Next up

It's coming, folks!!! Anyone else excited???

Mission Complete! Yesterday I was thinking hard about Dead Drift and I had a game design breakthrough!

If you're interested in this kind of design stuff, click on [Read article] below...

#indiedev #gamedev

NEW UI PLANNING!

Since the beginning of this project, I've done its UI in a somewhat haphazard way. Now it's time to get some things right, so I'm planning to fix some things about its user interface.

Read more in the article by clicking on...

The #BadArtChallenge is over and we're highlighting some of our faves!

You made such incredible bad art that we couldn't just give one of you a trophy.

The artists are tagged below

Hey, folks! It's been a while since I talked about Dead Drift, I wanted to give you folks a (not exactly) brief update!

Click below on [Read Article]!

Congratulations to our "Show Us Your Centum Art" winner, @JotaDev !

The artists behind all of these are tagged below. Go like their original posts to show your support!

Posting some other DEAD DRIFT EXPERIMENT GIFS. You can see "enemy trucks" (the dark rectangle thingies roving around) AND big zombies (they have 10x the HP of a regular zombie!!)

Some additional comments in the article!

#pixelart #gamedev #indiedev

It's OK if I repost my Jack Black Bowser drawing for the #MarioMovie quest? Some people might have missed it!

Oh, and if you don't know what this drawing is referencing, click on Read Article for the link!

@MewMarissa is a Jolter to Watch and and a game developer who takes pride in attention to detail and producing quality work! Follow @MewMarissa before the quest ends on April 8 and you'll get Coins!

A photo with Abacaxi, one of my dogs!

And, yes, we're both scraggly dudes.