Animations in Python - Pygame Adventure Game 20

Опубликовано: 05 Июнь 2026
на канале: Alexander Farrell
1,897
28

Add animations to your game! In this video, we cover how to load sprite sheets, and then use those to add animations when the player walks. This game uses Pygame and Python to accomplish this.

All of the source code is available below, and you can download the starting code if you'd like to follow along.

Full Adventure Game in Pygame Playlist 🌲:
   • Pygame - Adventure Game  

Starting Code (Code from Previous Video) 🌱:
https://github.com/AlexanderFarrell/a...

Completed Source Code 🖥:
https://github.com/AlexanderFarrell/a...

New Player Sprite Sheet (and other assets) 🌴:
https://www.alexanderfarrell.com/arti...

Timestamps:
👋 Introduction - 00:00
🛞 How Animations Work - 00:29
🍇 Atlas Class for Sprite Sheets - 2:32
🔥 Animation Class - 10:11
😊 Set Sprite Sheet on Player - 19:06
⚡ First Test - 20:47
👟 Make Player Walk - 21:29
⚡ Second Test - 27:29
💡 What should we do about combat? - 27:40
🙂 Thank you - 28:27