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

DEAD DRIFT UPDATE!

I'm still working on the missions, and it's been harder than I anticipated. However, I was able to make missions work (even if the UI is a little janky)!

Click on Read Article for more info!

Here's what I'm thinking to celebrate the 1K followers milestone... the very first SOCK TOWN prototype!

It's heavily inspired by the Reigns game, but instead of being about being a king... it's about being the director of the "Sock Town" TV show!

Our first Pride Month quests have begun! 🏳️‍🌈

Celebrate with us by completing these quests.

Unlock basic Pride backgrounds! Get Pride sticker packs! Earn Pride trophies!

Everybody talking about the Super Mario movie and here I am thinking how cool it would be if they made a movie out of THIS game...

The Cryptmaster Anniversary Update is here! 

@akuparagames saw that players loved the in-universe card minigame "Whatever." So for this update, they've put more effort to make it its own Roguelike game mode!

Try the FREE DEMO: https://bit.ly/CryptmasterSteam

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

Let Them Come: Onslaught by @Tuataragames has come to Game Jolt!

Celebrate by completing our quests!

Play the FREE demo of Let Them Come: Onslaught on Steam: https://bit.ly/LTCOdemo

MAKING YOUR CUSTOM BAR IN CONSTRUCT 3 - PART 1!

This is a simple tutorial about creating a custom bar using the native Progress Bar from Construct 3!

If you're interested in this kind of stuff, hop on and click on Read Article below! :)

#indiedev #gamedev