03.adding-a-hover-animation

Adding a hover animation to the character

In this video, we use Godot’s animation tools to make our character hover like a ghost.

New concepts

The animation player

Godot comes with a built-in animation editor. To access the animation editor, you first need to create an AnimationPlayer node. The editor then appears below the viewport.

Unlike the Tween node we used before, the AnimationPlayer works with handmade animations. The Tween and AnimationPlayer nodes complete one another. You’ll often use them together.

You can learn more about how the animation player works in the official Godot manual: https://docs.godotengine.org/en/stable/tutorials/animation/introduction.html

We’ll code the character’s eight-way movement in the next lesson.