Game
Dead Drift

3 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

MAKING YOUR CUSTOM BAR IN CONSTRUCT 3 - PART 2!

Time for Part 2 of our two-part tutorial on how to create your custom bar in Construct 3!

Click on [Read Article] below!

#gamedev #indiedev

Sharing the pixel art I did for a personal project I never got to make. The player would control an enchanted chest that had to investigate the disappearance of its wizard master!

What do you think? Would this had looked cool?

#pixelart

QUICK UPDATE on the MISSIONS SYSTEM!

I have been working on this progression layer and things have been going well! Here's a video of me testing this system!

Click on Read Article for more info! :)

#gamedev #indiedev

Madeline is the main protagonist of the mountain climbing platformer, Celeste. The game has been praised for its visuals, gameplay, and introspective narrative. The game's creator Maddy Thorson confirmed that Madeline is trans in 2020.

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]!

ten years

For this #DrawABirdDay I decided to make a simple animation as if Greedy Grackle was one of the Socks from Sock Town!

Here's Greedy Grackle Sock!

#pixelart #animation

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

happy silksong day

HI! I'm getting close to hitting 1000 FOLLOWERS (woohooo!) and I'm thinking about doing some special things to celebrate this:

- A Fireside where we can play a drawing game together!

- A mini-game using the sock puppets!

What do you think of that?