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

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...

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

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?

#Joltober 2024 has come to an end so we wanted to show off some of the art posted by your fellow Jolters.

Thank you to everyone who participated in this year's challenge!

(Check the article to links to the original posts so you can give 'em a like!)

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

Joltober is here! Today's prompt is Spider! Each day in October, you’ll get a new prompt and a new quest at 12 pm Eastern! Go to your quest log to find the quest! It'll expire tomorrow at 9 am PT / 12 pm ET.

HELLO EVERYONE! How are you doing this Monday?

Are you folks excited for this week? What are you planning to do?

I'd love to hear it in the comments!!!

WORKING A BIT ON THE MISSIONS UI!

Last time I posted a kinda bare bones version of this screen, now we got some of its art!

Still not totally satisfied with all elements, but I guess it's already a nice improvement :)

#pixelart #gamedev #indiedev

Joltober is here! Today's prompt is #Costume! Each day in October, you’ll get a new prompt and a new quest at 12 pm Eastern! Go to your quest log to find the quest! It'll expire tomorrow at 9 am PT / 12 pm ET.

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!