Animations in Python - Pygame Adventure Game 20

Published: 21 May 2024
on channel: Alexander Farrell
1,033
20

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


Watch video Animations in Python - Pygame Adventure Game 20 online, duration hours minute second in high quality that is uploaded to the channel Alexander Farrell 21 May 2024. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 1,033 times and liked it 20 visitors.