Animations in Python - Pygame Adventure Game 20

Опубликовано: 21 Май 2024
на канале: 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


Смотрите видео Animations in Python - Pygame Adventure Game 20 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Alexander Farrell 21 Май 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,033 раз и оно понравилось 20 людям.