© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
M. DhuleBeginning Game Development with Godothttps://doi.org/10.1007/978-1-4842-7455-2_6

6. Game Animations

Maithili Dhule1  
(1)
Singapore, Singapore
 

../images/516370_1_En_6_Chapter/516370_1_En_6_Figa_HTML.gif In this chapter, we’ll learn how to create player animations for performing different actions such as running, jumping, and staying idle. We will use the game assets obtained in the previous chapter for creating animated image frames. We will also learn how to write a player script for making the animations work when certain keyboard keys are pressed.

Giving Life to the Player

In the previous chapter, we created ...

Get Beginning Game Development with Godot: Learn to Create and Publish Your First 2D Platform Game now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.